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.0008809/0.0008808, allocations: 99.12 kB / 16.02 MB, free: 80 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.001137/0.001137, allocations: 185.2 kB / 16.92 MB, free: 6.754 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.391/1.391, allocations: 223.2 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6829/0.6829, allocations: 115.4 MB / 407.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003303, allocations: 16 kB / 495.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 77.5 MB / 0.5598 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004995/0.1675, allocations: 4.188 MB / 0.5639 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1686, allocations: 0.8109 MB / 0.5647 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.1686, allocations: 0 / 0.5647 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.1688, allocations: 19.89 kB / 0.5647 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.642e-05/0.1689, allocations: 31.7 kB / 0.5647 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.1694, allocations: 147.5 kB / 0.5649 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1696, allocations: 163.4 kB / 0.565 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.1697, allocations: 25.09 kB / 0.5651 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.1698, allocations: 79.69 kB / 0.5651 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.557e-05/0.17, allocations: 67.73 kB / 0.5652 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.17, allocations: 8 kB / 0.5652 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.1703, allocations: 147.7 kB / 0.5653 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.1703, allocations: 23.91 kB / 0.5654 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.389e-05/0.1704, allocations: 85.36 kB / 0.5654 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.1707, allocations: 235.5 kB / 0.5657 GB, free: 3.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1707, allocations: 0 / 0.5657 GB, free: 3.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1708, allocations: 0 / 0.5657 GB, free: 3.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1708, allocations: 4 kB / 0.5657 GB, free: 3.109 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.000848/0.1716, allocations: 471 kB / 0.5661 GB, free: 2.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1717, allocations: 12.03 kB / 0.5661 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.1717, allocations: 12.75 kB / 0.5661 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1719, allocations: 185 kB / 0.5663 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1719, allocations: 8.375 kB / 0.5663 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.1719, allocations: 8.375 kB / 0.5663 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.1722, allocations: 135.8 kB / 0.5665 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1723, allocations: 0 / 0.5665 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1723, allocations: 4 kB / 0.5665 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1723, allocations: 4 kB / 0.5665 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.1727, allocations: 163.8 kB / 0.5666 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1738, allocations: 476.3 kB / 0.5671 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.1741, allocations: 138.4 kB / 0.5672 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.1744, allocations: 80.81 kB / 0.5673 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/0.1759, allocations: 0.9568 MB / 0.5682 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.176, allocations: 42.5 kB / 0.5683 GB, free: 156 kB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.176, allocations: 0 / 0.5683 GB, free: 156 kB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007473/0.1767, allocations: 241.3 kB / 0.5685 GB, free: 15.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1768, allocations: 55.41 kB / 0.5686 GB, free: 15.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.177, allocations: 165.9 kB / 0.5687 GB, free: 15.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.177, allocations: 29.7 kB / 0.5687 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.1771, allocations: 116.3 kB / 0.5688 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1772, allocations: 39.36 kB / 0.5689 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.1772, allocations: 29.7 kB / 0.5689 GB, free: 15.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1774, allocations: 326.8 kB / 0.5692 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.1777, allocations: 79.95 kB / 0.5693 GB, free: 15.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.178, allocations: 131 kB / 0.5694 GB, free: 14.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.1785, allocations: 196.4 kB / 0.5696 GB, free: 14.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1785, allocations: 3.938 kB / 0.5696 GB, free: 14.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006014/0.1791, allocations: 265.3 kB / 0.5699 GB, free: 14.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1791, allocations: 4 kB / 0.5699 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1791, allocations: 0 / 0.5699 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1791, allocations: 7.938 kB / 0.5699 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.1794, allocations: 60 kB / 0.5699 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1795, allocations: 7.984 kB / 0.5699 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.1796, allocations: 43.66 kB / 0.57 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1797, allocations: 4 kB / 0.57 GB, free: 14.31 MB / 446.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.0001174/0.1798, allocations: 129.8 kB / 0.5701 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.1798, allocations: 7.906 kB / 0.5701 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.1804, allocations: 198.9 kB / 0.5703 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1804, allocations: 4 kB / 0.5703 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1804, allocations: 0 / 0.5703 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1804, allocations: 0 / 0.5703 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.1806, allocations: 217.5 kB / 0.5705 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1807, allocations: 0 / 0.5705 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.1808, allocations: 43.91 kB / 0.5706 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1808, allocations: 0 / 0.5706 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1809, allocations: 7.938 kB / 0.5706 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1809, allocations: 3.938 kB / 0.5706 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1809, allocations: 0 / 0.5706 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.1814, allocations: 287.2 kB / 0.5709 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.1815, allocations: 96.91 kB / 0.5709 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1815, allocations: 3.938 kB / 0.5709 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.1817, allocations: 23.98 kB / 0.571 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.1817, allocations: 7.984 kB / 0.571 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1817, allocations: 4 kB / 0.571 GB, free: 13.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.693e-05/0.1818, allocations: 117.8 kB / 0.5711 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1818, allocations: 0 / 0.5711 GB, free: 13.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.1822, allocations: 64.3 kB / 0.5712 GB, free: 13.02 MB / 446.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.0003622/0.1826, allocations: 155.1 kB / 0.5713 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005424/0.1831, allocations: 199.6 kB / 0.5715 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1831, allocations: 0 / 0.5715 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.1833, allocations: 80.08 kB / 0.5716 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1837, allocations: 22.22 kB / 0.5716 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.1843, allocations: 294.1 kB / 0.5719 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.1847, allocations: 0.7125 MB / 0.5726 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.53e-05/0.1848, allocations: 13.08 kB / 0.5726 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.1848, allocations: 19.44 kB / 0.5726 GB, free: 11.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1848, allocations: 0 / 0.5726 GB, free: 11.49 MB / 446.1 MB Notification: Performance of Templates: time 0.005904/0.1907, allocations: 2.528 MB / 0.5751 GB, free: 8.992 MB / 446.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)