Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006978/0.006978, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.001334/0.001334, allocations: 198.2 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 46.25 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1354, allocations: 46.63 MB / 373.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0179/0.1534, allocations: 12.86 MB / 386.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1559, allocations: 1.697 MB / 387.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1561, allocations: 4 kB / 387.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005683/0.1567, allocations: 170.9 kB / 387.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005783/0.1573, allocations: 314.2 kB / 388.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1583, allocations: 415.1 kB / 388.7 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008698/0.1592, allocations: 0.8212 MB / 389.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.1594, allocations: 96.69 kB / 389.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005924/0.16, allocations: 402.6 kB / 390 MB, free: 456 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.1604, allocations: 263 kB / 390.2 MB, free: 192 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.1604, allocations: 28 kB / 390.2 MB, free: 164 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.1606, allocations: 99.8 kB / 390.3 MB, free: 64 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1608, allocations: 103.7 kB / 390.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.1609, allocations: 179.3 kB / 390.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004935/0.1614, allocations: 474.5 kB / 391.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1615, allocations: 0 / 391.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1615, allocations: 0 / 391.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1615, allocations: 0 / 391.1 MB, free: 15.32 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000824/0.1623, allocations: 0.5849 MB / 391.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1624, allocations: 11.89 kB / 391.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.1627, allocations: 40.56 kB / 391.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.1632, allocations: 299.6 kB / 392 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1632, allocations: 16.88 kB / 392 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.1633, allocations: 24.38 kB / 392.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.1638, allocations: 329.5 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1638, allocations: 0 / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.1638, allocations: 12 kB / 392.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1639, allocations: 12 kB / 392.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.1642, allocations: 193.5 kB / 392.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.1662, allocations: 1.728 MB / 394.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.1664, allocations: 134.5 kB / 394.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1665, allocations: 68.88 kB / 394.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.1667, allocations: 166.2 kB / 394.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1667, allocations: 38.56 kB / 394.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.1667, allocations: 0 / 394.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001825/0.1686, allocations: 0.8001 MB / 395.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1686, allocations: 55.41 kB / 395.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.1689, allocations: 278.5 kB / 395.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1689, allocations: 33.7 kB / 395.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1691, allocations: 191.6 kB / 396.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.1691, allocations: 78.84 kB / 396.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.1692, allocations: 69.59 kB / 396.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1694, allocations: 338.8 kB / 396.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1695, allocations: 67.97 kB / 396.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.1697, allocations: 183.2 kB / 396.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.1701, allocations: 291.2 kB / 397.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1701, allocations: 0 / 397.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005185/0.1706, allocations: 334.3 kB / 397.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1706, allocations: 12.06 kB / 397.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1706, allocations: 4 kB / 397.4 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.1707, allocations: 28.73 kB / 397.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.1711, allocations: 83.89 kB / 397.5 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.1723, allocations: 1.386 MB / 398.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.1725, allocations: 8 kB / 398.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.1726, allocations: 27.94 kB / 398.9 MB, free: 6.746 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.1727, allocations: 157.6 kB / 399.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.1728, allocations: 31.75 kB / 399.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.1732, allocations: 204.6 kB / 399.3 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1732, allocations: 4 kB / 399.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1732, allocations: 0 / 399.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004519/0.1736, allocations: 487.7 kB / 399.8 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.1748, allocations: 0.7798 MB / 400.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1748, allocations: 0 / 400.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.175, allocations: 39.98 kB / 400.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.175, allocations: 4.281 kB / 400.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.175, allocations: 19.92 kB / 400.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.175, allocations: 7.938 kB / 400.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.175, allocations: 0 / 400.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.1755, allocations: 399.5 kB / 401 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.423e-05/0.1756, allocations: 108.7 kB / 401.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.1756, allocations: 8 kB / 401.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1758, allocations: 8 kB / 401.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1759, allocations: 19.98 kB / 401.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.1759, allocations: 19.98 kB / 401.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.1761, allocations: 197.9 kB / 401.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1761, allocations: 3.938 kB / 401.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.1766, allocations: 104 kB / 401.5 MB, free: 3.906 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * 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 (21): * Single equations (assignments): 21 * 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.0002481/0.1768, allocations: 135.2 kB / 401.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004987/0.1773, allocations: 306.4 kB / 401.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1774, allocations: 0 / 401.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1775, allocations: 81.28 kB / 402 MB, free: 3.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.1784, allocations: 165.1 kB / 402.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1795, allocations: 0.6176 MB / 402.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1799, allocations: 0.7639 MB / 403.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.1801, allocations: 60.19 kB / 403.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.1802, allocations: 31.38 kB / 403.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1802, allocations: 0 / 403.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of Templates: time 0.01042/0.1906, allocations: 5.708 MB / 409.4 MB, free: 11.94 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)