Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 110.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 195 kB / 18.01 MB, free: 5.074 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.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6924/0.6924, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.17 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1523, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005652/0.158, allocations: 4.536 MB / 0.6372 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1591, allocations: 0.8146 MB / 0.638 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.1591, allocations: 0 / 0.638 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.1593, allocations: 31.77 kB / 0.638 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.1594, allocations: 31.7 kB / 0.638 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.1599, allocations: 175.3 kB / 0.6382 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.1601, allocations: 175.4 kB / 0.6384 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.1602, allocations: 17.11 kB / 0.6384 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.1604, allocations: 87.75 kB / 0.6385 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1605, allocations: 75.72 kB / 0.6385 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1605, allocations: 12 kB / 0.6385 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.1608, allocations: 159.8 kB / 0.6387 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.1609, allocations: 35.83 kB / 0.6387 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.1609, allocations: 59.73 kB / 0.6388 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.1612, allocations: 239.3 kB / 0.639 GB, free: 13.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1613, allocations: 0 / 0.639 GB, free: 13.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1613, allocations: 0 / 0.639 GB, free: 13.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1613, allocations: 0 / 0.639 GB, free: 13.92 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008209/0.1621, allocations: 482.9 kB / 0.6395 GB, free: 13.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1621, allocations: 12.03 kB / 0.6395 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.1622, allocations: 12.83 kB / 0.6395 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1624, allocations: 196 kB / 0.6397 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1624, allocations: 12.38 kB / 0.6397 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1624, allocations: 12.38 kB / 0.6397 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.1627, allocations: 121.7 kB / 0.6398 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1627, allocations: 0 / 0.6398 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1628, allocations: 0 / 0.6398 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1628, allocations: 4 kB / 0.6398 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.1632, allocations: 145.3 kB / 0.64 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009274/0.1641, allocations: 464.4 kB / 0.6404 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.1644, allocations: 126.5 kB / 0.6405 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.1646, allocations: 64.81 kB / 0.6406 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.1658, allocations: 0.9684 MB / 0.6415 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1659, allocations: 38.56 kB / 0.6416 GB, free: 11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.1659, allocations: 0 / 0.6416 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006373/0.1665, allocations: 209.3 kB / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1666, allocations: 59.39 kB / 0.6418 GB, free: 10.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1667, allocations: 164.8 kB / 0.642 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1668, allocations: 29.7 kB / 0.642 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.1668, allocations: 104.4 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1669, allocations: 39.45 kB / 0.6422 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.1669, allocations: 53.64 kB / 0.6422 GB, free: 10.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1671, allocations: 322.8 kB / 0.6425 GB, free: 9.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.1673, allocations: 79.94 kB / 0.6426 GB, free: 9.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.1675, allocations: 106.9 kB / 0.6427 GB, free: 9.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.1679, allocations: 177.2 kB / 0.6429 GB, free: 9.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1679, allocations: 4 kB / 0.6429 GB, free: 9.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005244/0.1685, allocations: 245.2 kB / 0.6431 GB, free: 9.359 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1685, allocations: 8 kB / 0.6431 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1685, allocations: 0 / 0.6431 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1685, allocations: 3.938 kB / 0.6431 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.1688, allocations: 51.95 kB / 0.6432 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1688, allocations: 4 kB / 0.6432 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.169, allocations: 39.64 kB / 0.6432 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.169, allocations: 4 kB / 0.6432 GB, free: 9.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.1691, allocations: 133.9 kB / 0.6433 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1691, allocations: 11.81 kB / 0.6433 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004286/0.1696, allocations: 170.9 kB / 0.6435 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1696, allocations: 11.94 kB / 0.6435 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1696, allocations: 0 / 0.6435 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1696, allocations: 0 / 0.6435 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1698, allocations: 225.4 kB / 0.6437 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1698, allocations: 0 / 0.6437 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.17, allocations: 31.97 kB / 0.6438 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.17, allocations: 0 / 0.6438 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.17, allocations: 7.938 kB / 0.6438 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.17, allocations: 0 / 0.6438 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.17, allocations: 4 kB / 0.6438 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.1705, allocations: 259.7 kB / 0.644 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.1705, allocations: 96.91 kB / 0.6441 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1706, allocations: 7.922 kB / 0.6441 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1707, allocations: 15.98 kB / 0.6441 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.1708, allocations: 7.984 kB / 0.6441 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1708, allocations: 8 kB / 0.6442 GB, free: 8.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.081e-05/0.1709, allocations: 117.6 kB / 0.6443 GB, free: 8.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1709, allocations: 0 / 0.6443 GB, free: 8.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.1712, allocations: 64.31 kB / 0.6443 GB, free: 8.004 MB / 494.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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002696/0.1715, allocations: 159.1 kB / 0.6445 GB, free: 7.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004676/0.172, allocations: 167.8 kB / 0.6446 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.172, allocations: 0 / 0.6446 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.1721, allocations: 67.94 kB / 0.6447 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1725, allocations: 20.19 kB / 0.6447 GB, free: 7.586 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.173, allocations: 278.8 kB / 0.645 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1733, allocations: 0.7045 MB / 0.6457 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.1733, allocations: 23.44 kB / 0.6457 GB, free: 6.531 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1733, allocations: 0 / 0.6457 GB, free: 6.531 MB / 494.1 MB Notification: Performance of Templates: time 0.004401/0.1777, allocations: 2.576 MB / 0.6482 GB, free: 3.969 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)