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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 92.55 kB / 16.3 MB, free: 6.457 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.001682/0.001683, allocations: 184.9 kB / 17.2 MB, free: 6.34 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.406/1.406, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.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.0005252/0.0005253, allocations: 15.44 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09726, allocations: 47.58 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02707/0.1244, allocations: 27.26 MB / 355 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01678/0.1412, allocations: 13.35 MB / 368.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005004/0.1418, allocations: 4 kB / 368.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008495/0.1426, allocations: 231 kB / 368.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006392/0.1433, allocations: 251.3 kB / 368.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01461/0.1579, allocations: 4.527 MB / 373.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.159, allocations: 0.5622 MB / 373.9 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1593, allocations: 80.94 kB / 374 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005587/0.1649, allocations: 3.286 MB / 377.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.1652, allocations: 191.2 kB / 377.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.1652, allocations: 16 kB / 377.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1927/0.3579, allocations: 5.929 MB / 383.4 MB, free: 16.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.3582, allocations: 86.47 kB / 383.5 MB, free: 16.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.3584, allocations: 102 kB / 383.6 MB, free: 16.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005342/0.3637, allocations: 2.584 MB / 386.2 MB, free: 16.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3638, allocations: 0 / 386.2 MB, free: 16.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3638, allocations: 0 / 386.2 MB, free: 16.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3638, allocations: 2.906 kB / 386.2 MB, free: 16.61 MB / 318.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.002964/0.3668, allocations: 0.9052 MB / 387.1 MB, free: 16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3668, allocations: 10.22 kB / 387.1 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.3682, allocations: 159 kB / 387.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.3686, allocations: 316.1 kB / 387.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3686, allocations: 22.06 kB / 387.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.3687, allocations: 32.31 kB / 387.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.3698, allocations: 0.5251 MB / 388.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3698, allocations: 1.125 kB / 388.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.3699, allocations: 16.42 kB / 388.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.3699, allocations: 8.75 kB / 388.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005908/0.3705, allocations: 322.3 kB / 388.5 MB, free: 15.65 MB / 318.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.002462/0.373, allocations: 2.579 MB / 391 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.3735, allocations: 269 kB / 391.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06165/0.4352, allocations: 31.21 MB / 422.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.4353, allocations: 34.44 kB / 422.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.876e-06/0.4353, allocations: 0 / 422.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.003464/0.4388, allocations: 1.225 MB / 423.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.4388, allocations: 55.41 kB / 423.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.4391, allocations: 260.5 kB / 424.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.4391, allocations: 30.7 kB / 424.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4392, allocations: 189.2 kB / 424.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.4393, allocations: 117.6 kB / 424.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.4393, allocations: 7.625 kB / 424.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4395, allocations: 338.2 kB / 424.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4396, allocations: 88.09 kB / 424.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.4399, allocations: 210.3 kB / 425 MB, free: 4.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.4401, allocations: 132.5 kB / 425.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4401, allocations: 0 / 425.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006479/0.4407, allocations: 412.5 kB / 425.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4408, allocations: 15.88 kB / 425.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4408, allocations: 7.953 kB / 425.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.4411, allocations: 63.25 kB / 425.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.4415, allocations: 85.39 kB / 425.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.443, allocations: 2.441 MB / 428.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.4433, allocations: 31.2 kB / 428.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.4433, allocations: 12 kB / 428.2 MB, free: 1.465 MB / 334.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 (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.000168/0.4435, allocations: 166.3 kB / 428.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.4435, allocations: 29.73 kB / 428.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000956/0.4445, allocations: 0.8712 MB / 429.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4445, allocations: 11.23 kB / 429.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.4445, allocations: 0 / 429.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008705/0.4454, allocations: 1.043 MB / 430.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.447, allocations: 1.485 MB / 431.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.447, allocations: 4 kB / 431.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.4472, allocations: 55.44 kB / 431.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003517/0.4476, allocations: 71.72 kB / 431.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.4476, allocations: 13.2 kB / 432 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003999/0.448, allocations: 0.5902 MB / 432.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.448, allocations: 6.891 kB / 432.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000864/0.4489, allocations: 0.8194 MB / 433.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.449, allocations: 138.7 kB / 433.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.4491, allocations: 3.75 kB / 433.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.4495, allocations: 46.61 kB / 433.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.4495, allocations: 14.92 kB / 433.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.4495, allocations: 19.73 kB / 433.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002555/0.4498, allocations: 236.5 kB / 433.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4498, allocations: 2.844 kB / 433.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004735/0.4546, allocations: 0.8573 MB / 434.7 MB, free: 12.27 MB / 350.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 (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.006138/0.4607, allocations: 0.967 MB / 435.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.4621, allocations: 479.8 kB / 436.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.4622, allocations: 1 kB / 436.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.4626, allocations: 244.3 kB / 436.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.4638, allocations: 194 kB / 436.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.466, allocations: 1.198 MB / 437.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.4665, allocations: 0.825 MB / 438.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000421/0.467, allocations: 178.5 kB / 438.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.467, allocations: 43.23 kB / 438.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.467, allocations: 0 / 438.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of Templates: time 0.0506/0.5177, allocations: 34.8 MB / 473.6 MB, free: 5.945 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: