Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.004602/0.004602, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.001091/0.001091, allocations: 191 kB / 16.67 MB, free: 5.969 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8459/0.8459, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.86 kB / 0.5814 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1455, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006448/0.1519, allocations: 4.541 MB / 0.6641 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1531, allocations: 0.8302 MB / 0.6649 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.703e-05/0.1532, allocations: 4 kB / 0.6649 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.1534, allocations: 27.83 kB / 0.665 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.1535, allocations: 39.64 kB / 0.665 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.1541, allocations: 171.4 kB / 0.6652 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1543, allocations: 175.4 kB / 0.6653 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1545, allocations: 9.125 kB / 0.6653 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1547, allocations: 83.75 kB / 0.6654 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1548, allocations: 83.66 kB / 0.6655 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.1548, allocations: 15.94 kB / 0.6655 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.1553, allocations: 155.8 kB / 0.6657 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.1553, allocations: 27.91 kB / 0.6657 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.945e-05/0.1554, allocations: 67.7 kB / 0.6657 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.1558, allocations: 239.3 kB / 0.666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1559, allocations: 0 / 0.666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1559, allocations: 0 / 0.666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.1559, allocations: 0 / 0.666 GB, free: 3.742 MB / 0.4981 GB 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.001053/0.1569, allocations: 490.8 kB / 0.6664 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.157, allocations: 8.031 kB / 0.6665 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.763e-05/0.1571, allocations: 12.84 kB / 0.6665 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1573, allocations: 180.2 kB / 0.6666 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1573, allocations: 12.12 kB / 0.6666 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1573, allocations: 12 kB / 0.6667 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.1577, allocations: 131.3 kB / 0.6668 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1577, allocations: 3.984 kB / 0.6668 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1577, allocations: 0 / 0.6668 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1578, allocations: 4 kB / 0.6668 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.1582, allocations: 143.8 kB / 0.6669 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1593, allocations: 456.5 kB / 0.6674 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.1596, allocations: 126.5 kB / 0.6675 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1598, allocations: 72.81 kB / 0.6676 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.1611, allocations: 0.9609 MB / 0.6685 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1612, allocations: 42.44 kB / 0.6685 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.1612, allocations: 0 / 0.6685 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006687/0.1618, allocations: 215.7 kB / 0.6687 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1619, allocations: 51.41 kB / 0.6688 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1621, allocations: 171.2 kB / 0.669 GB, free: 380 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1621, allocations: 25.7 kB / 0.669 GB, free: 348 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.1622, allocations: 116.4 kB / 0.6691 GB, free: 228 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.1622, allocations: 43.39 kB / 0.6691 GB, free: 184 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.1623, allocations: 45.7 kB / 0.6692 GB, free: 132 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1624, allocations: 322.8 kB / 0.6695 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.1626, allocations: 75.94 kB / 0.6696 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.1629, allocations: 120.1 kB / 0.6697 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.1633, allocations: 167 kB / 0.6698 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1633, allocations: 7.938 kB / 0.6698 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005448/0.1639, allocations: 249.1 kB / 0.6701 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1639, allocations: 8 kB / 0.6701 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1639, allocations: 0 / 0.6701 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1639, allocations: 0 / 0.6701 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.1642, allocations: 60 kB / 0.6701 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1642, allocations: 0 / 0.6701 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.1644, allocations: 35.81 kB / 0.6702 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.1644, allocations: 8 kB / 0.6702 GB, free: 15.06 MB / 0.5137 GB 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.0001127/0.1645, allocations: 125.8 kB / 0.6703 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.1646, allocations: 15.75 kB / 0.6703 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.165, allocations: 175 kB / 0.6705 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1651, allocations: 0 / 0.6705 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1651, allocations: 0 / 0.6705 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1651, allocations: 0 / 0.6705 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.1654, allocations: 217.5 kB / 0.6707 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1654, allocations: 3.938 kB / 0.6707 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1656, allocations: 35.91 kB / 0.6707 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1656, allocations: 3.938 kB / 0.6707 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1656, allocations: 8 kB / 0.6707 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1656, allocations: 4 kB / 0.6707 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1656, allocations: 0 / 0.6707 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.1661, allocations: 254.1 kB / 0.671 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.1662, allocations: 96.94 kB / 0.6711 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1662, allocations: 8 kB / 0.6711 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.1663, allocations: 11.98 kB / 0.6711 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.1664, allocations: 11.98 kB / 0.6711 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1664, allocations: 4 kB / 0.6711 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.23e-05/0.1665, allocations: 112 kB / 0.6712 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.1665, allocations: 0 / 0.6712 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003594/0.1668, allocations: 67.95 kB / 0.6713 GB, free: 13.84 MB / 0.5137 GB 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.0003493/0.1672, allocations: 163.1 kB / 0.6714 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.1677, allocations: 168 kB / 0.6716 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1678, allocations: 0 / 0.6716 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.168, allocations: 67.89 kB / 0.6717 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1684, allocations: 19.98 kB / 0.6717 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.1689, allocations: 253.2 kB / 0.6719 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1692, allocations: 0.7006 MB / 0.6726 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.659e-05/0.1693, allocations: 24.3 kB / 0.6726 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.1694, allocations: 23.38 kB / 0.6727 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1694, allocations: 4 kB / 0.6727 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.006365/0.1758, allocations: 2.743 MB / 0.6753 GB, free: 9.66 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)