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 0.8201/0.8201, 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.0009646/0.0009644, allocations: 180.4 kB / 187.3 MB, free: 11.89 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.477/1.477, allocations: 221.3 MB / 441.4 MB, free: 4.629 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.0008749/0.000875, allocations: 96.86 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001911/0.001911, allocations: 268.8 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.199e-05, allocations: 8 kB / 0.6835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4672, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.626, allocations: 123.6 MB / 0.885 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.6264, allocations: 127.7 kB / 0.8851 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1067/0.7331, allocations: 25.32 MB / 0.9098 GB, free: 7.52 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7332, allocations: 7.938 kB / 0.9098 GB, free: 7.512 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.829e-05/0.7332, allocations: 23.94 kB / 0.9098 GB, free: 7.488 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.002414/0.7357, allocations: 1.335 MB / 0.9111 GB, free: 6.098 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.7357, allocations: 12.03 kB / 0.9112 GB, free: 6.086 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.7361, allocations: 150 kB / 0.9113 GB, free: 5.938 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.7373, allocations: 0.6533 MB / 0.9119 GB, free: 5.215 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.7374, allocations: 31.98 kB / 0.912 GB, free: 5.184 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.783e-05/0.7375, allocations: 32 kB / 0.912 GB, free: 5.152 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.7378, allocations: 383.2 kB / 0.9124 GB, free: 4.766 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7379, allocations: 0 / 0.9124 GB, free: 4.766 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.7379, allocations: 4 kB / 0.9124 GB, free: 4.762 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.7379, allocations: 0 / 0.9124 GB, free: 4.762 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.7382, allocations: 431.7 kB / 0.9128 GB, free: 4.34 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.7392, allocations: 0.9944 MB / 0.9137 GB, free: 3.281 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.7397, allocations: 0.5594 MB / 0.9143 GB, free: 2.703 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.7399, allocations: 329.7 kB / 0.9146 GB, free: 2.375 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009379/0.7409, allocations: 1.032 MB / 0.9156 GB, free: 1.121 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.7412, allocations: 392.9 kB / 0.916 GB, free: 0.7188 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 3.516e-06/0.7412, allocations: 4 kB / 0.916 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.4624/1.204, allocations: 1.023 MB / 0.917 GB, free: 135.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/1.204, allocations: 82.23 kB / 0.9171 GB, free: 135.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/1.207, allocations: 1.61 MB / 0.9186 GB, free: 135.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002928/1.207, allocations: 48.27 kB / 0.9187 GB, free: 135.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005365/1.208, allocations: 490.6 kB / 0.9192 GB, free: 135.4 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/1.208, allocations: 24.62 kB / 0.9192 GB, free: 135.4 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/1.208, allocations: 18.66 kB / 0.9192 GB, free: 135.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002166/1.208, allocations: 409.2 kB / 0.9196 GB, free: 135.1 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/1.211, allocations: 1.463 MB / 0.921 GB, free: 135.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/1.214, allocations: 1.608 MB / 0.9226 GB, free: 135.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/1.218, allocations: 1.861 MB / 0.9244 GB, free: 134.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.218, allocations: 0.5312 kB / 0.9244 GB, free: 134.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007642/1.226, allocations: 4.019 MB / 0.9283 GB, free: 132.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/1.226, allocations: 4.875 kB / 0.9283 GB, free: 132.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.115e-05/1.226, allocations: 24.44 kB / 0.9284 GB, free: 132.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.865e-05/1.226, allocations: 6.344 kB / 0.9284 GB, free: 132.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/1.227, allocations: 142.7 kB / 0.9285 GB, free: 132.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/1.227, allocations: 3.719 kB / 0.9285 GB, free: 132.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/1.228, allocations: 248.1 kB / 0.9287 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/1.228, allocations: 92.69 kB / 0.9288 GB, free: 132.5 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.0001559/1.228, allocations: 133 kB / 0.929 GB, free: 132.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/1.228, allocations: 119.4 kB / 0.9291 GB, free: 132.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/1.23, allocations: 1.004 MB / 0.9301 GB, free: 132.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.23, allocations: 3.25 kB / 0.9301 GB, free: 132.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.23, allocations: 0 / 0.9301 GB, free: 132.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.23, allocations: 0 / 0.9301 GB, free: 132.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/1.23, allocations: 0.6747 MB / 0.9307 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.23, allocations: 8.797 kB / 0.9307 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/1.23, allocations: 17.67 kB / 0.9307 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.23, allocations: 0 / 0.9307 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/1.23, allocations: 7.938 kB / 0.9307 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.23, allocations: 0 / 0.9307 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.23, allocations: 3.938 kB / 0.9307 GB, free: 131.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007397/1.231, allocations: 1.064 MB / 0.9318 GB, free: 131.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/1.231, allocations: 214.2 kB / 0.932 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/1.231, allocations: 2.625 kB / 0.932 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/1.232, allocations: 7.672 kB / 0.932 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/1.232, allocations: 6.406 kB / 0.932 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/1.232, allocations: 15.34 kB / 0.932 GB, free: 131.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001088/1.233, allocations: 1.097 MB / 0.9331 GB, free: 131.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.233, allocations: 2.25 kB / 0.9331 GB, free: 131.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001763/1.235, allocations: 0.5145 MB / 0.9336 GB, free: 131.1 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.001396/1.236, allocations: 0.5665 MB / 0.9342 GB, free: 131 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001997/1.238, allocations: 2.492 MB / 0.9366 GB, free: 130.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.238, allocations: 0 / 0.9366 GB, free: 130.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/1.238, allocations: 341.8 kB / 0.9369 GB, free: 130.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/1.239, allocations: 63.31 kB / 0.937 GB, free: 130.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/1.241, allocations: 2.104 MB / 0.939 GB, free: 129.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/1.241, allocations: 1.18 MB / 0.9402 GB, free: 128.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003626/1.242, allocations: 128 kB / 0.9403 GB, free: 128.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/1.242, allocations: 70.34 kB / 0.9404 GB, free: 128.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.383e-06/1.242, allocations: 0 / 0.9404 GB, free: 128.4 MB / 0.573 GB Notification: Performance of Templates: time 0.02012/1.262, allocations: 11.59 MB / 0.9517 GB, free: 122.1 MB / 0.573 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)