Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 188.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 98.12 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004011, allocations: 8 kB / 327 MB, free: 168 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3222, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.909/8.231, allocations: 2.74 GB / 3.106 GB, free: 55.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/8.232, allocations: 103.5 kB / 3.106 GB, free: 55.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.515/9.747, allocations: 295.4 MB / 3.394 GB, free: 61.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/9.747, allocations: 0 / 3.394 GB, free: 61.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.266e-05/9.747, allocations: 6.094 kB / 3.394 GB, free: 61.27 MB / 426.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.003257/9.75, allocations: 0.9392 MB / 3.395 GB, free: 60.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/9.75, allocations: 10.97 kB / 3.395 GB, free: 60.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/9.751, allocations: 89 kB / 3.395 GB, free: 60.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/9.752, allocations: 298.8 kB / 3.396 GB, free: 60.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/9.752, allocations: 23.3 kB / 3.396 GB, free: 60.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/9.752, allocations: 33.06 kB / 3.396 GB, free: 60.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/9.753, allocations: 448.7 kB / 3.396 GB, free: 60.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/9.753, allocations: 5.656 kB / 3.396 GB, free: 60.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.646e-05/9.753, allocations: 14.94 kB / 3.396 GB, free: 60.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/9.753, allocations: 7.125 kB / 3.396 GB, free: 60.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008576/9.754, allocations: 315.1 kB / 3.397 GB, free: 60.05 MB / 426.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.003435/9.758, allocations: 2.631 MB / 3.399 GB, free: 57.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/9.758, allocations: 249.9 kB / 3.399 GB, free: 57.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04822/9.807, allocations: 15.33 MB / 3.414 GB, free: 48.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/9.807, allocations: 37.47 kB / 3.414 GB, free: 48.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.264e-06/9.807, allocations: 0 / 3.414 GB, free: 48.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.006162/9.813, allocations: 1.303 MB / 3.416 GB, free: 47.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/9.813, allocations: 55.38 kB / 3.416 GB, free: 47.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/9.813, allocations: 234.1 kB / 3.416 GB, free: 47.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/9.813, allocations: 33.61 kB / 3.416 GB, free: 47.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/9.814, allocations: 253.2 kB / 3.416 GB, free: 46.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/9.814, allocations: 104.3 kB / 3.416 GB, free: 46.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/9.814, allocations: 11.44 kB / 3.416 GB, free: 46.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/9.814, allocations: 322.5 kB / 3.417 GB, free: 46.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/9.814, allocations: 106.7 kB / 3.417 GB, free: 46.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/9.814, allocations: 213 kB / 3.417 GB, free: 46.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/9.815, allocations: 135.7 kB / 3.417 GB, free: 46.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/9.815, allocations: 7.875 kB / 3.417 GB, free: 46.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001074/9.816, allocations: 421.3 kB / 3.417 GB, free: 45.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/9.816, allocations: 11.28 kB / 3.417 GB, free: 45.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/9.816, allocations: 7.891 kB / 3.417 GB, free: 45.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006925/9.823, allocations: 256 kB / 3.418 GB, free: 45.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/9.823, allocations: 81.09 kB / 3.418 GB, free: 45.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/9.825, allocations: 1.882 MB / 3.42 GB, free: 44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/9.826, allocations: 23.95 kB / 3.42 GB, free: 44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/9.826, allocations: 21.44 kB / 3.42 GB, free: 43.99 MB / 426.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.000256/9.826, allocations: 164.9 kB / 3.42 GB, free: 43.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/9.826, allocations: 30.69 kB / 3.42 GB, free: 43.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/9.827, allocations: 0.9484 MB / 3.421 GB, free: 43.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/9.828, allocations: 11.75 kB / 3.421 GB, free: 43.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/9.828, allocations: 2.734 kB / 3.421 GB, free: 43.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001226/9.829, allocations: 1.115 MB / 3.422 GB, free: 42.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/9.831, allocations: 1.59 MB / 3.423 GB, free: 41.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/9.831, allocations: 0 / 3.423 GB, free: 41.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/9.832, allocations: 48.12 kB / 3.423 GB, free: 41.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003208/9.835, allocations: 290.3 kB / 3.424 GB, free: 41.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/9.835, allocations: 7.938 kB / 3.424 GB, free: 41.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006077/9.836, allocations: 0.6691 MB / 3.424 GB, free: 41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/9.836, allocations: 0 / 3.424 GB, free: 41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/9.837, allocations: 0.9507 MB / 3.425 GB, free: 40.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/9.837, allocations: 141.9 kB / 3.425 GB, free: 40.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/9.838, allocations: 15.89 kB / 3.425 GB, free: 40.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/9.838, allocations: 19.69 kB / 3.426 GB, free: 40.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/9.838, allocations: 18.95 kB / 3.426 GB, free: 40.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/9.838, allocations: 15.28 kB / 3.426 GB, free: 40.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003497/9.838, allocations: 233.8 kB / 3.426 GB, free: 40.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/9.838, allocations: 0 / 3.426 GB, free: 40.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002873/9.841, allocations: 0.5503 MB / 3.426 GB, free: 40.11 MB / 426.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.004299/9.846, allocations: 0.848 MB / 3.427 GB, free: 39.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/9.847, allocations: 0.5239 MB / 3.428 GB, free: 39.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/9.847, allocations: 0 / 3.428 GB, free: 39.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005974/9.848, allocations: 294.7 kB / 3.428 GB, free: 39.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/9.849, allocations: 173.4 kB / 3.428 GB, free: 39.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/9.851, allocations: 1.27 MB / 3.429 GB, free: 38.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/9.852, allocations: 0.8281 MB / 3.43 GB, free: 37.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/9.852, allocations: 41.81 kB / 3.43 GB, free: 37.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/9.852, allocations: 0 / 3.43 GB, free: 37.96 MB / 426.7 MB Notification: Performance of Templates: time 0.0348/9.887, allocations: 18.36 MB / 3.448 GB, free: 33.56 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)