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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 171.8 kB / 182.2 MB, free: 9.477 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.483/1.483, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001024/0.001024, allocations: 92.09 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 290.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.126e-05, allocations: 4 kB / 0.6766 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4574, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.6367, allocations: 122.9 MB / 0.8774 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/0.6371, allocations: 123.8 kB / 0.8775 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.5729/1.21, allocations: 25.15 MB / 0.9021 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/1.21, allocations: 6 kB / 0.9021 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.965e-05/1.21, allocations: 21.12 kB / 0.9021 GB, free: 125.8 MB / 0.5573 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.002781/1.213, allocations: 1.343 MB / 0.9034 GB, free: 125 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.213, allocations: 9.781 kB / 0.9034 GB, free: 125 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004498/1.213, allocations: 156.7 kB / 0.9036 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/1.215, allocations: 0.6505 MB / 0.9042 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/1.215, allocations: 4.469 kB / 0.9042 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.215, allocations: 28.19 kB / 0.9042 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004942/1.215, allocations: 422.7 kB / 0.9047 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/1.216, allocations: 382.5 kB / 0.905 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.216, allocations: 0 / 0.905 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.216, allocations: 1.219 kB / 0.905 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.216, allocations: 4.688 kB / 0.905 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/1.217, allocations: 0.9329 MB / 0.9059 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/1.218, allocations: 0.5578 MB / 0.9065 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/1.218, allocations: 331 kB / 0.9068 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009201/1.219, allocations: 1.03 MB / 0.9078 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/1.22, allocations: 403.6 kB / 0.9082 GB, free: 123 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/1.22, allocations: 0 / 0.9082 GB, free: 123 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001198/1.221, allocations: 1.022 MB / 0.9092 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/1.221, allocations: 80.52 kB / 0.9093 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/1.222, allocations: 1.526 MB / 0.9107 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/1.222, allocations: 33.52 kB / 0.9108 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/1.223, allocations: 480.9 kB / 0.9112 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/1.223, allocations: 18.97 kB / 0.9113 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/1.223, allocations: 7.812 kB / 0.9113 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.223, allocations: 407.6 kB / 0.9117 GB, free: 122 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/1.224, allocations: 1.444 MB / 0.9131 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/1.226, allocations: 1.592 MB / 0.9146 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/1.227, allocations: 1.838 MB / 0.9164 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.227, allocations: 0 / 0.9164 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003921/1.231, allocations: 3.969 MB / 0.9203 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.231, allocations: 11.11 kB / 0.9203 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.17e-05/1.231, allocations: 18.53 kB / 0.9203 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/1.231, allocations: 3.969 kB / 0.9203 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/1.232, allocations: 140.7 kB / 0.9205 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.232, allocations: 3.531 kB / 0.9205 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/1.233, allocations: 238.3 kB / 0.9207 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.233, allocations: 85.14 kB / 0.9208 GB, free: 118.6 MB / 0.5573 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.0001321/1.233, allocations: 122.6 kB / 0.9209 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/1.233, allocations: 124.4 kB / 0.921 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008743/1.234, allocations: 0.9962 MB / 0.922 GB, free: 118 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.234, allocations: 0 / 0.922 GB, free: 118 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.234, allocations: 0 / 0.922 GB, free: 118 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.234, allocations: 4 kB / 0.922 GB, free: 118 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/1.235, allocations: 0.6459 MB / 0.9226 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.235, allocations: 5.219 kB / 0.9226 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/1.235, allocations: 11.75 kB / 0.9226 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.235, allocations: 0 / 0.9226 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.235, allocations: 4 kB / 0.9226 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.235, allocations: 7.953 kB / 0.9226 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.235, allocations: 7.594 kB / 0.9226 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/1.235, allocations: 1.058 MB / 0.9237 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/1.236, allocations: 209.4 kB / 0.9239 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.236, allocations: 7.953 kB / 0.9239 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/1.236, allocations: 11.3 kB / 0.9239 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/1.236, allocations: 0 / 0.9239 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/1.236, allocations: 14.23 kB / 0.9239 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008187/1.237, allocations: 1.013 MB / 0.9249 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.237, allocations: 0 / 0.9249 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001785/1.239, allocations: 0.5096 MB / 0.9254 GB, free: 114.8 MB / 0.5573 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.001496/1.24, allocations: 0.5708 MB / 0.926 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00183/1.242, allocations: 2.474 MB / 0.9284 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.242, allocations: 0 / 0.9284 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/1.242, allocations: 339.6 kB / 0.9287 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/1.243, allocations: 54.55 kB / 0.9287 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/1.245, allocations: 2.096 MB / 0.9308 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/1.246, allocations: 1.184 MB / 0.9319 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003653/1.246, allocations: 126.6 kB / 0.9321 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/1.246, allocations: 66.11 kB / 0.9321 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/1.246, allocations: 0 / 0.9321 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.01856/1.265, allocations: 10.97 MB / 0.9428 GB, free: 100.2 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)