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.001238/0.001238, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.419/1.419, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001165/0.001165, allocations: 59.91 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2085, allocations: 46.62 MB / 325.3 MB, free: 1.898 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03143/0.24, allocations: 32.57 MB / 357.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01714/0.2572, allocations: 15.73 MB / 373.6 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.2576, allocations: 4 kB / 373.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008114/0.2584, allocations: 266.4 kB / 373.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007142/0.2592, allocations: 362 kB / 374.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01478/0.274, allocations: 5.792 MB / 380 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.2754, allocations: 1.009 MB / 381 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.2757, allocations: 113 kB / 381.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005074/0.2808, allocations: 2.197 MB / 383.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.2812, allocations: 294.8 kB / 383.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/0.2813, allocations: 40 kB / 383.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.2914, allocations: 5.947 MB / 389.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.2916, allocations: 111.7 kB / 389.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.2919, allocations: 231.1 kB / 390 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005725/0.2976, allocations: 3.789 MB / 393.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2977, allocations: 0 / 393.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2977, allocations: 0 / 393.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2977, allocations: 0 / 393.7 MB, free: 15.28 MB / 334.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.001585/0.2993, allocations: 0.9981 MB / 394.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2993, allocations: 15.97 kB / 394.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.3005, allocations: 148.4 kB / 394.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.3009, allocations: 323.6 kB / 395.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3009, allocations: 21.03 kB / 395.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.301, allocations: 32.38 kB / 395.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.3021, allocations: 0.519 MB / 395.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3021, allocations: 7.938 kB / 395.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.3022, allocations: 16 kB / 395.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3022, allocations: 8 kB / 395.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.3028, allocations: 325.9 kB / 396.1 MB, free: 12.75 MB / 334.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.002844/0.3056, allocations: 2.553 MB / 398.7 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.3062, allocations: 282.7 kB / 399 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.3064, allocations: 112.8 kB / 399.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06404/0.3704, allocations: 30.9 MB / 430 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.3705, allocations: 38.5 kB / 430 MB, free: 7.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.3705, allocations: 0 / 430 MB, free: 7.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.003275/0.3738, allocations: 1.192 MB / 431.2 MB, free: 5.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.3738, allocations: 55.41 kB / 431.3 MB, free: 5.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.3741, allocations: 258.5 kB / 431.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.3741, allocations: 29.7 kB / 431.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3742, allocations: 196 kB / 431.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/0.3743, allocations: 106.5 kB / 431.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3744, allocations: 82.03 kB / 431.9 MB, free: 5.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3746, allocations: 342.7 kB / 432.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3747, allocations: 96.84 kB / 432.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.375, allocations: 210.9 kB / 432.6 MB, free: 4.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.3754, allocations: 338.3 kB / 432.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3754, allocations: 4 kB / 432.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006756/0.3761, allocations: 414.6 kB / 433.3 MB, free: 3.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3761, allocations: 11.98 kB / 433.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3761, allocations: 4 kB / 433.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.3764, allocations: 62.19 kB / 433.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.3767, allocations: 87.91 kB / 433.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.3782, allocations: 2.525 MB / 436 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.3784, allocations: 11.98 kB / 436 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.3784, allocations: 20 kB / 436 MB, free: 0.6172 MB / 366.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.0001624/0.3786, allocations: 165.7 kB / 436.2 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.3787, allocations: 27.72 kB / 436.2 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009898/0.3797, allocations: 0.8657 MB / 437.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.3797, allocations: 15.92 kB / 437.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3797, allocations: 4 kB / 437.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008857/0.3806, allocations: 1.036 MB / 438.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.3822, allocations: 1.489 MB / 439.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3822, allocations: 0 / 439.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.3824, allocations: 55.86 kB / 439.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.3828, allocations: 76.69 kB / 439.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3828, allocations: 8 kB / 439.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000338/0.3831, allocations: 0.5875 MB / 440.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3831, allocations: 3.938 kB / 440.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.3841, allocations: 0.8276 MB / 441.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.3842, allocations: 116.5 kB / 441.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.3843, allocations: 8 kB / 441.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.3846, allocations: 27.91 kB / 441.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.3846, allocations: 23.97 kB / 441.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.3846, allocations: 15.98 kB / 441.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.3849, allocations: 243.1 kB / 441.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3849, allocations: 0 / 441.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002231/0.3871, allocations: 0.8551 MB / 442.5 MB, free: 9.926 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.003422/0.3905, allocations: 0.967 MB / 443.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.3918, allocations: 0.4915 MB / 443.9 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3918, allocations: 0 / 443.9 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.3922, allocations: 253.3 kB / 444.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3933, allocations: 195.2 kB / 444.3 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3949, allocations: 0.9879 MB / 445.3 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3952, allocations: 0.8133 MB / 446.1 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003806/0.3956, allocations: 187 kB / 446.3 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.3957, allocations: 31.44 kB / 446.4 MB, free: 5.941 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3957, allocations: 0 / 446.4 MB, free: 5.941 MB / 382.1 MB Notification: Performance of Templates: time 0.17/0.5657, allocations: 34.85 MB / 481.2 MB, free: 97.14 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)