Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005874/0.005874, allocations: 102 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 191.4 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 53.42 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09181, allocations: 46.63 MB / 373.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03623/0.1281, allocations: 32.57 MB / 405.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01813/0.1463, allocations: 15.73 MB / 421.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.1468, allocations: 4 kB / 421.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008206/0.1476, allocations: 262.4 kB / 421.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008994/0.1485, allocations: 369.9 kB / 422.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01507/0.1636, allocations: 5.772 MB / 427.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.165, allocations: 1.021 MB / 428.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.1652, allocations: 113 kB / 429 MB, free: 9.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005131/0.1703, allocations: 2.193 MB / 431.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.1708, allocations: 306.8 kB / 431.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.1708, allocations: 40 kB / 431.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.1819, allocations: 6.08 MB / 437.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.1821, allocations: 107.7 kB / 437.8 MB, free: 500 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.1825, allocations: 231.2 kB / 438 MB, free: 268 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008526/0.191, allocations: 3.797 MB / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.1911, allocations: 0 / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1911, allocations: 0 / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1911, allocations: 0 / 441.8 MB, free: 12.46 MB / 382.1 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.002246/0.1934, allocations: 0.9905 MB / 442.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1934, allocations: 12.02 kB / 442.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.1948, allocations: 144.3 kB / 442.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.1953, allocations: 339.5 kB / 443.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.1954, allocations: 25.03 kB / 443.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.1954, allocations: 28.38 kB / 443.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.1967, allocations: 0.5151 MB / 443.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1967, allocations: 0 / 443.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.1968, allocations: 16 kB / 443.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.1968, allocations: 11.98 kB / 443.9 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.1974, allocations: 329.8 kB / 444.2 MB, free: 9.941 MB / 382.1 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.002781/0.2002, allocations: 2.546 MB / 446.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.2008, allocations: 278.7 kB / 447 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.201, allocations: 116.8 kB / 447.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2678/0.4688, allocations: 31.01 MB / 478.1 MB, free: 57.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.4688, allocations: 38.48 kB / 478.2 MB, free: 57.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 3.286e-06/0.4689, allocations: 4 kB / 478.2 MB, free: 57.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.003098/0.472, allocations: 1.192 MB / 479.3 MB, free: 57.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.472, allocations: 51.41 kB / 479.4 MB, free: 56.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.4722, allocations: 266.4 kB / 479.7 MB, free: 56.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.4723, allocations: 29.7 kB / 479.7 MB, free: 56.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.4723, allocations: 199 kB / 479.9 MB, free: 56.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.4724, allocations: 113 kB / 480 MB, free: 56.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.4725, allocations: 73.47 kB / 480.1 MB, free: 56.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.4725, allocations: 341.8 kB / 480.4 MB, free: 56.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.4727, allocations: 95.73 kB / 480.5 MB, free: 56.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4729, allocations: 216.5 kB / 480.7 MB, free: 55.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.4732, allocations: 336.2 kB / 481 MB, free: 55.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4732, allocations: 0 / 481 MB, free: 55.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005556/0.4738, allocations: 420 kB / 481.4 MB, free: 55.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4738, allocations: 7.25 kB / 481.4 MB, free: 55.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4738, allocations: 5.531 kB / 481.5 MB, free: 55.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.4741, allocations: 63.78 kB / 481.5 MB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.4744, allocations: 85.95 kB / 481.6 MB, free: 55.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.4755, allocations: 2.528 MB / 484.1 MB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.4757, allocations: 14.19 kB / 484.1 MB, free: 52.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.4758, allocations: 24.61 kB / 484.2 MB, free: 52.73 MB / 382.1 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.4759, allocations: 165.3 kB / 484.3 MB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.476, allocations: 36.25 kB / 484.4 MB, free: 52.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008527/0.4769, allocations: 0.8554 MB / 485.2 MB, free: 52.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.4769, allocations: 11.98 kB / 485.2 MB, free: 52.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.4769, allocations: 4 kB / 485.2 MB, free: 52.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006424/0.4775, allocations: 1.04 MB / 486.3 MB, free: 50.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.4788, allocations: 1.486 MB / 487.8 MB, free: 49.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4788, allocations: 4 kB / 487.8 MB, free: 49.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.479, allocations: 58.64 kB / 487.8 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/0.4793, allocations: 72.8 kB / 487.9 MB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.4793, allocations: 8 kB / 487.9 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002252/0.4795, allocations: 0.5912 MB / 488.5 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4796, allocations: 3.984 kB / 488.5 MB, free: 48.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.4803, allocations: 0.821 MB / 489.3 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.4804, allocations: 108.7 kB / 489.4 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.4804, allocations: 15.84 kB / 489.4 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.4807, allocations: 27.92 kB / 489.5 MB, free: 47.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.4807, allocations: 23.91 kB / 489.5 MB, free: 47.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.4808, allocations: 15.98 kB / 489.5 MB, free: 47.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.481, allocations: 235.1 kB / 489.7 MB, free: 47.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.481, allocations: 0 / 489.7 MB, free: 47.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00217/0.4831, allocations: 0.8576 MB / 490.6 MB, free: 46.52 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002916/0.4861, allocations: 0.9609 MB / 491.6 MB, free: 45.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007736/0.4868, allocations: 500 kB / 492 MB, free: 45.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4869, allocations: 4 kB / 492 MB, free: 45.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.4872, allocations: 244.3 kB / 492.3 MB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000998/0.4882, allocations: 192.3 kB / 492.5 MB, free: 44.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.4894, allocations: 0.9824 MB / 493.5 MB, free: 43.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.4896, allocations: 0.825 MB / 494.3 MB, free: 42.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002918/0.4899, allocations: 172.1 kB / 494.4 MB, free: 42.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.49, allocations: 35.44 kB / 494.5 MB, free: 42.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.49, allocations: 0 / 494.5 MB, free: 42.77 MB / 382.1 MB Notification: Performance of Templates: time 0.03505/0.525, allocations: 34.85 MB / 0.5169 GB, free: 7.906 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)