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.00942/0.00942, allocations: 102 kB / 15.73 MB, free: 6.043 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.002297/0.002297, allocations: 195 kB / 16.67 MB, free: 5.965 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8339/0.8339, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.08 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.16, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005575/0.1656, allocations: 4.546 MB / 0.6641 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1666, allocations: 0.8225 MB / 0.6649 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.1667, allocations: 0 / 0.6649 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.1669, allocations: 39.77 kB / 0.665 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.167, allocations: 27.72 kB / 0.665 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.1675, allocations: 175.3 kB / 0.6652 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1676, allocations: 179.4 kB / 0.6653 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.656e-05/0.1677, allocations: 17.11 kB / 0.6653 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.1679, allocations: 75.75 kB / 0.6654 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.168, allocations: 79.67 kB / 0.6655 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1681, allocations: 16 kB / 0.6655 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.1684, allocations: 155.7 kB / 0.6656 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.1684, allocations: 31.91 kB / 0.6657 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.1685, allocations: 71.7 kB / 0.6657 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.1688, allocations: 235.3 kB / 0.666 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1688, allocations: 3.938 kB / 0.666 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1688, allocations: 4 kB / 0.666 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1688, allocations: 0 / 0.666 GB, free: 3.762 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.0008398/0.1697, allocations: 486.8 kB / 0.6664 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1697, allocations: 8.031 kB / 0.6665 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.1698, allocations: 12.84 kB / 0.6665 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1699, allocations: 183.6 kB / 0.6666 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1699, allocations: 12.12 kB / 0.6667 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.17, allocations: 12 kB / 0.6667 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.1703, allocations: 117.5 kB / 0.6668 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1703, allocations: 0 / 0.6668 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1703, allocations: 8 kB / 0.6668 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1703, allocations: 4 kB / 0.6668 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.1707, allocations: 139.9 kB / 0.6669 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009193/0.1717, allocations: 460.4 kB / 0.6674 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.172, allocations: 126.5 kB / 0.6675 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.1722, allocations: 76.81 kB / 0.6676 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.1734, allocations: 0.9609 MB / 0.6685 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1735, allocations: 34.5 kB / 0.6685 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1735, allocations: 0 / 0.6685 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006587/0.1741, allocations: 219.5 kB / 0.6687 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1742, allocations: 55.41 kB / 0.6688 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1743, allocations: 167.2 kB / 0.6689 GB, free: 412 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1743, allocations: 29.7 kB / 0.669 GB, free: 376 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.1744, allocations: 108.4 kB / 0.6691 GB, free: 264 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1744, allocations: 47.38 kB / 0.6691 GB, free: 216 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.1745, allocations: 49.7 kB / 0.6692 GB, free: 160 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1746, allocations: 322.8 kB / 0.6695 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1748, allocations: 71.94 kB / 0.6695 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1751, allocations: 116.2 kB / 0.6697 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.1755, allocations: 171.3 kB / 0.6698 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1755, allocations: 3.938 kB / 0.6698 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005421/0.1761, allocations: 256.5 kB / 0.6701 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1761, allocations: 4 kB / 0.6701 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1761, allocations: 0 / 0.6701 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1761, allocations: 4 kB / 0.6701 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.1764, allocations: 51.97 kB / 0.6701 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1764, allocations: 4.094 kB / 0.6701 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1766, allocations: 31.81 kB / 0.6702 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1766, allocations: 8 kB / 0.6702 GB, free: 15.1 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 9.267e-05/0.1767, allocations: 121.8 kB / 0.6703 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1767, allocations: 15.75 kB / 0.6703 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.1772, allocations: 186.8 kB / 0.6705 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.1772, allocations: 0 / 0.6705 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1772, allocations: 0 / 0.6705 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1772, allocations: 4 kB / 0.6705 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1775, allocations: 213.5 kB / 0.6707 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1775, allocations: 7.938 kB / 0.6707 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1776, allocations: 31.91 kB / 0.6707 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1776, allocations: 0 / 0.6707 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1777, allocations: 4 kB / 0.6707 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1777, allocations: 4 kB / 0.6707 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1777, allocations: 0 / 0.6707 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.1781, allocations: 262.5 kB / 0.671 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.1782, allocations: 96.94 kB / 0.6711 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.1782, allocations: 4 kB / 0.6711 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1784, allocations: 19.98 kB / 0.6711 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.1784, allocations: 7.984 kB / 0.6711 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.1785, allocations: 0 / 0.6711 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.652e-05/0.1785, allocations: 116 kB / 0.6712 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1785, allocations: 0 / 0.6712 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003296/0.1789, allocations: 71.95 kB / 0.6713 GB, free: 13.86 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.0002791/0.1792, allocations: 150.5 kB / 0.6714 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005101/0.1797, allocations: 176 kB / 0.6716 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1797, allocations: 0 / 0.6716 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1799, allocations: 63.95 kB / 0.6717 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1802, allocations: 19.98 kB / 0.6717 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.1807, allocations: 261.2 kB / 0.6719 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.181, allocations: 0.7045 MB / 0.6726 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.879e-05/0.1811, allocations: 25 kB / 0.6726 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.1812, allocations: 19.38 kB / 0.6727 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1812, allocations: 0 / 0.6727 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.00558/0.1867, allocations: 2.737 MB / 0.6753 GB, free: 9.691 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)