Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009952/0.0009955, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001377/0.001377, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0005094/0.0005095, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2868, allocations: 47.57 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03169/0.3185, allocations: 30.12 MB / 356.6 MB, free: 5.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.3377, allocations: 14.64 MB / 371.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.3384, allocations: 4 kB / 371.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000939/0.3394, allocations: 214.8 kB / 371.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008634/0.3402, allocations: 334.2 kB / 371.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.016/0.3562, allocations: 4.449 MB / 376.2 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.3581, allocations: 1.215 MB / 377.4 MB, free: 444 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.3584, allocations: 81.02 kB / 377.5 MB, free: 360 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007066/0.3654, allocations: 3.317 MB / 380.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006874/0.3662, allocations: 294.9 kB / 381.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-05/0.3663, allocations: 20 kB / 381.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/0.3801, allocations: 5.81 MB / 387 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.3804, allocations: 79.77 kB / 387 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.3807, allocations: 109.5 kB / 387.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00664/0.3873, allocations: 2.592 MB / 389.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.3874, allocations: 0 / 389.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.3874, allocations: 0 / 389.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.3874, allocations: 0 / 389.7 MB, free: 4.117 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.003161/0.3906, allocations: 0.9084 MB / 390.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.55e-05/0.3907, allocations: 8.031 kB / 390.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.3922, allocations: 163.4 kB / 390.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.3929, allocations: 310.5 kB / 391.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.393, allocations: 32.61 kB / 391.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.393, allocations: 32 kB / 391.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3944, allocations: 0.5229 MB / 391.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.3944, allocations: 0 / 391.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/0.3945, allocations: 12 kB / 391.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.3945, allocations: 12 kB / 391.7 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/0.3953, allocations: 325.9 kB / 392 MB, free: 1.68 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.003573/0.3989, allocations: 2.569 MB / 394.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.3995, allocations: 270.8 kB / 394.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.3998, allocations: 120.7 kB / 395 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06192/0.4617, allocations: 31.2 MB / 426.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.4618, allocations: 34.56 kB / 426.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.495e-06/0.4618, allocations: 0 / 426.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.003672/0.4655, allocations: 1.219 MB / 427.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.4655, allocations: 59.41 kB / 427.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.4658, allocations: 262.4 kB / 427.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.4659, allocations: 29.7 kB / 427.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.466, allocations: 188 kB / 428 MB, free: 9.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.4662, allocations: 110.4 kB / 428.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.4662, allocations: 8 kB / 428.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4664, allocations: 342.8 kB / 428.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.4667, allocations: 92.78 kB / 428.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.467, allocations: 210.9 kB / 428.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.4672, allocations: 127.9 kB / 428.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4673, allocations: 0 / 428.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007878/0.4681, allocations: 426.9 kB / 429.3 MB, free: 8.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4681, allocations: 7.953 kB / 429.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4681, allocations: 4 kB / 429.3 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.4684, allocations: 65.67 kB / 429.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.4688, allocations: 87.84 kB / 429.4 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.4707, allocations: 2.426 MB / 431.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.471, allocations: 27.89 kB / 431.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.471, allocations: 24.16 kB / 431.9 MB, free: 5.629 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 (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.0002722/0.4713, allocations: 161.7 kB / 432 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.4714, allocations: 27.72 kB / 432.1 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.4726, allocations: 0.8746 MB / 433 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.4726, allocations: 4 kB / 433 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4726, allocations: 3.953 kB / 433 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.4737, allocations: 1.045 MB / 434 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.4757, allocations: 1.485 MB / 435.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4757, allocations: 3.938 kB / 435.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.4759, allocations: 55.91 kB / 435.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/0.4763, allocations: 80.73 kB / 435.6 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.4763, allocations: 8 kB / 435.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004028/0.4768, allocations: 0.5991 MB / 436.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4768, allocations: 0 / 436.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.4778, allocations: 0.8198 MB / 437.1 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.4779, allocations: 136.6 kB / 437.2 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.478, allocations: 12 kB / 437.2 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.4784, allocations: 35.97 kB / 437.2 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.4784, allocations: 23.91 kB / 437.3 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/0.4785, allocations: 16.05 kB / 437.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003476/0.4789, allocations: 235 kB / 437.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4789, allocations: 0 / 437.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00357/0.4824, allocations: 0.8551 MB / 438.4 MB, free: 14.91 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 (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.004998/0.4875, allocations: 0.9663 MB / 439.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.4886, allocations: 484.2 kB / 439.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.4887, allocations: 4.062 kB / 439.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.4891, allocations: 248.4 kB / 440 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4902, allocations: 184.4 kB / 440.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.4922, allocations: 1.201 MB / 441.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.4927, allocations: 0.8211 MB / 442.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004931/0.4932, allocations: 186.9 kB / 442.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.4933, allocations: 31.44 kB / 442.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4933, allocations: 0 / 442.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Templates: time 0.2364/0.7297, allocations: 34.81 MB / 477.3 MB, free: 102.4 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)