Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.001272/0.001272, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.658/1.658, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3574/0.3574, allocations: 39.94 MB / 309.7 MB, free: 9.301 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.001526/0.001526, allocations: 74.39 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1458, allocations: 56.88 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.3224/0.4682, allocations: 39.04 MB / 473.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02208/0.4903, allocations: 20.15 MB / 493.7 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.4915, allocations: 22.94 kB / 493.7 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.4929, allocations: 441 kB / 494.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01621/0.5092, allocations: 5.105 MB / 499.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009589/0.5188, allocations: 2.553 MB / 0.49 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.5223, allocations: 1.99 MB / 0.492 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009627/0.5232, allocations: 499.9 kB / 0.4925 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.5343, allocations: 4.149 MB / 0.4965 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01369/0.548, allocations: 5.431 MB / 0.5018 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004363/0.5485, allocations: 71.84 kB / 0.5019 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02059/0.5691, allocations: 7.227 MB / 0.5089 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007083/0.5698, allocations: 278.2 kB / 0.5092 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008929/0.5707, allocations: 461.5 kB / 0.5097 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01703/0.5878, allocations: 5.093 MB / 0.5146 GB, free: 2.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5878, allocations: 0 / 0.5146 GB, free: 2.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5878, allocations: 0 / 0.5146 GB, free: 2.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.5879, allocations: 0 / 0.5146 GB, free: 2.418 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.006913/0.5948, allocations: 1.691 MB / 0.5163 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5948, allocations: 11.61 kB / 0.5163 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.5972, allocations: 298.8 kB / 0.5166 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.5983, allocations: 0.558 MB / 0.5171 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.5984, allocations: 113.1 kB / 0.5172 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.5986, allocations: 66.14 kB / 0.5173 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.6014, allocations: 1.198 MB / 0.5185 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.6014, allocations: 9.297 kB / 0.5185 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-05/0.6015, allocations: 31.47 kB / 0.5185 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.698e-05/0.6016, allocations: 49.56 kB / 0.5185 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.6042, allocations: 1.025 MB / 0.5195 GB, free: 15.14 MB / 398.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.007217/0.6115, allocations: 5.629 MB / 0.525 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.6139, allocations: 0.7484 MB / 0.5258 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005635/0.6144, allocations: 289.3 kB / 0.526 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03565/0.6501, allocations: 15.86 MB / 0.5415 GB, free: 8.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.765e-05/0.6502, allocations: 42.52 kB / 0.5416 GB, free: 8.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.524e-06/0.6502, allocations: 3.938 kB / 0.5416 GB, free: 8.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.007218/0.6574, allocations: 2.273 MB / 0.5438 GB, free: 6.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.6576, allocations: 170.6 kB / 0.544 GB, free: 6.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007891/0.6584, allocations: 0.6054 MB / 0.5446 GB, free: 5.414 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.6584, allocations: 41.64 kB / 0.5446 GB, free: 5.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.6587, allocations: 383.3 kB / 0.545 GB, free: 4.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6589, allocations: 177.5 kB / 0.5451 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.6591, allocations: 158.5 kB / 0.5453 GB, free: 4.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6593, allocations: 378.8 kB / 0.5456 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005953/0.6599, allocations: 281.8 kB / 0.5459 GB, free: 3.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008395/0.6608, allocations: 0.6004 MB / 0.5465 GB, free: 3.246 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.6623, allocations: 0.9025 MB / 0.5474 GB, free: 2.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6623, allocations: 4 kB / 0.5474 GB, free: 2.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001887/0.6642, allocations: 0.9724 MB / 0.5483 GB, free: 1.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.6642, allocations: 8 kB / 0.5483 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.6642, allocations: 12 kB / 0.5484 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003044/0.6645, allocations: 56.83 kB / 0.5484 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.6658, allocations: 300 kB / 0.5487 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.6677, allocations: 2.078 MB / 0.5507 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/0.6687, allocations: 48.17 kB / 0.5508 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.6688, allocations: 45.98 kB / 0.5508 GB, free: 14.51 MB / 430.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.0006693/0.6695, allocations: 269.4 kB / 0.5511 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.6697, allocations: 75.09 kB / 0.5511 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/0.6736, allocations: 2.554 MB / 0.5536 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/0.6736, allocations: 35.94 kB / 0.5537 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6736, allocations: 0 / 0.5537 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.6737, allocations: 0 / 0.5537 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005565/0.6792, allocations: 3.769 MB / 0.5574 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6793, allocations: 0 / 0.5574 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.6804, allocations: 227.7 kB / 0.5576 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003682/0.6808, allocations: 88.72 kB / 0.5577 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.6808, allocations: 12.88 kB / 0.5577 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.6825, allocations: 2.098 MB / 0.5597 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6826, allocations: 0 / 0.5597 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/0.6859, allocations: 2.346 MB / 0.562 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000514/0.6864, allocations: 259.3 kB / 0.5623 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.6866, allocations: 35.62 kB / 0.5623 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.687, allocations: 31.97 kB / 0.5623 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.6872, allocations: 52.56 kB / 0.5624 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.6872, allocations: 19.98 kB / 0.5624 GB, free: 2.359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008152/0.6881, allocations: 0.5615 MB / 0.5629 GB, free: 1.797 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6881, allocations: 0 / 0.5629 GB, free: 1.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005779/0.6939, allocations: 1.089 MB / 0.564 GB, free: 0.707 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.007471/0.7014, allocations: 1.215 MB / 0.5652 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003804/0.7052, allocations: 1.206 MB / 0.5664 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7052, allocations: 7.938 kB / 0.5664 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.7068, allocations: 0.8207 MB / 0.5672 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.7091, allocations: 398.1 kB / 0.5676 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.7138, allocations: 2.501 MB / 0.57 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008877/0.7147, allocations: 1.153 MB / 0.5711 GB, free: 9.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001127/0.7158, allocations: 449.1 kB / 0.5715 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.716, allocations: 63.44 kB / 0.5716 GB, free: 8.863 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.716, allocations: 4 kB / 0.5716 GB, free: 8.859 MB / 446.1 MB Notification: Performance of Templates: time 0.07437/0.7904, allocations: 46.9 MB / 0.6174 GB, free: 9.941 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)