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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7911/0.7911, 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.001082/0.001083, allocations: 183.3 kB / 187.3 MB, free: 11.9 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.446/1.446, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0009711/0.000971, allocations: 93.72 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001781, allocations: 281.1 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.401e-05/4.402e-05, allocations: 11.94 kB / 0.6835 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5168, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.6659, allocations: 123.6 MB / 0.885 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/0.6663, allocations: 120.9 kB / 0.8851 GB, free: 0.8594 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0831/0.7494, allocations: 22.01 MB / 0.9066 GB, free: 10.83 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7495, allocations: 0 / 0.9066 GB, free: 10.83 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.48e-05/0.7495, allocations: 16 kB / 0.9066 GB, free: 10.82 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.002511/0.752, allocations: 1.013 MB / 0.9076 GB, free: 9.754 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.7521, allocations: 8.031 kB / 0.9076 GB, free: 9.746 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000379/0.7525, allocations: 98.69 kB / 0.9077 GB, free: 9.648 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.7531, allocations: 431.4 kB / 0.9081 GB, free: 9.176 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.7531, allocations: 27.98 kB / 0.9081 GB, free: 9.148 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/0.7532, allocations: 36 kB / 0.9081 GB, free: 9.113 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.7536, allocations: 382.4 kB / 0.9085 GB, free: 8.73 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.7537, allocations: 4 kB / 0.9085 GB, free: 8.727 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.7537, allocations: 3.984 kB / 0.9085 GB, free: 8.723 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.7537, allocations: 0 / 0.9085 GB, free: 8.723 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.7541, allocations: 427.7 kB / 0.9089 GB, free: 8.305 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007798/0.7549, allocations: 0.7417 MB / 0.9097 GB, free: 7.512 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.7554, allocations: 0.5555 MB / 0.9102 GB, free: 6.938 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.7556, allocations: 329.7 kB / 0.9105 GB, free: 6.609 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009843/0.7566, allocations: 1.04 MB / 0.9115 GB, free: 5.348 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/0.757, allocations: 392.9 kB / 0.9119 GB, free: 4.945 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.757, allocations: 0 / 0.9119 GB, free: 4.945 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.0009582/0.758, allocations: 0.9725 MB / 0.9128 GB, free: 3.965 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.758, allocations: 77.11 kB / 0.9129 GB, free: 3.871 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.7591, allocations: 1.061 MB / 0.914 GB, free: 2.793 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.7592, allocations: 45.7 kB / 0.914 GB, free: 2.742 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.7594, allocations: 270 kB / 0.9143 GB, free: 2.473 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.7594, allocations: 19.73 kB / 0.9143 GB, free: 2.453 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.7595, allocations: 16 kB / 0.9143 GB, free: 2.438 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.7597, allocations: 423.8 kB / 0.9147 GB, free: 2.016 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.7609, allocations: 1.202 MB / 0.9159 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4596/1.22, allocations: 1.337 MB / 0.9172 GB, free: 137.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/1.223, allocations: 1.601 MB / 0.9187 GB, free: 136.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/1.223, allocations: 3.969 kB / 0.9187 GB, free: 136.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00499/1.228, allocations: 3.421 MB / 0.9221 GB, free: 136.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/1.228, allocations: 6.234 kB / 0.9221 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/1.228, allocations: 2.219 kB / 0.9221 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/1.228, allocations: 5.719 kB / 0.9221 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/1.229, allocations: 143.2 kB / 0.9222 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/1.229, allocations: 3.812 kB / 0.9222 GB, free: 136.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/1.229, allocations: 240.8 kB / 0.9225 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/1.229, allocations: 58.91 kB / 0.9225 GB, free: 136 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.0001375/1.229, allocations: 132.5 kB / 0.9226 GB, free: 135.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/1.23, allocations: 64.95 kB / 0.9227 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/1.231, allocations: 0.9341 MB / 0.9236 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.231, allocations: 9.719 kB / 0.9236 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.231, allocations: 0 / 0.9236 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/1.231, allocations: 2.25 kB / 0.9236 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/1.231, allocations: 493.5 kB / 0.9241 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.232, allocations: 1 kB / 0.9241 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.816e-05/1.232, allocations: 10.86 kB / 0.9241 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.232, allocations: 1.031 kB / 0.9241 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/1.232, allocations: 4.094 kB / 0.9241 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.232, allocations: 5.078 kB / 0.9241 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.232, allocations: 2.875 kB / 0.9241 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/1.233, allocations: 1.001 MB / 0.9251 GB, free: 135.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/1.233, allocations: 156.6 kB / 0.9253 GB, free: 135.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/1.234, allocations: 6.922 kB / 0.9253 GB, free: 135.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/1.234, allocations: 9.516 kB / 0.9253 GB, free: 135.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/1.234, allocations: 8.188 kB / 0.9253 GB, free: 135.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/1.234, allocations: 14.73 kB / 0.9253 GB, free: 135.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009883/1.235, allocations: 0.6487 MB / 0.9259 GB, free: 135.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.235, allocations: 0 / 0.9259 GB, free: 135.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001649/1.236, allocations: 492.6 kB / 0.9264 GB, free: 135 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.001406/1.238, allocations: 0.5663 MB / 0.927 GB, free: 134.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002103/1.24, allocations: 2.346 MB / 0.9292 GB, free: 134.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.24, allocations: 3.812 kB / 0.9292 GB, free: 134.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/1.24, allocations: 336.8 kB / 0.9296 GB, free: 134.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/1.241, allocations: 37.44 kB / 0.9296 GB, free: 134 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/1.243, allocations: 1.419 MB / 0.931 GB, free: 133.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/1.243, allocations: 0.9838 MB / 0.9319 GB, free: 133 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000202/1.243, allocations: 61.81 kB / 0.932 GB, free: 133 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/1.243, allocations: 33.48 kB / 0.932 GB, free: 133 MB / 0.573 GB Notification: Performance of SimCode: time 1.553e-06/1.243, allocations: 0 / 0.932 GB, free: 133 MB / 0.573 GB Notification: Performance of Templates: time 0.01599/1.259, allocations: 9.303 MB / 0.9411 GB, free: 131.3 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)