Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8079/0.8079, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001093/0.001093, allocations: 185.5 kB / 187.3 MB, free: 11.87 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.4/1.4, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009164/0.0009164, allocations: 98.52 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001804, allocations: 275.2 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.393e-05/4.397e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4821, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.6315, allocations: 128.1 MB / 0.8894 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/0.6319, allocations: 123.8 kB / 0.8895 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5357/1.168, allocations: 30.12 MB / 0.9189 GB, free: 135 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.543e-06/1.168, allocations: 0 / 0.9189 GB, free: 135 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.397e-05/1.168, allocations: 16.84 kB / 0.9189 GB, free: 135 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.00237/1.17, allocations: 1.043 MB / 0.9199 GB, free: 134.4 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.17, allocations: 9.938 kB / 0.9199 GB, free: 134.4 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/1.171, allocations: 103.4 kB / 0.92 GB, free: 134.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/1.172, allocations: 476.4 kB / 0.9205 GB, free: 134.1 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/1.172, allocations: 22.23 kB / 0.9205 GB, free: 134.1 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/1.172, allocations: 36.31 kB / 0.9205 GB, free: 134.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/1.172, allocations: 386.1 kB / 0.9209 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.172, allocations: 4.375 kB / 0.9209 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/1.172, allocations: 0.75 kB / 0.9209 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.172, allocations: 1.219 kB / 0.9209 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/1.173, allocations: 423.8 kB / 0.9213 GB, free: 134 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/1.174, allocations: 0.7758 MB / 0.9221 GB, free: 133.8 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/1.175, allocations: 0.5587 MB / 0.9226 GB, free: 133.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/1.176, allocations: 327.9 kB / 0.9229 GB, free: 133.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000884/1.176, allocations: 1.037 MB / 0.924 GB, free: 132.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004953/1.177, allocations: 403.6 kB / 0.9243 GB, free: 132.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/1.177, allocations: 0 / 0.9243 GB, free: 132.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.001562/1.179, allocations: 0.9783 MB / 0.9253 GB, free: 132.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/1.179, allocations: 80.55 kB / 0.9254 GB, free: 132.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/1.18, allocations: 1.116 MB / 0.9265 GB, free: 132.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/1.181, allocations: 46.02 kB / 0.9265 GB, free: 132.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/1.181, allocations: 295.5 kB / 0.9268 GB, free: 131.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/1.181, allocations: 22.88 kB / 0.9268 GB, free: 131.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/1.181, allocations: 15.22 kB / 0.9268 GB, free: 131.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001706/1.181, allocations: 427.7 kB / 0.9272 GB, free: 131.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/1.183, allocations: 1.204 MB / 0.9284 GB, free: 131.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/1.184, allocations: 1.344 MB / 0.9297 GB, free: 131.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/1.185, allocations: 1.605 MB / 0.9313 GB, free: 130.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.185, allocations: 3.062 kB / 0.9313 GB, free: 130.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003513/1.189, allocations: 3.429 MB / 0.9346 GB, free: 129.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.189, allocations: 3.969 kB / 0.9346 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/1.189, allocations: 3.844 kB / 0.9346 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/1.189, allocations: 3.906 kB / 0.9347 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/1.189, allocations: 144.4 kB / 0.9348 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.189, allocations: 3.719 kB / 0.9348 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008523/1.19, allocations: 246.6 kB / 0.935 GB, free: 129.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/1.19, allocations: 53.7 kB / 0.9351 GB, free: 129.1 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.000129/1.19, allocations: 129.7 kB / 0.9352 GB, free: 129 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/1.19, allocations: 75.55 kB / 0.9353 GB, free: 128.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/1.192, allocations: 0.9498 MB / 0.9362 GB, free: 128.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.192, allocations: 0 / 0.9362 GB, free: 128.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.192, allocations: 3.594 kB / 0.9362 GB, free: 128.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.192, allocations: 0 / 0.9362 GB, free: 128.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000781/1.192, allocations: 0.5086 MB / 0.9367 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.192, allocations: 7 kB / 0.9367 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/1.192, allocations: 9.047 kB / 0.9367 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/1.192, allocations: 3.953 kB / 0.9367 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/1.192, allocations: 6.516 kB / 0.9367 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.192, allocations: 0 / 0.9367 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.193, allocations: 3.438 kB / 0.9367 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/1.194, allocations: 1.007 MB / 0.9377 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/1.194, allocations: 162.9 kB / 0.9379 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/1.194, allocations: 3.781 kB / 0.9379 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/1.194, allocations: 6.781 kB / 0.9379 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/1.194, allocations: 11.62 kB / 0.9379 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/1.194, allocations: 11.55 kB / 0.9379 GB, free: 128.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008029/1.195, allocations: 0.7021 MB / 0.9386 GB, free: 128 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.195, allocations: 3.391 kB / 0.9386 GB, free: 128 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002447/1.197, allocations: 0.4937 MB / 0.9391 GB, free: 127.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.002245/1.2, allocations: 0.6439 MB / 0.9397 GB, free: 127.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001963/1.202, allocations: 2.348 MB / 0.942 GB, free: 126.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.202, allocations: 0 / 0.942 GB, free: 126.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/1.202, allocations: 339 kB / 0.9423 GB, free: 126.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/1.202, allocations: 53.75 kB / 0.9424 GB, free: 126.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/1.204, allocations: 1.475 MB / 0.9438 GB, free: 125.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/1.204, allocations: 1.006 MB / 0.9448 GB, free: 124.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001986/1.204, allocations: 59.92 kB / 0.9449 GB, free: 124.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/1.205, allocations: 47.75 kB / 0.9449 GB, free: 124.5 MB / 0.573 GB Notification: Performance of SimCode: time 7.82e-07/1.205, allocations: 0 / 0.9449 GB, free: 124.5 MB / 0.573 GB Notification: Performance of Templates: time 0.01756/1.222, allocations: 11.26 MB / 0.9559 GB, free: 118.4 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)