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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6586/0.6586, allocations: 117.9 MB / 133.9 MB, free: 9.23 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.000992/0.0009919, allocations: 180.3 kB / 161.7 MB, free: 14 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.634/1.634, allocations: 205.4 MB / 394.8 MB, free: 10.12 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.0008164/0.0008163, allocations: 90.12 kB / 470.1 MB, free: 29.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003956, allocations: 12 kB / 0.5424 GB, free: 9.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1763, allocations: 74.55 MB / 0.6152 GB, free: 15.12 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4903/0.6666, allocations: 110.6 MB / 0.7232 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004452/0.6671, allocations: 120.5 kB / 0.7233 GB, free: 25.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07595/0.7431, allocations: 18.59 MB / 0.7415 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7431, allocations: 0 / 0.7415 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.7432, allocations: 8 kB / 0.7415 GB, free: 12.3 MB / 0.4948 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.001397/0.7446, allocations: 0.6466 MB / 0.7421 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.7447, allocations: 12.03 kB / 0.7421 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.7448, allocations: 44.38 kB / 0.7421 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007113/0.7455, allocations: 369.1 kB / 0.7425 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.7456, allocations: 16.44 kB / 0.7425 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.7457, allocations: 23.69 kB / 0.7425 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.7462, allocations: 208.7 kB / 0.7427 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.7463, allocations: 4.188 kB / 0.7427 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.7463, allocations: 7.625 kB / 0.7427 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.7463, allocations: 8 kB / 0.7428 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.7469, allocations: 176.8 kB / 0.7429 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.7485, allocations: 0.8741 MB / 0.7438 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.749, allocations: 160.7 kB / 0.7439 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.7493, allocations: 115.8 kB / 0.744 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.7493, allocations: 0 / 0.744 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.7494, allocations: 38.56 kB / 0.7441 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.754e-06/0.7494, allocations: 0 / 0.7441 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.000858/0.7502, allocations: 270 kB / 0.7443 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.7503, allocations: 63.34 kB / 0.7444 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/0.7509, allocations: 423.3 kB / 0.7448 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.751, allocations: 29.14 kB / 0.7448 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.7511, allocations: 203.4 kB / 0.745 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.7512, allocations: 66.64 kB / 0.7451 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.7512, allocations: 3.125 kB / 0.7451 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7513, allocations: 343.7 kB / 0.7454 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.7516, allocations: 71.95 kB / 0.7455 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.7518, allocations: 57.16 kB / 0.7455 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.7522, allocations: 150.8 kB / 0.7457 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7522, allocations: 0 / 0.7457 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005574/0.7528, allocations: 214.1 kB / 0.7459 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.7528, allocations: 4 kB / 0.7459 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7528, allocations: 0 / 0.7459 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7529, allocations: 4 kB / 0.7459 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.7533, allocations: 63.16 kB / 0.746 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.7533, allocations: 0 / 0.746 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.7535, allocations: 27.39 kB / 0.746 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.7535, allocations: 4 kB / 0.746 GB, free: 8.273 MB / 0.4948 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 (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 0.0001534/0.7537, allocations: 164.2 kB / 0.7461 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.7537, allocations: 35.53 kB / 0.7462 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.7538, allocations: 40.03 kB / 0.7462 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7538, allocations: 7.938 kB / 0.7462 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7538, allocations: 0 / 0.7462 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7538, allocations: 3.984 kB / 0.7462 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.7542, allocations: 374.8 kB / 0.7466 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7542, allocations: 0 / 0.7466 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.7544, allocations: 59.91 kB / 0.7466 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.7544, allocations: 4 kB / 0.7466 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.7545, allocations: 3.938 kB / 0.7466 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7545, allocations: 3.938 kB / 0.7466 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7545, allocations: 0 / 0.7466 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.755, allocations: 395.5 kB / 0.747 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.7551, allocations: 115.5 kB / 0.7471 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.7552, allocations: 4 kB / 0.7471 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.7553, allocations: 18.98 kB / 0.7472 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.7554, allocations: 26.31 kB / 0.7472 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.7554, allocations: 4 kB / 0.7472 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002823/0.7557, allocations: 301 kB / 0.7475 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7557, allocations: 0 / 0.7475 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003847/0.7561, allocations: 82.66 kB / 0.7476 GB, free: 6.852 MB / 0.4948 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 () * Number of clocked 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.0003657/0.7565, allocations: 266 kB / 0.7478 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.7568, allocations: 162.1 kB / 0.748 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.7568, allocations: 0 / 0.748 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.757, allocations: 80.91 kB / 0.748 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.7576, allocations: 95.45 kB / 0.7481 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.7587, allocations: 0.8954 MB / 0.749 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.759, allocations: 0.7912 MB / 0.7498 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.7591, allocations: 36.28 kB / 0.7498 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.035e-05/0.7592, allocations: 23.44 kB / 0.7498 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.7592, allocations: 0 / 0.7498 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of Templates: time 0.00973/0.7689, allocations: 5.417 MB / 0.7551 GB, free: 15.32 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)