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.001164/0.001164, allocations: 180.7 kB / 16.38 MB, free: 5.766 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.293/1.293, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001626/0.001626, allocations: 116.8 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 11.98 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07789/0.07825, allocations: 44.49 MB / 355.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.571/4.649, allocations: 2.576 GB / 2.923 GB, free: 48.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/4.65, allocations: 89.12 kB / 2.923 GB, free: 48.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.572/6.221, allocations: 431 MB / 3.344 GB, free: 35.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/6.222, allocations: 0 / 3.344 GB, free: 35.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.574e-05/6.222, allocations: 10 kB / 3.344 GB, free: 35.31 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.005549/6.227, allocations: 1.239 MB / 3.345 GB, free: 34.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/6.227, allocations: 9.75 kB / 3.345 GB, free: 34.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/6.229, allocations: 164.3 kB / 3.345 GB, free: 34.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/6.229, allocations: 312.3 kB / 3.345 GB, free: 34.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/6.229, allocations: 26.89 kB / 3.345 GB, free: 34.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/6.229, allocations: 29.38 kB / 3.345 GB, free: 34.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/6.231, allocations: 0.5249 MB / 3.346 GB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/6.231, allocations: 0 / 3.346 GB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/6.231, allocations: 14.47 kB / 3.346 GB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/6.231, allocations: 6.812 kB / 3.346 GB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/6.231, allocations: 331.4 kB / 3.346 GB, free: 34.32 MB / 410.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.002779/6.234, allocations: 2.564 MB / 3.349 GB, free: 32.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/6.235, allocations: 277.6 kB / 3.349 GB, free: 32.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0564/6.291, allocations: 30.75 MB / 3.379 GB, free: 30.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/6.291, allocations: 33.81 kB / 3.379 GB, free: 30.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.414e-06/6.291, allocations: 0 / 3.379 GB, free: 30.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003735/6.295, allocations: 1.217 MB / 3.38 GB, free: 29.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/6.295, allocations: 51.41 kB / 3.38 GB, free: 29.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/6.295, allocations: 241.1 kB / 3.381 GB, free: 29.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/6.296, allocations: 32.3 kB / 3.381 GB, free: 29.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/6.296, allocations: 187.4 kB / 3.381 GB, free: 29.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/6.296, allocations: 110.9 kB / 3.381 GB, free: 29.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/6.296, allocations: 5.875 kB / 3.381 GB, free: 29.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/6.296, allocations: 341.6 kB / 3.381 GB, free: 28.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/6.296, allocations: 95.11 kB / 3.381 GB, free: 28.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/6.296, allocations: 212.6 kB / 3.381 GB, free: 28.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/6.297, allocations: 126.4 kB / 3.382 GB, free: 28.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/6.297, allocations: 3.953 kB / 3.382 GB, free: 28.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006758/6.297, allocations: 416.2 kB / 3.382 GB, free: 28.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/6.297, allocations: 7.812 kB / 3.382 GB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/6.297, allocations: 7.906 kB / 3.382 GB, free: 28.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/6.298, allocations: 59 kB / 3.382 GB, free: 28.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/6.298, allocations: 90.45 kB / 3.382 GB, free: 28.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/6.3, allocations: 2.436 MB / 3.385 GB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/6.3, allocations: 23.44 kB / 3.385 GB, free: 26.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/6.3, allocations: 18.97 kB / 3.385 GB, free: 26.28 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): 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.000239/6.3, allocations: 175 kB / 3.385 GB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/6.3, allocations: 31.42 kB / 3.385 GB, free: 26.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009054/6.301, allocations: 0.8704 MB / 3.386 GB, free: 26.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/6.301, allocations: 6.375 kB / 3.386 GB, free: 26.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/6.301, allocations: 3.609 kB / 3.386 GB, free: 26.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008568/6.302, allocations: 1.042 MB / 3.387 GB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/6.304, allocations: 1.494 MB / 3.388 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/6.304, allocations: 4 kB / 3.388 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/6.304, allocations: 54.59 kB / 3.388 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003159/6.304, allocations: 70.53 kB / 3.388 GB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/6.304, allocations: 7.125 kB / 3.388 GB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003972/6.305, allocations: 0.5986 MB / 3.389 GB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/6.305, allocations: 0 / 3.389 GB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009173/6.306, allocations: 0.8153 MB / 3.39 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/6.306, allocations: 145.3 kB / 3.39 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/6.306, allocations: 10.31 kB / 3.39 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/6.306, allocations: 37.52 kB / 3.39 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/6.306, allocations: 27.03 kB / 3.39 GB, free: 24.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/6.306, allocations: 16.92 kB / 3.39 GB, free: 24.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002718/6.307, allocations: 241.1 kB / 3.39 GB, free: 24.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/6.307, allocations: 0 / 3.39 GB, free: 24.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00543/6.312, allocations: 0.8842 MB / 3.391 GB, free: 24.07 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 () * Number of clocked 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.004873/6.317, allocations: 1.319 MB / 3.392 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009433/6.318, allocations: 480 kB / 3.393 GB, free: 23.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/6.318, allocations: 1 kB / 3.393 GB, free: 23.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/6.318, allocations: 250.8 kB / 3.393 GB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008797/6.319, allocations: 178.6 kB / 3.393 GB, free: 23.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/6.321, allocations: 1.195 MB / 3.394 GB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/6.321, allocations: 0.8276 MB / 3.395 GB, free: 22.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003963/6.322, allocations: 184.5 kB / 3.395 GB, free: 22.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/6.322, allocations: 37.41 kB / 3.395 GB, free: 22.31 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/6.322, allocations: 0 / 3.395 GB, free: 22.31 MB / 426.7 MB Notification: Performance of Templates: time 0.03723/6.359, allocations: 29.69 MB / 3.424 GB, free: 20.46 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)