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.001466/0.001466, allocations: 100.9 kB / 16.5 MB, free: 6.648 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.001426/0.001426, allocations: 195 kB / 17.42 MB, free: 6.062 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.582/1.582, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001149/0.001149, allocations: 43.94 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09719, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03393/0.1312, allocations: 33.25 MB / 359.2 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01836/0.1496, allocations: 16.67 MB / 375.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.1499, allocations: 4 kB / 375.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.1507, allocations: 234.8 kB / 376.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006377/0.1514, allocations: 346.2 kB / 376.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2052/0.3566, allocations: 4.671 MB / 381.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.3586, allocations: 1.451 MB / 382.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.3589, allocations: 86.05 kB / 382.7 MB, free: 12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005323/0.3642, allocations: 2.132 MB / 384.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007159/0.3649, allocations: 315.6 kB / 385.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.128e-05/0.365, allocations: 20.09 kB / 385.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/0.3766, allocations: 6.003 MB / 391.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.3769, allocations: 94.72 kB / 391.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005121/0.3774, allocations: 207.3 kB / 391.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.3878, allocations: 3.8 MB / 395.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3878, allocations: 0 / 395.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3879, allocations: 5.297 kB / 395.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3879, allocations: 0 / 395.2 MB, free: 11.26 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.003022/0.3909, allocations: 0.9887 MB / 396.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.391, allocations: 8.125 kB / 396.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3923, allocations: 151.9 kB / 396.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.3926, allocations: 313.3 kB / 396.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.3927, allocations: 27.25 kB / 396.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.3927, allocations: 30.72 kB / 396.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3938, allocations: 0.5169 MB / 397.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3938, allocations: 2.812 kB / 397.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.3938, allocations: 14.94 kB / 397.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3938, allocations: 9.188 kB / 397.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.3944, allocations: 329.7 kB / 397.6 MB, free: 9.988 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.002277/0.3967, allocations: 2.551 MB / 400.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.3972, allocations: 272.3 kB / 400.4 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.3974, allocations: 110.8 kB / 400.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05856/0.4559, allocations: 30.9 MB / 431.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.456, allocations: 42.75 kB / 431.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/0.456, allocations: 0 / 431.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00348/0.4595, allocations: 1.198 MB / 432.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.4596, allocations: 62.02 kB / 432.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.4599, allocations: 258.3 kB / 433 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.4599, allocations: 38.7 kB / 433 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.4601, allocations: 184.2 kB / 433.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.4602, allocations: 103.5 kB / 433.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.4603, allocations: 83.41 kB / 433.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4605, allocations: 333.8 kB / 433.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4606, allocations: 95.08 kB / 433.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.4609, allocations: 218 kB / 434 MB, free: 8.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.4613, allocations: 352.5 kB / 434.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4613, allocations: 0 / 434.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006626/0.462, allocations: 411.8 kB / 434.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.462, allocations: 11.44 kB / 434.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.462, allocations: 4 kB / 434.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.4623, allocations: 64.88 kB / 434.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.4627, allocations: 87.02 kB / 434.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.4643, allocations: 2.426 MB / 437.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.4646, allocations: 32.42 kB / 437.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.4646, allocations: 22.12 kB / 437.4 MB, free: 5.258 MB / 350.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.0001772/0.4648, allocations: 164.8 kB / 437.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.4649, allocations: 31.7 kB / 437.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009443/0.4658, allocations: 0.8596 MB / 438.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4659, allocations: 18.48 kB / 438.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.4659, allocations: 0 / 438.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008922/0.4668, allocations: 1.045 MB / 439.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.4684, allocations: 1.488 MB / 441 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4684, allocations: 0 / 441 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.4686, allocations: 53.75 kB / 441.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.4689, allocations: 73.36 kB / 441.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.469, allocations: 11.62 kB / 441.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003393/0.4693, allocations: 0.5886 MB / 441.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4693, allocations: 4.031 kB / 441.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009261/0.4703, allocations: 0.8225 MB / 442.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.4704, allocations: 116.6 kB / 442.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.4704, allocations: 19.83 kB / 442.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.4708, allocations: 32.03 kB / 442.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.4708, allocations: 11.98 kB / 442.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.4708, allocations: 19.98 kB / 442.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000264/0.4711, allocations: 235 kB / 443 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.4711, allocations: 4 kB / 443 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002989/0.4741, allocations: 0.8526 MB / 443.8 MB, free: 15.74 MB / 366.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.00375/0.4779, allocations: 0.9694 MB / 444.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009375/0.4788, allocations: 485.8 kB / 445.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4788, allocations: 0 / 445.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.4792, allocations: 254.7 kB / 445.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4803, allocations: 185.3 kB / 445.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.4818, allocations: 1.148 MB / 446.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.4822, allocations: 0.8289 MB / 447.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.4826, allocations: 181.6 kB / 447.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.4827, allocations: 35.44 kB / 447.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4827, allocations: 0 / 447.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of Templates: time 0.04373/0.5264, allocations: 34.46 MB / 482.4 MB, free: 9.359 MB / 398.1 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)