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.001403/0.001404, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001413/0.001413, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.645/1.645, allocations: 205.1 MB / 222.1 MB, free: 4.609 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.3563/0.3563, allocations: 39.93 MB / 309.4 MB, free: 9.375 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.001376/0.001376, allocations: 64.38 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1564, allocations: 56.88 MB / 434 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.3426/0.4991, allocations: 39.49 MB / 473.5 MB, free: 31.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01923/0.5184, allocations: 20.29 MB / 493.8 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.5196, allocations: 24.69 kB / 493.8 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.5209, allocations: 395.6 kB / 494.2 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01382/0.5347, allocations: 4.554 MB / 498.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007282/0.542, allocations: 2.337 MB / 0.4893 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.5446, allocations: 1.985 MB / 0.4913 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008244/0.5455, allocations: 484.5 kB / 0.4917 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.011/0.5565, allocations: 4.16 MB / 0.4958 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01082/0.5674, allocations: 5.47 MB / 0.5011 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003675/0.5678, allocations: 70.44 kB / 0.5012 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01946/0.5872, allocations: 7.284 MB / 0.5083 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007621/0.588, allocations: 283.6 kB / 0.5086 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.5892, allocations: 454.7 kB / 0.509 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02395/0.6131, allocations: 5.118 MB / 0.514 GB, free: 2.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.6132, allocations: 0 / 0.514 GB, free: 2.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.6132, allocations: 3.938 kB / 0.514 GB, free: 2.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.218e-05/0.6132, allocations: 3.938 kB / 0.514 GB, free: 2.926 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.008276/0.6215, allocations: 1.682 MB / 0.5157 GB, free: 1.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.6216, allocations: 19.3 kB / 0.5157 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/0.624, allocations: 296.3 kB / 0.516 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.6254, allocations: 0.5577 MB / 0.5165 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.6255, allocations: 113.6 kB / 0.5166 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.6257, allocations: 67.03 kB / 0.5167 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.6289, allocations: 1.194 MB / 0.5178 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.6289, allocations: 10.14 kB / 0.5179 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/0.629, allocations: 29.25 kB / 0.5179 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.377e-05/0.6291, allocations: 45.02 kB / 0.5179 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.6319, allocations: 1.026 MB / 0.5189 GB, free: 15.66 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.008348/0.6403, allocations: 5.613 MB / 0.5244 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.6427, allocations: 0.7596 MB / 0.5251 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/0.6432, allocations: 288 kB / 0.5254 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03442/0.6777, allocations: 15.88 MB / 0.5409 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.487e-05/0.6778, allocations: 50.45 kB / 0.541 GB, free: 9.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 3.015e-06/0.6778, allocations: 0 / 0.541 GB, free: 9.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.007741/0.6856, allocations: 2.266 MB / 0.5432 GB, free: 6.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.6857, allocations: 166.6 kB / 0.5433 GB, free: 6.648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/0.6866, allocations: 0.6093 MB / 0.5439 GB, free: 6.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.6867, allocations: 33.7 kB / 0.544 GB, free: 5.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.687, allocations: 391.3 kB / 0.5443 GB, free: 5.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.6872, allocations: 181.5 kB / 0.5445 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.6875, allocations: 158.5 kB / 0.5447 GB, free: 5.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.6877, allocations: 374.8 kB / 0.545 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006243/0.6883, allocations: 277.8 kB / 0.5453 GB, free: 4.617 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/0.6892, allocations: 0.6044 MB / 0.5459 GB, free: 3.859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.6907, allocations: 0.9026 MB / 0.5468 GB, free: 2.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.6907, allocations: 4 kB / 0.5468 GB, free: 2.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002054/0.6928, allocations: 0.9603 MB / 0.5477 GB, free: 1.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.6928, allocations: 12 kB / 0.5477 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.6928, allocations: 8.875 kB / 0.5477 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.6932, allocations: 64.83 kB / 0.5478 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.6945, allocations: 303.5 kB / 0.5481 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.6964, allocations: 2.074 MB / 0.5501 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/0.6974, allocations: 75.95 kB / 0.5502 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.18e-05/0.6975, allocations: 43.98 kB / 0.5502 GB, free: 15.1 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.0005022/0.698, allocations: 270 kB / 0.5505 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.6982, allocations: 75.09 kB / 0.5505 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.7016, allocations: 2.564 MB / 0.5531 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/0.7017, allocations: 27.95 kB / 0.5531 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.7017, allocations: 4 kB / 0.5531 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.7017, allocations: 11.86 kB / 0.5531 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00608/0.7078, allocations: 3.761 MB / 0.5568 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.7079, allocations: 7.922 kB / 0.5568 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.7091, allocations: 223.7 kB / 0.557 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005372/0.7096, allocations: 80.78 kB / 0.5571 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.7097, allocations: 19.98 kB / 0.5571 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.712, allocations: 2.089 MB / 0.5591 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.712, allocations: 0 / 0.5591 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.7156, allocations: 2.346 MB / 0.5614 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008738/0.7165, allocations: 251.4 kB / 0.5617 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.7166, allocations: 39.67 kB / 0.5617 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.7172, allocations: 51.88 kB / 0.5617 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.7174, allocations: 52.48 kB / 0.5618 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.7175, allocations: 19.98 kB / 0.5618 GB, free: 2.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009193/0.7184, allocations: 0.5615 MB / 0.5624 GB, free: 2.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7184, allocations: 0 / 0.5624 GB, free: 2.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005783/0.7242, allocations: 1.089 MB / 0.5634 GB, free: 1.273 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.007924/0.7321, allocations: 1.225 MB / 0.5646 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003811/0.736, allocations: 1.198 MB / 0.5658 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.736, allocations: 4.062 kB / 0.5658 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.7377, allocations: 0.8167 MB / 0.5666 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.7404, allocations: 414.7 kB / 0.567 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.7452, allocations: 2.977 MB / 0.5699 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008967/0.7461, allocations: 1.161 MB / 0.571 GB, free: 9.438 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001164/0.7473, allocations: 444.6 kB / 0.5715 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.7475, allocations: 67.42 kB / 0.5715 GB, free: 8.938 MB / 446.1 MB Notification: Performance of SimCode: time 1.372e-06/0.7475, allocations: 0 / 0.5715 GB, free: 8.938 MB / 446.1 MB Notification: Performance of Templates: time 0.07003/0.8175, allocations: 46.71 MB / 0.6171 GB, free: 10.21 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)