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.009067/0.009067, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.002138/0.002138, allocations: 195 kB / 16.68 MB, free: 6.375 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.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3435/0.3435, allocations: 37.99 MB / 307.9 MB, free: 10.19 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.001572/0.001572, allocations: 67.91 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3597, allocations: 56.47 MB / 489.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04204/0.4018, allocations: 39.06 MB / 0.5162 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02508/0.4269, allocations: 20.14 MB / 0.5358 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.4282, allocations: 22.66 kB / 0.5358 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.4296, allocations: 449.7 kB / 0.5363 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01743/0.4471, allocations: 5.097 MB / 0.5413 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008682/0.4558, allocations: 2.556 MB / 0.5438 GB, free: 48 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.4596, allocations: 1.977 MB / 0.5457 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.4607, allocations: 0.4897 MB / 0.5462 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01254/0.4733, allocations: 4.156 MB / 0.5502 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01284/0.4862, allocations: 5.432 MB / 0.5555 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003638/0.4867, allocations: 72 kB / 0.5556 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01825/0.5049, allocations: 7.387 MB / 0.5628 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006808/0.5057, allocations: 287.2 kB / 0.5631 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009423/0.5066, allocations: 454 kB / 0.5635 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01656/0.5232, allocations: 5.099 MB / 0.5685 GB, free: 6.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.5232, allocations: 4 kB / 0.5685 GB, free: 6.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5232, allocations: 0 / 0.5685 GB, free: 6.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.5233, allocations: 4 kB / 0.5685 GB, free: 6.52 MB / 446.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.005527/0.5288, allocations: 1.684 MB / 0.5701 GB, free: 4.785 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5289, allocations: 11.89 kB / 0.5702 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.5311, allocations: 299.7 kB / 0.5704 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5321, allocations: 0.5794 MB / 0.571 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.5323, allocations: 117.3 kB / 0.5711 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5324, allocations: 68.11 kB / 0.5712 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.5351, allocations: 1.185 MB / 0.5723 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.5351, allocations: 7.938 kB / 0.5723 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/0.5352, allocations: 35.98 kB / 0.5724 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.886e-05/0.5353, allocations: 37.3 kB / 0.5724 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.5379, allocations: 1.023 MB / 0.5734 GB, free: 1.281 MB / 446.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.006805/0.5447, allocations: 5.603 MB / 0.5789 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.5471, allocations: 0.7543 MB / 0.5796 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.5478, allocations: 293.6 kB / 0.5799 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03519/0.583, allocations: 15.94 MB / 0.5955 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/0.5831, allocations: 46.48 kB / 0.5955 GB, free: 8.371 MB / 478.1 MB Notification: Performance of pre-optimization done (n=45): time 2.465e-06/0.5831, allocations: 0 / 0.5955 GB, free: 8.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=49): time 0.007409/0.5905, allocations: 2.28 MB / 0.5977 GB, free: 6.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.5906, allocations: 158.7 kB / 0.5979 GB, free: 5.844 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.5915, allocations: 0.6055 MB / 0.5985 GB, free: 5.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.5915, allocations: 41.73 kB / 0.5985 GB, free: 5.184 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.5918, allocations: 391.2 kB / 0.5989 GB, free: 4.797 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.592, allocations: 181.4 kB / 0.5991 GB, free: 4.617 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.5922, allocations: 162.5 kB / 0.5992 GB, free: 4.453 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.5924, allocations: 378.8 kB / 0.5996 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.593, allocations: 277.8 kB / 0.5999 GB, free: 3.805 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.594, allocations: 0.6044 MB / 0.6004 GB, free: 3.047 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.5955, allocations: 0.9064 MB / 0.6013 GB, free: 1.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.5956, allocations: 4 kB / 0.6013 GB, free: 1.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001963/0.5975, allocations: 0.9495 MB / 0.6023 GB, free: 1.031 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.5976, allocations: 8 kB / 0.6023 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5976, allocations: 12 kB / 0.6023 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.5979, allocations: 64.86 kB / 0.6023 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.5992, allocations: 307.5 kB / 0.6026 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.6009, allocations: 2.078 MB / 0.6047 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/0.6016, allocations: 43.97 kB / 0.6047 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.6017, allocations: 40 kB / 0.6047 GB, free: 14.32 MB / 494.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.0004685/0.6022, allocations: 273.4 kB / 0.605 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.6023, allocations: 79.09 kB / 0.6051 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/0.6057, allocations: 2.547 MB / 0.6076 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/0.6057, allocations: 39.88 kB / 0.6076 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.6057, allocations: 0 / 0.6076 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.6058, allocations: 7.984 kB / 0.6076 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/0.6105, allocations: 3.749 MB / 0.6113 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6106, allocations: 0 / 0.6113 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.6117, allocations: 231.7 kB / 0.6115 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003511/0.6121, allocations: 88.69 kB / 0.6116 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.6122, allocations: 15.98 kB / 0.6116 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.6138, allocations: 2.086 MB / 0.6136 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6138, allocations: 0 / 0.6136 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.617, allocations: 2.347 MB / 0.6159 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.6175, allocations: 251.3 kB / 0.6162 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.6176, allocations: 39.59 kB / 0.6162 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.6181, allocations: 31.91 kB / 0.6162 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6182, allocations: 52.48 kB / 0.6163 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.6183, allocations: 16 kB / 0.6163 GB, free: 2.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007208/0.619, allocations: 0.5615 MB / 0.6168 GB, free: 1.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.619, allocations: 0 / 0.6168 GB, free: 1.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003817/0.6228, allocations: 1.093 MB / 0.6179 GB, free: 0.5234 MB / 494.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.00501/0.6279, allocations: 1.213 MB / 0.6191 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.6307, allocations: 1.112 MB / 0.6202 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.6307, allocations: 0 / 0.6202 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.6324, allocations: 0.8211 MB / 0.621 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.6347, allocations: 397.4 kB / 0.6214 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.6385, allocations: 2.482 MB / 0.6238 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.6392, allocations: 1.165 MB / 0.6249 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008615/0.6401, allocations: 430.1 kB / 0.6253 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.6403, allocations: 67.44 kB / 0.6254 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.6403, allocations: 0 / 0.6254 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of Templates: time 0.3081/0.9484, allocations: 47.03 MB / 0.6713 GB, free: 120.2 MB / 0.4981 GB 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)