Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00525/0.00525, allocations: 177.6 kB / 7.453 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.595/1.595, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001963/0.001963, allocations: 115.8 kB / 217.7 MB, free: 8.145 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.171e-05/1.174e-05, allocations: 4 kB / 261.8 MB, free: 26.62 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09439, allocations: 38.76 MB / 300.5 MB, free: 3.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.242, allocations: 428.2 MB / 0.7116 GB, free: 129.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.242, allocations: 83.41 kB / 0.7117 GB, free: 129.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.4934/1.736, allocations: 154.2 MB / 0.8623 GB, free: 72.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.382e-05/1.736, allocations: 9.594 kB / 0.8623 GB, free: 72.93 MB / 346.7 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.0009541/1.737, allocations: 0.5941 MB / 0.8629 GB, free: 72.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.737, allocations: 7.688 kB / 0.8629 GB, free: 72.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/1.737, allocations: 47.5 kB / 0.8629 GB, free: 72.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/1.738, allocations: 280.6 kB / 0.8632 GB, free: 72.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/1.738, allocations: 7.406 kB / 0.8632 GB, free: 72.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/1.738, allocations: 18.12 kB / 0.8632 GB, free: 72.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003769/1.738, allocations: 177.3 kB / 0.8634 GB, free: 72.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/1.738, allocations: 278.8 kB / 0.8636 GB, free: 72.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/1.738, allocations: 2.625 kB / 0.8636 GB, free: 72.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/1.738, allocations: 0 / 0.8636 GB, free: 72.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/1.738, allocations: 7.219 kB / 0.8636 GB, free: 72.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/1.74, allocations: 1.575 MB / 0.8652 GB, free: 71.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/1.74, allocations: 102.4 kB / 0.8653 GB, free: 71.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/1.74, allocations: 75.69 kB / 0.8653 GB, free: 71.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/1.74, allocations: 9.734 kB / 0.8654 GB, free: 71.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/1.74, allocations: 37.09 kB / 0.8654 GB, free: 71.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/1.74, allocations: 3.375 kB / 0.8654 GB, free: 71.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.004005/1.744, allocations: 0.9744 MB / 0.8663 GB, free: 70.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/1.744, allocations: 55.25 kB / 0.8664 GB, free: 70.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/1.745, allocations: 200.2 kB / 0.8666 GB, free: 70.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/1.745, allocations: 29.67 kB / 0.8666 GB, free: 70.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/1.745, allocations: 173 kB / 0.8668 GB, free: 70.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/1.745, allocations: 86.12 kB / 0.8669 GB, free: 70.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/1.745, allocations: 0 / 0.8669 GB, free: 70.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/1.745, allocations: 335.9 kB / 0.8672 GB, free: 69.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/1.745, allocations: 80.88 kB / 0.8673 GB, free: 69.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/1.745, allocations: 178.3 kB / 0.8674 GB, free: 69.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/1.745, allocations: 101.5 kB / 0.8675 GB, free: 69.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.746, allocations: 0 / 0.8675 GB, free: 69.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005956/1.746, allocations: 362.2 kB / 0.8679 GB, free: 69.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.746, allocations: 2.969 kB / 0.8679 GB, free: 69.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.746, allocations: 2.656 kB / 0.8679 GB, free: 69.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/1.746, allocations: 67.41 kB / 0.8679 GB, free: 69.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/1.747, allocations: 88.36 kB / 0.868 GB, free: 69.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/1.748, allocations: 1.81 MB / 0.8698 GB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/1.748, allocations: 14.5 kB / 0.8698 GB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/1.748, allocations: 39.28 kB / 0.8698 GB, free: 68.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.748, allocations: 120.1 kB / 0.87 GB, free: 67.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/1.748, allocations: 24.62 kB / 0.87 GB, free: 67.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009284/1.749, allocations: 391.3 kB / 0.8704 GB, free: 67.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.749, allocations: 5.188 kB / 0.8704 GB, free: 67.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.749, allocations: 0 / 0.8704 GB, free: 67.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005014/1.75, allocations: 0.5448 MB / 0.8709 GB, free: 67.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/1.751, allocations: 0.6505 MB / 0.8715 GB, free: 67.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.751, allocations: 0 / 0.8715 GB, free: 67.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/1.751, allocations: 79.59 kB / 0.8716 GB, free: 67.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.619e-05/1.752, allocations: 27.73 kB / 0.8716 GB, free: 67.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/1.752, allocations: 7.812 kB / 0.8716 GB, free: 67.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008284/1.752, allocations: 1.213 MB / 0.8728 GB, free: 65.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.752, allocations: 3.906 kB / 0.8728 GB, free: 65.91 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006137/1.753, allocations: 471.9 kB / 0.8733 GB, free: 65.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/1.753, allocations: 109.1 kB / 0.8734 GB, free: 65.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/1.753, allocations: 0 / 0.8734 GB, free: 65.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/1.753, allocations: 7.281 kB / 0.8734 GB, free: 65.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/1.754, allocations: 27.41 kB / 0.8734 GB, free: 65.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/1.754, allocations: 30.75 kB / 0.8734 GB, free: 65.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001666/1.754, allocations: 161 kB / 0.8736 GB, free: 65.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008136/1.755, allocations: 164.3 kB / 0.8738 GB, free: 65.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/1.756, allocations: 0.9089 MB / 0.8746 GB, free: 65.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006408/1.757, allocations: 328.4 kB / 0.875 GB, free: 65.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.757, allocations: 3.281 kB / 0.875 GB, free: 65.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/1.757, allocations: 212.3 kB / 0.8752 GB, free: 65.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/1.758, allocations: 113.4 kB / 0.8753 GB, free: 65.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/1.759, allocations: 484 kB / 0.8757 GB, free: 65.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/1.759, allocations: 0.8703 MB / 0.8766 GB, free: 64.3 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/1.759, allocations: 0 / 0.8766 GB, free: 64.3 MB / 346.7 MB Notification: Performance of Templates: time 0.02052/1.78, allocations: 12.38 MB / 0.8887 GB, free: 63.96 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)