Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_100boreholes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.6945/0.6945, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0008968/0.0008968, allocations: 180.6 kB / 187.3 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.229/1.229, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.0008486/0.0008486, allocations: 99.64 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 272.2 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.332e-05, allocations: 4 kB / 0.6836 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.352, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4672, allocations: 123.6 MB / 0.8851 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4675, allocations: 115.9 kB / 0.8852 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.09835/0.5659, allocations: 25.33 MB / 0.9099 GB, free: 7.484 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5659, allocations: 7.938 kB / 0.9099 GB, free: 7.477 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.982e-05/0.566, allocations: 20 kB / 0.9099 GB, free: 7.457 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.002324/0.5683, allocations: 1.35 MB / 0.9112 GB, free: 6.051 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5684, allocations: 12.03 kB / 0.9113 GB, free: 6.039 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.5684, allocations: 34.55 kB / 0.9113 GB, free: 5.996 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004331/0.5688, allocations: 150 kB / 0.9114 GB, free: 5.848 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009416/0.5698, allocations: 0.6532 MB / 0.9121 GB, free: 5.125 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.5698, allocations: 28 kB / 0.9121 GB, free: 5.098 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.5699, allocations: 39.98 kB / 0.9121 GB, free: 5.059 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.5703, allocations: 379.2 kB / 0.9125 GB, free: 4.676 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5703, allocations: 0 / 0.9125 GB, free: 4.676 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.5703, allocations: 4 kB / 0.9125 GB, free: 4.672 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.5703, allocations: 3.938 kB / 0.9125 GB, free: 4.668 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.5706, allocations: 427.8 kB / 0.9129 GB, free: 4.25 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009815/0.5716, allocations: 0.9867 MB / 0.9139 GB, free: 3.199 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.572, allocations: 0.5594 MB / 0.9144 GB, free: 2.621 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.5723, allocations: 333.7 kB / 0.9147 GB, free: 2.289 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008089/0.5731, allocations: 1.036 MB / 0.9158 GB, free: 1.031 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.5734, allocations: 396.9 kB / 0.9161 GB, free: 0.625 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.5734, allocations: 3.938 kB / 0.9161 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.2911/0.8645, allocations: 1.012 MB / 0.9171 GB, free: 135.6 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.8646, allocations: 82.5 kB / 0.9172 GB, free: 135.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.8667, allocations: 1.617 MB / 0.9188 GB, free: 135.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.8668, allocations: 43.05 kB / 0.9188 GB, free: 135.2 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.8672, allocations: 494.6 kB / 0.9193 GB, free: 135.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.8672, allocations: 19.47 kB / 0.9193 GB, free: 135.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.8673, allocations: 17.09 kB / 0.9193 GB, free: 135.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8674, allocations: 409.9 kB / 0.9197 GB, free: 134.8 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/0.8691, allocations: 1.463 MB / 0.9212 GB, free: 134.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.871, allocations: 1.61 MB / 0.9227 GB, free: 134.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.873, allocations: 1.862 MB / 0.9245 GB, free: 134 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.873, allocations: 0 / 0.9245 GB, free: 134 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004839/0.8779, allocations: 4.016 MB / 0.9285 GB, free: 132.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.8779, allocations: 5.562 kB / 0.9285 GB, free: 132.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.544e-05/0.878, allocations: 22.09 kB / 0.9285 GB, free: 132.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.878, allocations: 5.984 kB / 0.9285 GB, free: 132.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.8787, allocations: 143.7 kB / 0.9286 GB, free: 132.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.8787, allocations: 9.391 kB / 0.9286 GB, free: 132.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.8796, allocations: 245.1 kB / 0.9289 GB, free: 132.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.8797, allocations: 90.23 kB / 0.929 GB, free: 132.2 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 0.0001005/0.8798, allocations: 137.2 kB / 0.9291 GB, free: 132.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.8799, allocations: 124.2 kB / 0.9292 GB, free: 132 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.8808, allocations: 1.001 MB / 0.9302 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.8808, allocations: 0 / 0.9302 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.8808, allocations: 1.969 kB / 0.9302 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.8808, allocations: 7.609 kB / 0.9302 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.8814, allocations: 0.677 MB / 0.9309 GB, free: 131.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8814, allocations: 0 / 0.9309 GB, free: 131.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/0.8815, allocations: 11.8 kB / 0.9309 GB, free: 131.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8815, allocations: 0 / 0.9309 GB, free: 131.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.8815, allocations: 11.45 kB / 0.9309 GB, free: 131.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8816, allocations: 0 / 0.9309 GB, free: 131.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.8816, allocations: 0 / 0.9309 GB, free: 131.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.8822, allocations: 1.065 MB / 0.9319 GB, free: 131.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.8824, allocations: 206.5 kB / 0.9321 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.085e-05/0.8825, allocations: 11.31 kB / 0.9321 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.8828, allocations: 7.812 kB / 0.9321 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.8829, allocations: 7.578 kB / 0.9321 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.8829, allocations: 12.97 kB / 0.9322 GB, free: 131.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008958/0.8838, allocations: 1.094 MB / 0.9332 GB, free: 130.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8838, allocations: 0 / 0.9332 GB, free: 130.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001202/0.885, allocations: 0.5184 MB / 0.9337 GB, free: 130.8 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.002021/0.8871, allocations: 2.146 MB / 0.9358 GB, free: 130 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.8887, allocations: 2.497 MB / 0.9383 GB, free: 129.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8887, allocations: 3.938 kB / 0.9383 GB, free: 129.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.8889, allocations: 338 kB / 0.9386 GB, free: 129.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.8892, allocations: 64.16 kB / 0.9387 GB, free: 129.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.8916, allocations: 2.555 MB / 0.9411 GB, free: 127.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.892, allocations: 1.176 MB / 0.9423 GB, free: 126.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003298/0.8923, allocations: 130.2 kB / 0.9424 GB, free: 126.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.8927, allocations: 474.2 kB / 0.9429 GB, free: 125.9 MB / 0.573 GB Notification: Performance of SimCode: time 3.91e-07/0.8927, allocations: 2.812 kB / 0.9429 GB, free: 125.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.9239, allocations: 23.87 MB / 0.9662 GB, free: 107.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/0.924, allocations: 241 kB / 0.9664 GB, free: 107 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.328, allocations: 4 kB / 0.9664 GB, free: 107 MB / 0.573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)