Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8188/0.8188, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001183/0.001183, allocations: 181.1 kB / 191.5 MB, free: 5.738 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.524/1.524, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.0009927/0.0009928, allocations: 92.27 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 269.9 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 18.23 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1917, allocations: 82.79 MB / 0.7738 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6163/0.808, allocations: 130.1 MB / 0.9008 GB, free: 21.94 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003762/0.8085, allocations: 122.8 kB / 0.901 GB, free: 21.94 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04493/0.8534, allocations: 15.59 MB / 0.9162 GB, free: 20.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8534, allocations: 3.875 kB / 0.9162 GB, free: 20.94 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.8534, allocations: 0 / 0.9162 GB, free: 20.94 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001108/0.8546, allocations: 0.5641 MB / 0.9167 GB, free: 20.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.8546, allocations: 8.219 kB / 0.9168 GB, free: 20.43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.8547, allocations: 79.16 kB / 0.9168 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.8548, allocations: 266.5 kB / 0.9171 GB, free: 20.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.8548, allocations: 150.6 kB / 0.9172 GB, free: 19.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.8548, allocations: 154.5 kB / 0.9174 GB, free: 19.77 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.283e-05/0.8549, allocations: 101 kB / 0.9175 GB, free: 19.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.8549, allocations: 75.28 kB / 0.9175 GB, free: 19.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.855, allocations: 154.3 kB / 0.9177 GB, free: 19.44 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.855, allocations: 154.6 kB / 0.9178 GB, free: 19.29 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.678e-05/0.855, allocations: 154.5 kB / 0.918 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.8552, allocations: 464.1 kB / 0.9184 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/0.8553, allocations: 175.9 kB / 0.9186 GB, free: 18.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.8553, allocations: 79.28 kB / 0.9187 GB, free: 18.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.8553, allocations: 105.8 kB / 0.9188 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.8554, allocations: 0 / 0.9188 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.705e-05/0.8554, allocations: 41.39 kB / 0.9188 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.8555, allocations: 126.7 kB / 0.9189 GB, free: 18.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.8556, allocations: 119.5 kB / 0.919 GB, free: 18.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.8556, allocations: 25.7 kB / 0.9191 GB, free: 17.99 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.8556, allocations: 97.03 kB / 0.9192 GB, free: 17.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.8556, allocations: 0 / 0.9192 GB, free: 17.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.8556, allocations: 3.938 kB / 0.9192 GB, free: 17.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.8557, allocations: 317.9 kB / 0.9195 GB, free: 17.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.8557, allocations: 7.844 kB / 0.9195 GB, free: 17.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.8558, allocations: 3.875 kB / 0.9195 GB, free: 17.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.8558, allocations: 10.77 kB / 0.9195 GB, free: 17.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8558, allocations: 0 / 0.9195 GB, free: 17.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001173/0.8559, allocations: 52.75 kB / 0.9195 GB, free: 17.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.8559, allocations: 7.75 kB / 0.9195 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.856, allocations: 3.812 kB / 0.9196 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.856, allocations: 0 / 0.9196 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-07/0.856, allocations: 0 / 0.9196 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.856, allocations: 3.094 kB / 0.9196 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.856, allocations: 11.66 kB / 0.9196 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.856, allocations: 0 / 0.9196 GB, free: 17.54 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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 6.737e-05/0.8561, allocations: 181.1 kB / 0.9197 GB, free: 17.35 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.8562, allocations: 112.8 kB / 0.9198 GB, free: 17.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.8562, allocations: 123.7 kB / 0.92 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007/0.8569, allocations: 176.3 kB / 0.9201 GB, free: 32.94 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.417e-05/0.857, allocations: 176.3 kB / 0.9203 GB, free: 32.76 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.726e-05/0.857, allocations: 180.2 kB / 0.9205 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.8572, allocations: 419 kB / 0.9209 GB, free: 32.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.629e-05/0.8573, allocations: 104.9 kB / 0.921 GB, free: 32.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.8574, allocations: 109 kB / 0.9211 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.268e-05/0.8574, allocations: 183.4 kB / 0.9213 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.8575, allocations: 184.2 kB / 0.9214 GB, free: 31.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.584e-05/0.8575, allocations: 176.3 kB / 0.9216 GB, free: 31.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.655e-05/0.8576, allocations: 191.9 kB / 0.9218 GB, free: 31.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.8577, allocations: 306.8 kB / 0.9221 GB, free: 30.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.8578, allocations: 193.4 kB / 0.9223 GB, free: 30.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/0.8579, allocations: 183.6 kB / 0.9224 GB, free: 30.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.858, allocations: 104.9 kB / 0.9225 GB, free: 30.36 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.858, allocations: 180.3 kB / 0.9227 GB, free: 30.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.8581, allocations: 108.8 kB / 0.9228 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.8581, allocations: 102.4 kB / 0.9229 GB, free: 29.99 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8581, allocations: 0 / 0.9229 GB, free: 29.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001122/0.8593, allocations: 321 kB / 0.9232 GB, free: 29.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001076/0.8603, allocations: 0.5727 MB / 0.9238 GB, free: 29.63 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.8605, allocations: 41.06 kB / 0.9238 GB, free: 29.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8605, allocations: 0 / 0.9238 GB, free: 29.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.8605, allocations: 3.812 kB / 0.9238 GB, free: 29.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.8608, allocations: 0.5251 MB / 0.9243 GB, free: 29.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.8611, allocations: 265 kB / 0.9246 GB, free: 28.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.8614, allocations: 0.684 MB / 0.9252 GB, free: 28.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.349e-05/0.8614, allocations: 4 kB / 0.9252 GB, free: 28.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.397e-06/0.8614, allocations: 15.25 kB / 0.9253 GB, free: 28.15 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/0.8614, allocations: 0 / 0.9253 GB, free: 28.15 MB / 0.5573 GB Notification: Performance of Templates: time 0.008928/0.8703, allocations: 5.348 MB / 0.9305 GB, free: 25.73 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)