Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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.008439/0.008439, allocations: 104.5 kB / 15.74 MB, free: 5.602 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.001785/0.001785, allocations: 189.2 kB / 16.67 MB, free: 5.527 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.508/1.508, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2228/0.2228, allocations: 39.96 MB / 309.9 MB, free: 3.996 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 71.89 kB / 435.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1603, allocations: 56.87 MB / 492.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3732/0.5335, allocations: 39.05 MB / 0.5193 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02598/0.5596, allocations: 20.15 MB / 0.5389 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.5607, allocations: 23.78 kB / 0.539 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.5622, allocations: 444.6 kB / 0.5394 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01892/0.5812, allocations: 5.108 MB / 0.5444 GB, free: 200 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008975/0.5902, allocations: 2.563 MB / 0.5469 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003434/0.5936, allocations: 1.992 MB / 0.5488 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008544/0.5945, allocations: 0.4969 MB / 0.5493 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009906/0.6044, allocations: 4.179 MB / 0.5534 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.615, allocations: 5.424 MB / 0.5587 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.6153, allocations: 73.75 kB / 0.5588 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01821/0.6335, allocations: 7.377 MB / 0.566 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007095/0.6343, allocations: 287.1 kB / 0.5662 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009168/0.6352, allocations: 454 kB / 0.5667 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.6507, allocations: 5.122 MB / 0.5717 GB, free: 12.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6507, allocations: 3.938 kB / 0.5717 GB, free: 12.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6508, allocations: 0 / 0.5717 GB, free: 12.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.6508, allocations: 0 / 0.5717 GB, free: 12.75 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004417/0.6552, allocations: 1.66 MB / 0.5733 GB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6553, allocations: 8.031 kB / 0.5733 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.6573, allocations: 299.7 kB / 0.5736 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6584, allocations: 0.5872 MB / 0.5742 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.6585, allocations: 113.2 kB / 0.5743 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.6586, allocations: 60.36 kB / 0.5743 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.661, allocations: 1.158 MB / 0.5755 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.6611, allocations: 4 kB / 0.5755 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.6611, allocations: 27.98 kB / 0.5755 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.238e-05/0.6612, allocations: 45.23 kB / 0.5755 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.6628, allocations: 0.844 MB / 0.5764 GB, free: 7.766 MB / 430.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.00657/0.6694, allocations: 5.506 MB / 0.5817 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.6707, allocations: 0.5754 MB / 0.5823 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.6711, allocations: 221.6 kB / 0.5825 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1006/0.7717, allocations: 46.39 MB / 0.6278 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.909e-05/0.7718, allocations: 47.75 kB / 0.6279 GB, free: 13.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 3.657e-06/0.7718, allocations: 0 / 0.6279 GB, free: 13.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.006456/0.7783, allocations: 1.924 MB / 0.6297 GB, free: 11.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.7784, allocations: 158.2 kB / 0.6299 GB, free: 11.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.7796, allocations: 0.621 MB / 0.6305 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.7798, allocations: 41.73 kB / 0.6305 GB, free: 10.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.7801, allocations: 391.2 kB / 0.6309 GB, free: 10.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.7803, allocations: 169.7 kB / 0.6311 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.7807, allocations: 162.5 kB / 0.6312 GB, free: 9.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.7809, allocations: 374.8 kB / 0.6316 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.7814, allocations: 221.9 kB / 0.6318 GB, free: 9.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.7821, allocations: 0.5756 MB / 0.6324 GB, free: 8.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.7833, allocations: 0.8368 MB / 0.6332 GB, free: 7.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.7834, allocations: 4 kB / 0.6332 GB, free: 7.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001607/0.785, allocations: 0.8627 MB / 0.634 GB, free: 6.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.785, allocations: 16.98 kB / 0.634 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.785, allocations: 16 kB / 0.634 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/0.7854, allocations: 64.77 kB / 0.6341 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.7866, allocations: 279.6 kB / 0.6344 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.7888, allocations: 2.07 MB / 0.6364 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/0.7896, allocations: 31.94 kB / 0.6364 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/0.7897, allocations: 43.98 kB / 0.6365 GB, free: 3.859 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005298/0.7902, allocations: 289.1 kB / 0.6367 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.7905, allocations: 71.16 kB / 0.6368 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.7934, allocations: 2.205 MB / 0.639 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.849e-05/0.7934, allocations: 27.95 kB / 0.639 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7934, allocations: 3.938 kB / 0.639 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.7935, allocations: 12.02 kB / 0.639 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.798, allocations: 3.28 MB / 0.6422 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.798, allocations: 0 / 0.6422 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009481/0.799, allocations: 195.8 kB / 0.6424 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003963/0.7994, allocations: 84.69 kB / 0.6425 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.7994, allocations: 8 kB / 0.6425 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.8011, allocations: 2.105 MB / 0.6445 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8012, allocations: 0 / 0.6445 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.8037, allocations: 1.986 MB / 0.6465 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.8043, allocations: 235.8 kB / 0.6467 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.8045, allocations: 35.69 kB / 0.6467 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/0.8051, allocations: 31.97 kB / 0.6468 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.8052, allocations: 32.39 kB / 0.6468 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/0.8053, allocations: 19.98 kB / 0.6468 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000744/0.8061, allocations: 0.5107 MB / 0.6473 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8061, allocations: 3.938 kB / 0.6473 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004765/0.8108, allocations: 1.093 MB / 0.6484 GB, free: 7.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006682/0.8176, allocations: 1.21 MB / 0.6496 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002595/0.8202, allocations: 0.9318 MB / 0.6505 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.8202, allocations: 4.062 kB / 0.6505 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.8217, allocations: 0.6755 MB / 0.6511 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.8242, allocations: 383.3 kB / 0.6515 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.8283, allocations: 2.229 MB / 0.6537 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008589/0.8292, allocations: 1.109 MB / 0.6548 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009979/0.8302, allocations: 457.4 kB / 0.6552 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.8304, allocations: 63.44 kB / 0.6553 GB, free: 252 kB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.8304, allocations: 0 / 0.6553 GB, free: 252 kB / 0.4981 GB Notification: Performance of Templates: time 0.07472/0.9051, allocations: 46.22 MB / 0.7004 GB, free: 1.98 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)