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.001059/0.001059, allocations: 108 kB / 15.6 MB, free: 132 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.001112/0.001112, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7276/0.7276, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 64.75 kB / 0.5018 GB, free: 8.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1656, allocations: 80.2 MB / 0.5801 GB, free: 8.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00684/0.1725, allocations: 4.548 MB / 0.5845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1736, allocations: 0.8186 MB / 0.5853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.1737, allocations: 0 / 0.5853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.1739, allocations: 31.78 kB / 0.5854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.174, allocations: 35.7 kB / 0.5854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.1747, allocations: 163.4 kB / 0.5856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.1749, allocations: 171.4 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.175, allocations: 29.05 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.1752, allocations: 79.69 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1754, allocations: 75.73 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.1754, allocations: 12 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.1758, allocations: 155.8 kB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.1759, allocations: 31.91 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.176, allocations: 67.66 kB / 0.5862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.1764, allocations: 239.6 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1764, allocations: 0 / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1764, allocations: 0 / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1764, allocations: 0 / 0.5864 GB, free: 2.285 MB / 494.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.0009458/0.1774, allocations: 486.8 kB / 0.5868 GB, free: 1.762 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1774, allocations: 12.03 kB / 0.5869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.1775, allocations: 12.75 kB / 0.5869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1777, allocations: 187.5 kB / 0.587 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1777, allocations: 8.375 kB / 0.5871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.1777, allocations: 15.94 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.178, allocations: 113.6 kB / 0.5872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1781, allocations: 0 / 0.5872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1781, allocations: 4 kB / 0.5872 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1781, allocations: 8 kB / 0.5872 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.1785, allocations: 143.8 kB / 0.5873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1796, allocations: 464.4 kB / 0.5878 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1799, allocations: 126.4 kB / 0.5879 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.1801, allocations: 76.81 kB / 0.588 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.1814, allocations: 0.9686 MB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1815, allocations: 34.5 kB / 0.5889 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.1815, allocations: 0 / 0.5889 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006926/0.1822, allocations: 209.1 kB / 0.5891 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1822, allocations: 55.39 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1824, allocations: 169.5 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1824, allocations: 29.7 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.1825, allocations: 108.4 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1826, allocations: 39.45 kB / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.1826, allocations: 49.7 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1828, allocations: 326.8 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.183, allocations: 75.88 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.1833, allocations: 116.9 kB / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.1837, allocations: 171.3 kB / 0.5902 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1837, allocations: 0 / 0.5902 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005861/0.1843, allocations: 240.7 kB / 0.5905 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1843, allocations: 11.94 kB / 0.5905 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1843, allocations: 0 / 0.5905 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1844, allocations: 0 / 0.5905 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.1846, allocations: 63.89 kB / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1846, allocations: 96 / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1848, allocations: 35.77 kB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.1848, allocations: 4 kB / 0.5906 GB, free: 13.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.1849, allocations: 129.8 kB / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.185, allocations: 15.75 kB / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.1855, allocations: 178.9 kB / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1855, allocations: 0 / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1855, allocations: 0 / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1855, allocations: 0 / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.1857, allocations: 225.4 kB / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1858, allocations: 0 / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.1859, allocations: 35.91 kB / 0.5911 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1859, allocations: 3.938 kB / 0.5911 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1859, allocations: 0 / 0.5911 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.186, allocations: 8 kB / 0.5911 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.186, allocations: 3.938 kB / 0.5911 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.1864, allocations: 251.3 kB / 0.5914 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/0.1865, allocations: 100.8 kB / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1865, allocations: 3.984 kB / 0.5915 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1867, allocations: 19.98 kB / 0.5915 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.1867, allocations: 7.984 kB / 0.5915 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1868, allocations: 4 kB / 0.5915 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.135e-05/0.1869, allocations: 117.6 kB / 0.5916 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.244e-06/0.1869, allocations: 0 / 0.5916 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003448/0.1872, allocations: 64 kB / 0.5917 GB, free: 12.38 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 (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.0003048/0.1875, allocations: 147.2 kB / 0.5918 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005346/0.1881, allocations: 183.9 kB / 0.592 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1881, allocations: 0 / 0.592 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.1883, allocations: 67.89 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1887, allocations: 25.61 kB / 0.5921 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.1892, allocations: 253.2 kB / 0.5923 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1895, allocations: 0.7045 MB / 0.593 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.1896, allocations: 21.06 kB / 0.593 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.1897, allocations: 23.44 kB / 0.5931 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1897, allocations: 0 / 0.5931 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.006169/0.1959, allocations: 2.715 MB / 0.5957 GB, free: 8.223 MB / 0.4981 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)