Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001038/0.001038, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001285/0.001285, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9401/0.9401, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 12 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1595, allocations: 82.32 MB / 0.5874 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004687/0.1642, allocations: 4.049 MB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.1653, allocations: 0.7646 MB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.1653, allocations: 4 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.1655, allocations: 27.88 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/0.1655, allocations: 23.78 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.166, allocations: 135.5 kB / 0.5923 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.1662, allocations: 151.4 kB / 0.5924 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1663, allocations: 17.11 kB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1665, allocations: 71.75 kB / 0.5925 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1666, allocations: 71.72 kB / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1666, allocations: 8 kB / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.1669, allocations: 115.8 kB / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.1669, allocations: 27.89 kB / 0.5927 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.167, allocations: 45.64 kB / 0.5928 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1672, allocations: 155.9 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1672, allocations: 0 / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1672, allocations: 4 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1673, allocations: 0 / 0.5929 GB, free: 13.29 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.0008101/0.1681, allocations: 474.7 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1681, allocations: 8.031 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.1682, allocations: 19.77 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1683, allocations: 186.1 kB / 0.5936 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1683, allocations: 8 kB / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1684, allocations: 12 kB / 0.5936 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.1687, allocations: 129.6 kB / 0.5937 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1687, allocations: 0 / 0.5937 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1687, allocations: 7.984 kB / 0.5937 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1687, allocations: 0 / 0.5937 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.1691, allocations: 167.8 kB / 0.5939 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.1701, allocations: 464.4 kB / 0.5943 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.1704, allocations: 146.3 kB / 0.5945 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.1706, allocations: 80.81 kB / 0.5945 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.1719, allocations: 0.9648 MB / 0.5955 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1719, allocations: 38.44 kB / 0.5955 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.1719, allocations: 0 / 0.5955 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006602/0.1726, allocations: 229.5 kB / 0.5957 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1726, allocations: 55.41 kB / 0.5958 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1728, allocations: 174.5 kB / 0.5959 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1728, allocations: 29.7 kB / 0.596 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.1729, allocations: 108.4 kB / 0.5961 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.173, allocations: 35.45 kB / 0.5961 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.173, allocations: 8 kB / 0.5961 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1731, allocations: 322.8 kB / 0.5964 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1733, allocations: 87.95 kB / 0.5965 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.1736, allocations: 127.3 kB / 0.5966 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.1738, allocations: 87.91 kB / 0.5967 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1738, allocations: 0 / 0.5967 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005367/0.1744, allocations: 269.2 kB / 0.597 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1744, allocations: 8 kB / 0.597 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1744, allocations: 0 / 0.597 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1744, allocations: 4 kB / 0.597 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.1747, allocations: 59.89 kB / 0.597 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1747, allocations: 0 / 0.597 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1748, allocations: 39.86 kB / 0.5971 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.1749, allocations: 12 kB / 0.5971 GB, free: 8.637 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.175, allocations: 125.7 kB / 0.5972 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.175, allocations: 15.81 kB / 0.5972 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.1755, allocations: 191 kB / 0.5974 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1755, allocations: 0 / 0.5974 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1755, allocations: 0 / 0.5974 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1755, allocations: 0 / 0.5974 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1757, allocations: 237.3 kB / 0.5976 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1757, allocations: 3.938 kB / 0.5976 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1759, allocations: 27.98 kB / 0.5977 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1759, allocations: 4 kB / 0.5977 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1759, allocations: 7.984 kB / 0.5977 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1759, allocations: 0 / 0.5977 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1759, allocations: 3.938 kB / 0.5977 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.1764, allocations: 271.4 kB / 0.5979 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.1765, allocations: 100.9 kB / 0.598 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1765, allocations: 12 kB / 0.598 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1766, allocations: 15.98 kB / 0.5981 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.1767, allocations: 11.92 kB / 0.5981 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1767, allocations: 7.984 kB / 0.5981 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.144e-05/0.1768, allocations: 112.7 kB / 0.5982 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1768, allocations: 0 / 0.5982 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003269/0.1771, allocations: 68.05 kB / 0.5983 GB, free: 7.348 MB / 0.4981 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 (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.0002484/0.1774, allocations: 151.1 kB / 0.5984 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004841/0.1779, allocations: 191.7 kB / 0.5986 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1779, allocations: 0 / 0.5986 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.1781, allocations: 75.89 kB / 0.5987 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1784, allocations: 35.69 kB / 0.5987 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.1789, allocations: 357.6 kB / 0.599 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.1792, allocations: 0.7009 MB / 0.5997 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.1793, allocations: 21.06 kB / 0.5997 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.1794, allocations: 15.44 kB / 0.5997 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1794, allocations: 0 / 0.5997 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of Templates: time 0.00534/0.1847, allocations: 2.465 MB / 0.6022 GB, free: 3.328 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)