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.001565/0.001565, allocations: 113.8 kB / 16.46 MB, free: 6.449 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.001406/0.001406, allocations: 189.4 kB / 17.39 MB, free: 5.664 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.422/1.422, allocations: 225.6 MB / 243.8 MB, free: 14.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8314/0.8314, allocations: 134 MB / 430.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.55 kB / 0.5978 GB, free: 16.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1617, allocations: 84.68 MB / 0.6805 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006299/0.168, allocations: 4.567 MB / 0.685 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1692, allocations: 0.8185 MB / 0.6858 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.1692, allocations: 4 kB / 0.6858 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.1694, allocations: 23.83 kB / 0.6858 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.1695, allocations: 39.64 kB / 0.6858 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.17, allocations: 175.3 kB / 0.686 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.1702, allocations: 171.4 kB / 0.6861 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1703, allocations: 21.09 kB / 0.6862 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.1705, allocations: 79.75 kB / 0.6862 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1706, allocations: 75.72 kB / 0.6863 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1706, allocations: 23.88 kB / 0.6863 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.171, allocations: 151.8 kB / 0.6865 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.171, allocations: 35.89 kB / 0.6865 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.1711, allocations: 63.72 kB / 0.6866 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.1715, allocations: 243.2 kB / 0.6868 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1715, allocations: 0 / 0.6868 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1715, allocations: 0 / 0.6868 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.1715, allocations: 0 / 0.6868 GB, free: 5.035 MB / 0.5137 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.0009296/0.1724, allocations: 490.5 kB / 0.6873 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1725, allocations: 8.031 kB / 0.6873 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.1725, allocations: 20.84 kB / 0.6873 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1727, allocations: 180.8 kB / 0.6875 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1727, allocations: 8.125 kB / 0.6875 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1727, allocations: 12 kB / 0.6875 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.173, allocations: 121.6 kB / 0.6876 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1731, allocations: 3.938 kB / 0.6876 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1731, allocations: 4 kB / 0.6876 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1731, allocations: 4 kB / 0.6876 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.1735, allocations: 143.8 kB / 0.6878 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.1745, allocations: 468.4 kB / 0.6882 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.1747, allocations: 114.5 kB / 0.6883 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.1749, allocations: 64.81 kB / 0.6884 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/0.1764, allocations: 0.9605 MB / 0.6893 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.1764, allocations: 46.44 kB / 0.6894 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.1764, allocations: 0 / 0.6894 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0006832/0.1771, allocations: 210 kB / 0.6896 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.1772, allocations: 51.41 kB / 0.6896 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1773, allocations: 167.3 kB / 0.6898 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1774, allocations: 29.7 kB / 0.6898 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.1775, allocations: 112.4 kB / 0.6899 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.1775, allocations: 43.64 kB / 0.6899 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.1776, allocations: 49.69 kB / 0.69 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1777, allocations: 322.8 kB / 0.6903 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.1779, allocations: 71.95 kB / 0.6904 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.1782, allocations: 123.2 kB / 0.6905 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.1786, allocations: 167 kB / 0.6906 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1786, allocations: 3.938 kB / 0.6907 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000569/0.1792, allocations: 245.2 kB / 0.6909 GB, free: 492 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1792, allocations: 8 kB / 0.6909 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1792, allocations: 0 / 0.6909 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1792, allocations: 8.031 kB / 0.6909 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.1795, allocations: 59.89 kB / 0.691 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1795, allocations: 0 / 0.691 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.1797, allocations: 31.83 kB / 0.691 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.1797, allocations: 8 kB / 0.691 GB, free: 376 kB / 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.0001237/0.1798, allocations: 125.8 kB / 0.6911 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.1799, allocations: 11.89 kB / 0.6911 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.1804, allocations: 188.7 kB / 0.6913 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1804, allocations: 0 / 0.6913 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1804, allocations: 0 / 0.6913 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1804, allocations: 0 / 0.6913 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.1806, allocations: 217.6 kB / 0.6915 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1806, allocations: 3.938 kB / 0.6915 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.1808, allocations: 43.86 kB / 0.6916 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1808, allocations: 0 / 0.6916 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1808, allocations: 0 / 0.6916 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.1808, allocations: 11.92 kB / 0.6916 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1808, allocations: 0 / 0.6916 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.1813, allocations: 251.4 kB / 0.6918 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.1814, allocations: 104.9 kB / 0.6919 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1814, allocations: 4 kB / 0.6919 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1815, allocations: 11.98 kB / 0.6919 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.1816, allocations: 11.98 kB / 0.6919 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1816, allocations: 4 kB / 0.6919 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.132e-05/0.1817, allocations: 112 kB / 0.692 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1817, allocations: 0 / 0.692 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003545/0.1821, allocations: 63.86 kB / 0.6921 GB, free: 15.13 MB / 0.5294 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.0003145/0.1824, allocations: 166.9 kB / 0.6923 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005169/0.1829, allocations: 164.8 kB / 0.6924 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1829, allocations: 0 / 0.6924 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.1831, allocations: 59.89 kB / 0.6925 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1834, allocations: 24.17 kB / 0.6925 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.184, allocations: 278.7 kB / 0.6928 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1844, allocations: 0.7045 MB / 0.6935 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.1845, allocations: 19.44 kB / 0.6935 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of SimCode: time 9.61e-07/0.1845, allocations: 0 / 0.6935 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.005118/0.1896, allocations: 2.572 MB / 0.696 GB, free: 11.11 MB / 0.5294 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)