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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001483, allocations: 96.66 kB / 15.7 MB, free: 468 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.002442/0.002442, allocations: 173.9 kB / 16.57 MB, free: 6.406 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.345/1.345, allocations: 223.2 MB / 240.5 MB, free: 5.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6309/0.6309, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004812, allocations: 8 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1621, allocations: 77.11 MB / 0.5567 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005439/0.1676, allocations: 3.832 MB / 0.5605 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.169, allocations: 0.7102 MB / 0.5612 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.1691, allocations: 4 kB / 0.5612 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1692, allocations: 27.81 kB / 0.5612 GB, free: 7.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.821e-05/0.1693, allocations: 31.92 kB / 0.5612 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.1699, allocations: 135.6 kB / 0.5614 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.1701, allocations: 107.8 kB / 0.5615 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1703, allocations: 17.09 kB / 0.5615 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.1705, allocations: 75.75 kB / 0.5616 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1707, allocations: 67.73 kB / 0.5616 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1707, allocations: 8 kB / 0.5616 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.1712, allocations: 119.9 kB / 0.5617 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.1712, allocations: 27.91 kB / 0.5618 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.247e-05/0.1713, allocations: 45.64 kB / 0.5618 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.1717, allocations: 155.8 kB / 0.562 GB, free: 6.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.1717, allocations: 0 / 0.562 GB, free: 6.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.1718, allocations: 7.938 kB / 0.562 GB, free: 6.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.1718, allocations: 0 / 0.562 GB, free: 6.266 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001202/0.173, allocations: 466.8 kB / 0.5624 GB, free: 5.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.1731, allocations: 12.03 kB / 0.5624 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.1731, allocations: 34.56 kB / 0.5625 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.1732, allocations: 15.81 kB / 0.5625 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1734, allocations: 186.9 kB / 0.5626 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1734, allocations: 8 kB / 0.5627 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1735, allocations: 12 kB / 0.5627 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.1739, allocations: 127.3 kB / 0.5628 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1739, allocations: 4 kB / 0.5628 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.174, allocations: 4 kB / 0.5628 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.174, allocations: 4 kB / 0.5628 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006575/0.1747, allocations: 167.8 kB / 0.563 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.1761, allocations: 472.5 kB / 0.5634 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.1765, allocations: 142.4 kB / 0.5635 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.1778, allocations: 0.9567 MB / 0.5645 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1779, allocations: 42.52 kB / 0.5645 GB, free: 3.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.1779, allocations: 0 / 0.5645 GB, free: 3.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007571/0.1786, allocations: 233.4 kB / 0.5647 GB, free: 3.105 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1787, allocations: 51.41 kB / 0.5648 GB, free: 3.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1789, allocations: 177.5 kB / 0.565 GB, free: 2.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.1789, allocations: 29.7 kB / 0.565 GB, free: 2.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.179, allocations: 108.3 kB / 0.5651 GB, free: 2.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.179, allocations: 35.45 kB / 0.5651 GB, free: 2.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.1791, allocations: 8 kB / 0.5651 GB, free: 2.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1792, allocations: 318.8 kB / 0.5654 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.1794, allocations: 87.95 kB / 0.5655 GB, free: 2.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.1797, allocations: 127 kB / 0.5656 GB, free: 2.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.1799, allocations: 88.98 kB / 0.5657 GB, free: 2.051 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1799, allocations: 0 / 0.5657 GB, free: 2.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005501/0.1805, allocations: 267.1 kB / 0.566 GB, free: 1.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1805, allocations: 11.95 kB / 0.566 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1805, allocations: 4 kB / 0.566 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1805, allocations: 3.938 kB / 0.566 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1808, allocations: 59.95 kB / 0.5661 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1808, allocations: 0 / 0.5661 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.181, allocations: 39.77 kB / 0.5661 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.181, allocations: 12 kB / 0.5661 GB, free: 1.656 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.1812, allocations: 121.8 kB / 0.5662 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.1812, allocations: 11.81 kB / 0.5662 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005171/0.1817, allocations: 210.2 kB / 0.5664 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1817, allocations: 0 / 0.5664 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1817, allocations: 0 / 0.5664 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1817, allocations: 0 / 0.5664 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.182, allocations: 221.5 kB / 0.5666 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.182, allocations: 4 kB / 0.5667 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1822, allocations: 35.98 kB / 0.5667 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1822, allocations: 0 / 0.5667 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1822, allocations: 0 / 0.5667 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1822, allocations: 15.88 kB / 0.5667 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1822, allocations: 0 / 0.5667 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.1827, allocations: 283.2 kB / 0.567 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.1828, allocations: 96.91 kB / 0.5671 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.1828, allocations: 4 kB / 0.5671 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.183, allocations: 15.98 kB / 0.5671 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.183, allocations: 15.94 kB / 0.5671 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1831, allocations: 7.984 kB / 0.5671 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.1832, allocations: 117.8 kB / 0.5672 GB, free: 436 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1832, allocations: 4 kB / 0.5672 GB, free: 432 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000339/0.1835, allocations: 64.3 kB / 0.5673 GB, free: 368 kB / 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 (12): * Single equations (assignments): 12 * 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.0009769/0.1845, allocations: 0.8574 MB / 0.5681 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.185, allocations: 188 kB / 0.5683 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.185, allocations: 0 / 0.5683 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.1852, allocations: 87.59 kB / 0.5684 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.1855, allocations: 15.95 kB / 0.5684 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009836/0.1865, allocations: 1.053 MB / 0.5694 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1868, allocations: 0.7048 MB / 0.5701 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.387e-05/0.1869, allocations: 17.08 kB / 0.5701 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.1869, allocations: 39.42 kB / 0.5702 GB, free: 13.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1869, allocations: 0 / 0.5702 GB, free: 13.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.171/0.3579, allocations: 3.95 MB / 0.574 GB, free: 9.539 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.3582, allocations: 190.4 kB / 0.5742 GB, free: 9.305 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.468, allocations: 3.938 kB / 0.5742 GB, free: 9.301 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: