Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001772/0.001772, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.596/1.596, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3811/0.3811, allocations: 37.98 MB / 307.3 MB, free: 10.02 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.1. 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.001293/0.001293, allocations: 63.91 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1318, allocations: 56.47 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2932/0.425, allocations: 40.27 MB / 471.3 MB, free: 32.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0228/0.4479, allocations: 21.24 MB / 492.5 MB, free: 19.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.4494, allocations: 35.25 kB / 492.6 MB, free: 19.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.451, allocations: 397.2 kB / 493 MB, free: 18.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01397/0.465, allocations: 4.163 MB / 497.1 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006928/0.472, allocations: 2.229 MB / 499.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003074/0.4751, allocations: 2.841 MB / 0.4904 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000827/0.4759, allocations: 427.6 kB / 0.4908 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009951/0.4859, allocations: 4.043 MB / 0.4948 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01301/0.499, allocations: 5.455 MB / 0.5001 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.4994, allocations: 37.34 kB / 0.5001 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01941/0.5189, allocations: 7.266 MB / 0.5072 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007132/0.5196, allocations: 252.1 kB / 0.5075 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.5207, allocations: 425.4 kB / 0.5079 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01812/0.5388, allocations: 5.082 MB / 0.5128 GB, free: 5.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.5388, allocations: 0 / 0.5128 GB, free: 5.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5388, allocations: 0 / 0.5128 GB, free: 5.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.5389, allocations: 1.344 kB / 0.5128 GB, free: 5.117 MB / 382.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.00638/0.5453, allocations: 1.691 MB / 0.5145 GB, free: 3.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.5453, allocations: 12.5 kB / 0.5145 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.5477, allocations: 302.8 kB / 0.5148 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/0.5486, allocations: 0.5461 MB / 0.5153 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/0.5487, allocations: 119.9 kB / 0.5154 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.5488, allocations: 59.12 kB / 0.5155 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.5512, allocations: 1.205 MB / 0.5167 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.5513, allocations: 3.938 kB / 0.5167 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.5514, allocations: 29.28 kB / 0.5167 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.884e-05/0.5514, allocations: 43.64 kB / 0.5167 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.5538, allocations: 1.023 MB / 0.5177 GB, free: 1.852 MB / 382.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.006809/0.5606, allocations: 5.621 MB / 0.5232 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.563, allocations: 0.7607 MB / 0.524 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/0.5636, allocations: 282.4 kB / 0.5242 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0332/0.5968, allocations: 15.86 MB / 0.5397 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.013e-05/0.5969, allocations: 49.83 kB / 0.5398 GB, free: 11.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.765e-06/0.597, allocations: 3.938 kB / 0.5398 GB, free: 11.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.0076/0.6046, allocations: 2.276 MB / 0.542 GB, free: 9.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.6047, allocations: 166.7 kB / 0.5422 GB, free: 9.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008594/0.6056, allocations: 0.6093 MB / 0.5428 GB, free: 8.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.6056, allocations: 37.7 kB / 0.5428 GB, free: 8.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.6059, allocations: 383.3 kB / 0.5432 GB, free: 8.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.6061, allocations: 173.5 kB / 0.5433 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.6063, allocations: 158.5 kB / 0.5435 GB, free: 8.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.6065, allocations: 378.8 kB / 0.5438 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.6072, allocations: 285.8 kB / 0.5441 GB, free: 7.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008192/0.608, allocations: 0.6004 MB / 0.5447 GB, free: 6.664 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.6094, allocations: 0.9026 MB / 0.5456 GB, free: 5.617 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6094, allocations: 4 kB / 0.5456 GB, free: 5.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001791/0.6112, allocations: 0.9611 MB / 0.5465 GB, free: 4.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.6113, allocations: 12 kB / 0.5465 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.6113, allocations: 15.98 kB / 0.5466 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/0.6116, allocations: 60.81 kB / 0.5466 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.6129, allocations: 303.5 kB / 0.5469 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.6144, allocations: 1.987 MB / 0.5488 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.6152, allocations: 75.92 kB / 0.5489 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.6153, allocations: 47.98 kB / 0.549 GB, free: 1.996 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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.0003949/0.6157, allocations: 258.1 kB / 0.5492 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.6159, allocations: 71.16 kB / 0.5493 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.6189, allocations: 2.558 MB / 0.5518 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/0.619, allocations: 47.81 kB / 0.5518 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.619, allocations: 0 / 0.5518 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.619, allocations: 0 / 0.5518 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004312/0.6233, allocations: 3.761 MB / 0.5555 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.6233, allocations: 0 / 0.5555 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.6244, allocations: 223.7 kB / 0.5557 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.6248, allocations: 92.69 kB / 0.5558 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.6249, allocations: 15.94 kB / 0.5558 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.6263, allocations: 1.995 MB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6263, allocations: 0 / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.6293, allocations: 2.35 MB / 0.56 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/0.6299, allocations: 251.4 kB / 0.5603 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.63, allocations: 35.59 kB / 0.5603 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.6305, allocations: 61.83 kB / 0.5604 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.6306, allocations: 40.5 kB / 0.5604 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.6307, allocations: 27.98 kB / 0.5604 GB, free: 5.938 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007637/0.6315, allocations: 0.5537 MB / 0.561 GB, free: 5.379 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6315, allocations: 4 kB / 0.561 GB, free: 5.375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005032/0.6365, allocations: 1.089 MB / 0.5621 GB, free: 4.285 MB / 430.1 MB 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.005108/0.6416, allocations: 1.228 MB / 0.5633 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.6443, allocations: 1.108 MB / 0.5643 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6443, allocations: 0 / 0.5643 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.6459, allocations: 0.8206 MB / 0.5651 GB, free: 1.141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.6481, allocations: 373.9 kB / 0.5655 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.6523, allocations: 2.982 MB / 0.5684 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/0.6532, allocations: 1.165 MB / 0.5695 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009988/0.6542, allocations: 442.9 kB / 0.57 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.6544, allocations: 63.44 kB / 0.57 GB, free: 12.07 MB / 446.1 MB Notification: Performance of SimCode: time 5.92e-07/0.6544, allocations: 4 kB / 0.57 GB, free: 12.07 MB / 446.1 MB Notification: Performance of Templates: time 0.06536/0.7197, allocations: 46.01 MB / 0.615 GB, free: 14.05 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)