Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009231/0.009231, allocations: 165.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.174/1.174, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.00159/0.00159, allocations: 114.5 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1989, allocations: 38.76 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.384/5.583, allocations: 2.465 GB / 2.77 GB, free: 75.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/5.584, allocations: 89.3 kB / 2.77 GB, free: 75.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045/6.629, allocations: 289.9 MB / 3.053 GB, free: 42.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.906e-06/6.629, allocations: 0 / 3.053 GB, free: 42.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/6.629, allocations: 11.75 kB / 3.053 GB, free: 42.31 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002897/6.632, allocations: 0.9237 MB / 3.054 GB, free: 41.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/6.632, allocations: 9.75 kB / 3.054 GB, free: 41.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/6.633, allocations: 79.28 kB / 3.054 GB, free: 41.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/6.633, allocations: 299 kB / 3.055 GB, free: 41.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/6.633, allocations: 33.39 kB / 3.055 GB, free: 41.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/6.633, allocations: 39.73 kB / 3.055 GB, free: 41.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007179/6.634, allocations: 431.6 kB / 3.055 GB, free: 41.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/6.634, allocations: 8.453 kB / 3.055 GB, free: 41.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/6.634, allocations: 16.69 kB / 3.055 GB, free: 41.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/6.634, allocations: 13.81 kB / 3.055 GB, free: 41.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/6.635, allocations: 314.9 kB / 3.056 GB, free: 41.52 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/6.637, allocations: 2.62 MB / 3.058 GB, free: 39.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/6.638, allocations: 253.1 kB / 3.058 GB, free: 39.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02962/6.667, allocations: 15.27 MB / 3.073 GB, free: 30.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/6.667, allocations: 38.38 kB / 3.073 GB, free: 30.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/6.667, allocations: 0 / 3.073 GB, free: 30.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.004087/6.671, allocations: 1.286 MB / 3.075 GB, free: 29.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/6.672, allocations: 59.23 kB / 3.075 GB, free: 29.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/6.672, allocations: 238.5 kB / 3.075 GB, free: 29.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/6.672, allocations: 33.27 kB / 3.075 GB, free: 29.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/6.672, allocations: 196.5 kB / 3.075 GB, free: 29.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/6.672, allocations: 111 kB / 3.075 GB, free: 29.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/6.672, allocations: 5.359 kB / 3.075 GB, free: 29.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.989e-05/6.672, allocations: 338.6 kB / 3.075 GB, free: 29.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/6.672, allocations: 103 kB / 3.076 GB, free: 29.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/6.672, allocations: 215 kB / 3.076 GB, free: 29.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/6.673, allocations: 137 kB / 3.076 GB, free: 29.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/6.673, allocations: 2.344 kB / 3.076 GB, free: 29.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006471/6.673, allocations: 437.8 kB / 3.076 GB, free: 28.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/6.673, allocations: 3.781 kB / 3.076 GB, free: 28.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/6.673, allocations: 5.094 kB / 3.076 GB, free: 28.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00386/6.677, allocations: 265.9 kB / 3.077 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/6.678, allocations: 82.52 kB / 3.077 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/6.679, allocations: 1.873 MB / 3.079 GB, free: 27.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/6.679, allocations: 32.16 kB / 3.079 GB, free: 27.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/6.679, allocations: 19.31 kB / 3.079 GB, free: 27.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002118/6.679, allocations: 164.4 kB / 3.079 GB, free: 27.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/6.679, allocations: 31.89 kB / 3.079 GB, free: 27.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/6.681, allocations: 0.9522 MB / 3.08 GB, free: 26.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/6.681, allocations: 9.031 kB / 3.08 GB, free: 26.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/6.681, allocations: 0 / 3.08 GB, free: 26.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008272/6.681, allocations: 1.12 MB / 3.081 GB, free: 26.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/6.683, allocations: 1.583 MB / 3.082 GB, free: 26.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/6.683, allocations: 7.125 kB / 3.082 GB, free: 26.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/6.683, allocations: 55.33 kB / 3.082 GB, free: 26.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/6.685, allocations: 283.9 kB / 3.083 GB, free: 26.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/6.685, allocations: 3.812 kB / 3.083 GB, free: 26.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003992/6.685, allocations: 0.672 MB / 3.083 GB, free: 25.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/6.685, allocations: 0 / 3.083 GB, free: 25.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/6.686, allocations: 0.9558 MB / 3.084 GB, free: 25.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/6.687, allocations: 136.3 kB / 3.084 GB, free: 25.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/6.687, allocations: 6.891 kB / 3.084 GB, free: 25.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/6.687, allocations: 27.47 kB / 3.084 GB, free: 25.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/6.687, allocations: 19.38 kB / 3.084 GB, free: 25.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/6.687, allocations: 7.766 kB / 3.084 GB, free: 25.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002395/6.687, allocations: 240.6 kB / 3.085 GB, free: 25.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/6.687, allocations: 0 / 3.085 GB, free: 25.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003044/6.69, allocations: 0.5409 MB / 3.085 GB, free: 25.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002915/6.693, allocations: 0.8457 MB / 3.086 GB, free: 24.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/6.694, allocations: 0.5165 MB / 3.087 GB, free: 24.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/6.694, allocations: 0 / 3.087 GB, free: 24.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/6.695, allocations: 295.7 kB / 3.087 GB, free: 24.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/6.696, allocations: 194.7 kB / 3.087 GB, free: 24.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/6.698, allocations: 1.216 MB / 3.088 GB, free: 24.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/6.699, allocations: 0.8298 MB / 3.089 GB, free: 39.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003296/6.699, allocations: 107.9 kB / 3.089 GB, free: 39.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/6.699, allocations: 35.34 kB / 3.089 GB, free: 39.59 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/6.699, allocations: 1.875 kB / 3.089 GB, free: 39.59 MB / 378.7 MB Notification: Performance of Templates: time 0.03103/6.73, allocations: 22.02 MB / 3.111 GB, free: 38.46 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)