Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7721/0.7721, allocations: 127.4 MB / 134.9 MB, free: 3.445 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 181.9 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.2 MB / 399.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009077/0.0009076, allocations: 82.53 kB / 476.7 MB, free: 1.543 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.697e-05, allocations: 5.219 kB / 0.5466 GB, free: 95.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1503, allocations: 76.77 MB / 0.6216 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.2983, allocations: 110.9 MB / 0.7299 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.2986, allocations: 111.9 kB / 0.73 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3656/0.6643, allocations: 18.29 MB / 0.7479 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6643, allocations: 0 / 0.7479 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.6644, allocations: 9.281 kB / 0.7479 GB, free: 114.1 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000993/0.6654, allocations: 0.576 MB / 0.7485 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.6654, allocations: 14.52 kB / 0.7485 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.6656, allocations: 48.16 kB / 0.7485 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.6662, allocations: 349.4 kB / 0.7489 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.6662, allocations: 10.09 kB / 0.7489 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.6663, allocations: 12.5 kB / 0.7489 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003102/0.6666, allocations: 124.8 kB / 0.749 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.6669, allocations: 153.3 kB / 0.7492 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.667, allocations: 3.906 kB / 0.7492 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.667, allocations: 1.188 kB / 0.7492 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.667, allocations: 4.5 kB / 0.7492 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.6683, allocations: 0.8213 MB / 0.75 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.6685, allocations: 134.5 kB / 0.7501 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.6687, allocations: 89.77 kB / 0.7502 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.6687, allocations: 2.438 kB / 0.7502 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.6687, allocations: 35.09 kB / 0.7502 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.684e-06/0.6688, allocations: 0.9062 kB / 0.7502 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003336/0.6691, allocations: 158.6 kB / 0.7504 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.6691, allocations: 57.75 kB / 0.7504 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.6696, allocations: 330.9 kB / 0.7507 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.6696, allocations: 27.14 kB / 0.7508 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.6697, allocations: 211.5 kB / 0.751 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.6698, allocations: 64.52 kB / 0.751 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.6698, allocations: 3.828 kB / 0.751 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.6699, allocations: 347.4 kB / 0.7514 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.6699, allocations: 41.42 kB / 0.7514 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.67, allocations: 41.72 kB / 0.7514 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.002e-05/0.6701, allocations: 47.33 kB / 0.7515 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6701, allocations: 0 / 0.7515 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002443/0.6704, allocations: 163 kB / 0.7516 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.6704, allocations: 5.75 kB / 0.7516 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6704, allocations: 0 / 0.7516 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.6704, allocations: 1.5 kB / 0.7516 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.6707, allocations: 61.08 kB / 0.7517 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6707, allocations: 0 / 0.7517 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.6709, allocations: 21.11 kB / 0.7517 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.6709, allocations: 4.094 kB / 0.7517 GB, free: 112.2 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 6.076e-05/0.671, allocations: 108.9 kB / 0.7518 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.6711, allocations: 33.66 kB / 0.7519 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.6712, allocations: 37.34 kB / 0.7519 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6712, allocations: 1.75 kB / 0.7519 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6712, allocations: 7.797 kB / 0.7519 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6712, allocations: 1.156 kB / 0.7519 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.6716, allocations: 333.5 kB / 0.7522 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6716, allocations: 0 / 0.7522 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.6718, allocations: 62.42 kB / 0.7523 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.6719, allocations: 0 / 0.7523 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.6719, allocations: 4.219 kB / 0.7523 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6719, allocations: 1.469 kB / 0.7523 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6719, allocations: 0 / 0.7523 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.6723, allocations: 336.4 kB / 0.7526 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.6724, allocations: 111.6 kB / 0.7527 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.6725, allocations: 1.469 kB / 0.7527 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.6726, allocations: 10.67 kB / 0.7527 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.6727, allocations: 13.89 kB / 0.7527 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.6727, allocations: 3.031 kB / 0.7527 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002826/0.673, allocations: 267.8 kB / 0.753 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.01e-07/0.673, allocations: 0 / 0.753 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000364/0.6734, allocations: 80.19 kB / 0.7531 GB, free: 111.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0003817/0.6738, allocations: 274.9 kB / 0.7533 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.674, allocations: 102.4 kB / 0.7534 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.674, allocations: 0 / 0.7534 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.6741, allocations: 65.77 kB / 0.7535 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.6746, allocations: 79.75 kB / 0.7536 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.6756, allocations: 0.5253 MB / 0.7541 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.6758, allocations: 0.812 MB / 0.7549 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.676, allocations: 30.64 kB / 0.7549 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.6761, allocations: 22.47 kB / 0.7549 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.6761, allocations: 0 / 0.7549 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.008728/0.6848, allocations: 3.635 MB / 0.7585 GB, free: 109.9 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)