Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001655/0.001655, allocations: 182.5 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.515/1.515, allocations: 194.3 MB / 208.4 MB, free: 6.695 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001751/0.001751, allocations: 110.3 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.121e-05, allocations: 0 / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0719/0.07194, allocations: 44.49 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.288/6.36, allocations: 2.576 GB / 2.917 GB, free: 99.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/6.36, allocations: 86.02 kB / 2.917 GB, free: 99.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.465/7.825, allocations: 429.7 MB / 3.337 GB, free: 36.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/7.825, allocations: 0 / 3.337 GB, free: 36.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.73e-05/7.825, allocations: 7.5 kB / 3.337 GB, free: 36.25 MB / 410.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.004435/7.83, allocations: 1.206 MB / 3.338 GB, free: 35.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/7.83, allocations: 7.781 kB / 3.338 GB, free: 35.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/7.831, allocations: 161.7 kB / 3.338 GB, free: 35.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/7.832, allocations: 317.4 kB / 3.339 GB, free: 35.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/7.832, allocations: 23.41 kB / 3.339 GB, free: 35.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/7.832, allocations: 31.89 kB / 3.339 GB, free: 35.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/7.833, allocations: 0.5412 MB / 3.339 GB, free: 34.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/7.833, allocations: 0.6875 kB / 3.339 GB, free: 34.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/7.833, allocations: 16 kB / 3.339 GB, free: 34.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/7.833, allocations: 11.95 kB / 3.339 GB, free: 34.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/7.834, allocations: 337.3 kB / 3.339 GB, free: 34.22 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0024/7.836, allocations: 2.557 MB / 3.342 GB, free: 31.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/7.837, allocations: 297.4 kB / 3.342 GB, free: 31.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/7.837, allocations: 110.2 kB / 3.342 GB, free: 31.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05372/7.891, allocations: 30.88 MB / 3.372 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.378e-05/7.891, allocations: 34.55 kB / 3.373 GB, free: 13.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 4.679e-06/7.891, allocations: 0 / 3.373 GB, free: 13.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004104/7.895, allocations: 1.093 MB / 3.374 GB, free: 11.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/7.895, allocations: 59.39 kB / 3.374 GB, free: 11.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/7.895, allocations: 230.8 kB / 3.374 GB, free: 11.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/7.895, allocations: 33.64 kB / 3.374 GB, free: 11.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/7.895, allocations: 194.9 kB / 3.374 GB, free: 11.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/7.896, allocations: 112.4 kB / 3.374 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/7.896, allocations: 8 kB / 3.374 GB, free: 11.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/7.896, allocations: 346.8 kB / 3.375 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/7.896, allocations: 88.88 kB / 3.375 GB, free: 10.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/7.896, allocations: 199 kB / 3.375 GB, free: 10.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/7.896, allocations: 132.9 kB / 3.375 GB, free: 10.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/7.896, allocations: 0 / 3.375 GB, free: 10.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008012/7.897, allocations: 410.5 kB / 3.375 GB, free: 10.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/7.897, allocations: 8 kB / 3.375 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/7.897, allocations: 0.5 kB / 3.375 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003158/7.898, allocations: 65.69 kB / 3.375 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/7.898, allocations: 91.83 kB / 3.375 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/7.9, allocations: 2.422 MB / 3.378 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/7.9, allocations: 28.23 kB / 3.378 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/7.9, allocations: 16 kB / 3.378 GB, free: 7.223 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0001639/7.9, allocations: 133.3 kB / 3.378 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.979e-05/7.9, allocations: 35.61 kB / 3.378 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/7.902, allocations: 0.8705 MB / 3.379 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/7.902, allocations: 15.98 kB / 3.379 GB, free: 6.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/7.902, allocations: 0 / 3.379 GB, free: 6.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001003/7.903, allocations: 1.038 MB / 3.38 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/7.905, allocations: 1.485 MB / 3.381 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/7.905, allocations: 0 / 3.381 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/7.905, allocations: 47.98 kB / 3.381 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003713/7.906, allocations: 76.7 kB / 3.381 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/7.906, allocations: 11.98 kB / 3.382 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004687/7.906, allocations: 0.5914 MB / 3.382 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/7.906, allocations: 0 / 3.382 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/7.907, allocations: 0.8121 MB / 3.383 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/7.907, allocations: 144.4 kB / 3.383 GB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/7.908, allocations: 8 kB / 3.383 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/7.908, allocations: 39.94 kB / 3.383 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/7.908, allocations: 27.84 kB / 3.383 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/7.908, allocations: 12 kB / 3.383 GB, free: 1.652 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003084/7.908, allocations: 234.2 kB / 3.383 GB, free: 1.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/7.908, allocations: 0 / 3.383 GB, free: 1.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005325/7.914, allocations: 0.8937 MB / 3.384 GB, free: 0.5273 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.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.2772/8.191, allocations: 1.32 MB / 3.385 GB, free: 67.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/8.192, allocations: 488.7 kB / 3.386 GB, free: 67.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/8.192, allocations: 3.781 kB / 3.386 GB, free: 67.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/8.193, allocations: 235.5 kB / 3.386 GB, free: 67.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/8.194, allocations: 176.2 kB / 3.386 GB, free: 67.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/8.195, allocations: 0.7239 MB / 3.387 GB, free: 67.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/8.196, allocations: 0.8299 MB / 3.388 GB, free: 66.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004732/8.196, allocations: 193.7 kB / 3.388 GB, free: 66.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/8.196, allocations: 33.38 kB / 3.388 GB, free: 66.54 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/8.196, allocations: 0 / 3.388 GB, free: 66.54 MB / 426.7 MB Notification: Performance of Templates: time 0.04957/8.246, allocations: 31.63 MB / 3.419 GB, free: 66.11 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)