Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6794/0.6794, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 179.9 kB / 187.2 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.3 MB / 441.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000821/0.000821, allocations: 104.7 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001677, allocations: 280.3 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.445e-05, allocations: 7.984 kB / 0.6836 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.347, allocations: 82.75 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4646, allocations: 123.6 MB / 0.8851 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.4649, allocations: 113 kB / 0.8852 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.07668/0.5416, allocations: 22.02 MB / 0.9067 GB, free: 10.8 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5417, allocations: 3.938 kB / 0.9067 GB, free: 10.79 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.447e-05/0.5417, allocations: 12 kB / 0.9067 GB, free: 10.78 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001722/0.5434, allocations: 1.013 MB / 0.9077 GB, free: 9.719 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5435, allocations: 12.03 kB / 0.9077 GB, free: 9.707 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.5435, allocations: 30.56 kB / 0.9077 GB, free: 9.668 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.5439, allocations: 98.73 kB / 0.9078 GB, free: 9.57 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.5445, allocations: 435.4 kB / 0.9082 GB, free: 9.094 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.5445, allocations: 24 kB / 0.9082 GB, free: 9.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/0.5446, allocations: 32 kB / 0.9083 GB, free: 9.039 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.545, allocations: 383.2 kB / 0.9086 GB, free: 8.652 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.545, allocations: 0 / 0.9086 GB, free: 8.652 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.545, allocations: 8 kB / 0.9086 GB, free: 8.645 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.545, allocations: 0 / 0.9086 GB, free: 8.645 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.5454, allocations: 435.7 kB / 0.9091 GB, free: 8.219 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.546, allocations: 0.7339 MB / 0.9098 GB, free: 7.434 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.5464, allocations: 0.5516 MB / 0.9103 GB, free: 6.863 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.5466, allocations: 341.7 kB / 0.9106 GB, free: 6.523 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008165/0.5475, allocations: 1.032 MB / 0.9116 GB, free: 5.27 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/0.5478, allocations: 392.9 kB / 0.912 GB, free: 4.867 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.5478, allocations: 0 / 0.912 GB, free: 4.867 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.0008202/0.5486, allocations: 0.9712 MB / 0.913 GB, free: 3.891 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.5487, allocations: 85.12 kB / 0.9131 GB, free: 3.789 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000898/0.5496, allocations: 1.053 MB / 0.9141 GB, free: 2.719 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.5496, allocations: 45.69 kB / 0.9141 GB, free: 2.668 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.5498, allocations: 270 kB / 0.9144 GB, free: 2.398 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.5498, allocations: 23.73 kB / 0.9144 GB, free: 2.375 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.5499, allocations: 16 kB / 0.9144 GB, free: 2.359 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.55, allocations: 423.8 kB / 0.9148 GB, free: 1.938 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.5511, allocations: 1.198 MB / 0.916 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3/0.8511, allocations: 1.344 MB / 0.9173 GB, free: 137.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.8528, allocations: 1.604 MB / 0.9189 GB, free: 136.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8528, allocations: 0 / 0.9189 GB, free: 136.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004008/0.8568, allocations: 3.419 MB / 0.9222 GB, free: 136 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.8568, allocations: 5.906 kB / 0.9222 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.8568, allocations: 1.875 kB / 0.9222 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.8569, allocations: 8.281 kB / 0.9222 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.8575, allocations: 144.4 kB / 0.9224 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.8576, allocations: 4.703 kB / 0.9224 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.8581, allocations: 243.7 kB / 0.9226 GB, free: 135.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.8582, allocations: 56.11 kB / 0.9227 GB, free: 135.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.965e-05/0.8583, allocations: 135.4 kB / 0.9228 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.8583, allocations: 65.23 kB / 0.9228 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009512/0.8593, allocations: 0.9298 MB / 0.9238 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.8593, allocations: 4.625 kB / 0.9238 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8593, allocations: 5.25 kB / 0.9238 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8593, allocations: 0.5625 kB / 0.9238 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.8597, allocations: 497.4 kB / 0.9242 GB, free: 135.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8598, allocations: 0.5 kB / 0.9242 GB, free: 135.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-05/0.8598, allocations: 8.141 kB / 0.9242 GB, free: 135.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.8598, allocations: 4.797 kB / 0.9243 GB, free: 135.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.8599, allocations: 7.203 kB / 0.9243 GB, free: 135.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8599, allocations: 1.484 kB / 0.9243 GB, free: 135.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8599, allocations: 1 kB / 0.9243 GB, free: 135.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.8612, allocations: 0.9976 MB / 0.9252 GB, free: 135.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/0.8613, allocations: 153.7 kB / 0.9254 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.8613, allocations: 6.938 kB / 0.9254 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.8615, allocations: 9.453 kB / 0.9254 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.8615, allocations: 9.844 kB / 0.9254 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.8615, allocations: 17.91 kB / 0.9254 GB, free: 135.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006428/0.8622, allocations: 0.6479 MB / 0.9261 GB, free: 134.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8622, allocations: 0 / 0.9261 GB, free: 134.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001153/0.8634, allocations: 492 kB / 0.9265 GB, free: 134.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001826/0.8652, allocations: 2.089 MB / 0.9286 GB, free: 134.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.8668, allocations: 2.35 MB / 0.9309 GB, free: 133.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8668, allocations: 0 / 0.9309 GB, free: 133.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.867, allocations: 333.9 kB / 0.9312 GB, free: 133.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.8672, allocations: 33.69 kB / 0.9312 GB, free: 133.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.8689, allocations: 1.79 MB / 0.933 GB, free: 132.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.8692, allocations: 0.984 MB / 0.9339 GB, free: 132.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.8694, allocations: 59.75 kB / 0.934 GB, free: 132.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.8696, allocations: 271.3 kB / 0.9342 GB, free: 131.9 MB / 0.573 GB Notification: Performance of SimCode: time 3.21e-07/0.8696, allocations: 0 / 0.9342 GB, free: 131.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.8943, allocations: 16.86 MB / 0.9507 GB, free: 123.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/0.8945, allocations: 248.5 kB / 0.9509 GB, free: 122.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.26, allocations: 0 / 0.9509 GB, free: 122.8 MB / 0.573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)