Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009674/0.0009673, allocations: 98.22 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 174.9 kB / 16.56 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 240.5 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6848/0.6848, allocations: 113.8 MB / 405.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 12 kB / 493.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1629, allocations: 77.15 MB / 0.5569 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001331/0.1643, allocations: 1.055 MB / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1657, allocations: 0.9755 MB / 0.5589 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.1657, allocations: 7.938 kB / 0.5589 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.1657, allocations: 3.984 kB / 0.5589 GB, free: 9.496 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.1658, allocations: 3.984 kB / 0.5589 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.1663, allocations: 151 kB / 0.559 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.004e-05/0.1663, allocations: 27.89 kB / 0.5591 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.1664, allocations: 0 / 0.5591 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.1664, allocations: 8 kB / 0.5591 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.1665, allocations: 15.92 kB / 0.5591 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1665, allocations: 4 kB / 0.5591 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.1671, allocations: 403.4 kB / 0.5595 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.1671, allocations: 11.94 kB / 0.5595 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.1671, allocations: 25.7 kB / 0.5595 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1673, allocations: 140 kB / 0.5596 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1674, allocations: 0 / 0.5596 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1674, allocations: 0 / 0.5596 GB, free: 8.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1674, allocations: 0 / 0.5596 GB, free: 8.719 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003943/0.1678, allocations: 379.2 kB / 0.56 GB, free: 8.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1678, allocations: 12.02 kB / 0.56 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.1679, allocations: 4 kB / 0.56 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.168, allocations: 166.9 kB / 0.5602 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.168, allocations: 8 kB / 0.5602 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.168, allocations: 0 / 0.5602 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1681, allocations: 45.58 kB / 0.5602 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1681, allocations: 0 / 0.5602 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.1682, allocations: 4 kB / 0.5602 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1682, allocations: 0 / 0.5602 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.1682, allocations: 11.98 kB / 0.5602 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.1684, allocations: 157.7 kB / 0.5604 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.1685, allocations: 46.5 kB / 0.5604 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008847/0.1694, allocations: 0.9935 MB / 0.5614 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1694, allocations: 30.56 kB / 0.5614 GB, free: 6.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1694, allocations: 3.938 kB / 0.5614 GB, free: 6.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001635/0.1696, allocations: 61.64 kB / 0.5615 GB, free: 6.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.1696, allocations: 51.41 kB / 0.5615 GB, free: 6.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.1697, allocations: 105.8 kB / 0.5616 GB, free: 6.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1697, allocations: 25.7 kB / 0.5617 GB, free: 6.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.1697, allocations: 80.14 kB / 0.5618 GB, free: 6.137 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.1698, allocations: 19.81 kB / 0.5618 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.1698, allocations: 0 / 0.5618 GB, free: 6.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.1699, allocations: 314.8 kB / 0.5621 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.1699, allocations: 11.94 kB / 0.5621 GB, free: 5.789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.1699, allocations: 4.188 kB / 0.5621 GB, free: 5.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.498e-05/0.17, allocations: 8.078 kB / 0.5621 GB, free: 5.777 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.17, allocations: 0 / 0.5621 GB, free: 5.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.8e-05/0.17, allocations: 53.69 kB / 0.5621 GB, free: 5.719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1701, allocations: 8 kB / 0.5622 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1701, allocations: 4 kB / 0.5622 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1701, allocations: 3.953 kB / 0.5622 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1702, allocations: 15.98 kB / 0.5622 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1702, allocations: 0 / 0.5622 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.1703, allocations: 7.844 kB / 0.5622 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1703, allocations: 0 / 0.5622 GB, free: 5.68 MB / 430.1 MB 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 (4): * Single equations (assignments): 4 * 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 8.059e-05/0.1703, allocations: 113.8 kB / 0.5623 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-06/0.1704, allocations: 0 / 0.5623 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.1705, allocations: 61.58 kB / 0.5623 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1705, allocations: 7.953 kB / 0.5624 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1705, allocations: 4 kB / 0.5624 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1705, allocations: 0 / 0.5624 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.1706, allocations: 161.7 kB / 0.5625 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1706, allocations: 4 kB / 0.5625 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.1707, allocations: 15.98 kB / 0.5625 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1707, allocations: 4 kB / 0.5625 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1707, allocations: 0 / 0.5625 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1707, allocations: 0 / 0.5625 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1708, allocations: 3.953 kB / 0.5625 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.775e-05/0.1708, allocations: 84.91 kB / 0.5626 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.1709, allocations: 81.11 kB / 0.5627 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1709, allocations: 4 kB / 0.5627 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.1709, allocations: 0 / 0.5627 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.171, allocations: 3.984 kB / 0.5627 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.171, allocations: 7.953 kB / 0.5627 GB, free: 5.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.306e-05/0.171, allocations: 83.28 kB / 0.5628 GB, free: 4.945 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 0.5628 GB, free: 4.945 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1712, allocations: 47.92 kB / 0.5628 GB, free: 4.898 MB / 430.1 MB 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 (4): * Single equations (assignments): 4 * 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.000219/0.1715, allocations: 147.8 kB / 0.563 GB, free: 4.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.39e-05/0.1716, allocations: 23.94 kB / 0.563 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1716, allocations: 0 / 0.563 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.1716, allocations: 11.98 kB / 0.563 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.1718, allocations: 8 kB / 0.563 GB, free: 4.703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.1721, allocations: 166.7 kB / 0.5632 GB, free: 4.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1723, allocations: 0.6809 MB / 0.5638 GB, free: 3.809 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.536e-05/0.1724, allocations: 12.31 kB / 0.5639 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.1724, allocations: 15.42 kB / 0.5639 GB, free: 3.781 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1724, allocations: 4 kB / 0.5639 GB, free: 3.777 MB / 430.1 MB Notification: Performance of Templates: time 0.003196/0.1756, allocations: 1.075 MB / 0.5649 GB, free: 2.754 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)