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.0008579/0.000858, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007112/0.007112, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.733/1.733, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3915/0.3915, allocations: 40 MB / 310.7 MB, free: 9.555 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.0006306/0.0006305, allocations: 12.42 kB / 379.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.15, allocations: 57.96 MB / 437.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.3401/0.4902, allocations: 39.4 MB / 476.8 MB, free: 29.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02337/0.5136, allocations: 20.93 MB / 497.8 MB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.515, allocations: 28.19 kB / 497.8 MB, free: 16.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.5163, allocations: 399.2 kB / 498.2 MB, free: 16.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01331/0.5296, allocations: 4.167 MB / 0.4906 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00715/0.5368, allocations: 2.233 MB / 0.4927 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004424/0.5412, allocations: 2.843 MB / 0.4955 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.5423, allocations: 425.9 kB / 0.4959 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009848/0.5522, allocations: 4.038 MB / 0.4999 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01206/0.5643, allocations: 5.453 MB / 0.5052 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000339/0.5647, allocations: 35.91 kB / 0.5052 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02011/0.5848, allocations: 7.264 MB / 0.5123 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00079/0.5857, allocations: 253.1 kB / 0.5126 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.5872, allocations: 447.8 kB / 0.513 GB, free: 4.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01592/0.6031, allocations: 5.035 MB / 0.5179 GB, free: 1.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.6032, allocations: 0 / 0.5179 GB, free: 1.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6032, allocations: 0 / 0.5179 GB, free: 1.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.726e-05/0.6033, allocations: 4.875 kB / 0.5179 GB, free: 1.699 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.00685/0.6101, allocations: 1.536 MB / 0.5194 GB, free: 0.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.6102, allocations: 14.44 kB / 0.5194 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.6127, allocations: 318 kB / 0.5197 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.614, allocations: 0.5491 MB / 0.5203 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.6142, allocations: 116.6 kB / 0.5204 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.6145, allocations: 68.94 kB / 0.5204 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/0.6178, allocations: 1.22 MB / 0.5216 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.6178, allocations: 5.312 kB / 0.5216 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.618, allocations: 33.61 kB / 0.5217 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.51e-05/0.6181, allocations: 50.22 kB / 0.5217 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/0.6211, allocations: 1.057 MB / 0.5228 GB, free: 14.53 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.008235/0.6294, allocations: 5.638 MB / 0.5283 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.6318, allocations: 0.8124 MB / 0.529 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006184/0.6325, allocations: 304.6 kB / 0.5293 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03511/0.6676, allocations: 15.97 MB / 0.5449 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.6677, allocations: 48.06 kB / 0.545 GB, free: 7.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.335e-06/0.6677, allocations: 0 / 0.545 GB, free: 7.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.00854/0.6762, allocations: 2.365 MB / 0.5473 GB, free: 5.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.6764, allocations: 162.7 kB / 0.5475 GB, free: 4.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.6775, allocations: 0.6093 MB / 0.548 GB, free: 4.355 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/0.6776, allocations: 37.7 kB / 0.5481 GB, free: 4.312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.6779, allocations: 383.3 kB / 0.5484 GB, free: 3.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.6781, allocations: 181.6 kB / 0.5486 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.6782, allocations: 73.62 kB / 0.5487 GB, free: 3.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.6784, allocations: 378.8 kB / 0.5491 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006858/0.6791, allocations: 293.8 kB / 0.5493 GB, free: 3.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009396/0.6801, allocations: 0.6122 MB / 0.5499 GB, free: 2.238 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.6817, allocations: 0.926 MB / 0.5508 GB, free: 1.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.6817, allocations: 7.938 kB / 0.5508 GB, free: 1.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002037/0.6837, allocations: 0.9836 MB / 0.5518 GB, free: 168 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.6838, allocations: 9 kB / 0.5518 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.6838, allocations: 12 kB / 0.5518 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/0.6842, allocations: 68.81 kB / 0.5519 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.6855, allocations: 308.3 kB / 0.5522 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.6873, allocations: 1.991 MB / 0.5541 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.6884, allocations: 87.88 kB / 0.5542 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/0.6885, allocations: 40 kB / 0.5542 GB, free: 13.5 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.0005308/0.689, allocations: 270 kB / 0.5545 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.6892, allocations: 71.16 kB / 0.5546 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/0.6934, allocations: 2.593 MB / 0.5571 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/0.6935, allocations: 35.88 kB / 0.5571 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6935, allocations: 4 kB / 0.5571 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6935, allocations: 7.984 kB / 0.5572 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00576/0.6993, allocations: 3.789 MB / 0.5609 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6993, allocations: 3.984 kB / 0.5609 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.7005, allocations: 243.7 kB / 0.5611 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.7009, allocations: 88.77 kB / 0.5612 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.7009, allocations: 16 kB / 0.5612 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.7026, allocations: 1.992 MB / 0.5631 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7026, allocations: 0 / 0.5631 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/0.7061, allocations: 2.385 MB / 0.5655 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/0.7068, allocations: 326.9 kB / 0.5658 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.707, allocations: 15.83 kB / 0.5658 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/0.7077, allocations: 71.8 kB / 0.5659 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.7078, allocations: 44.48 kB / 0.5659 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.7079, allocations: 19.98 kB / 0.5659 GB, free: 1.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008616/0.7088, allocations: 0.5576 MB / 0.5665 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7088, allocations: 0 / 0.5665 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004742/0.7135, allocations: 1.093 MB / 0.5675 GB, free: 15.6 MB / 446.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.008684/0.7222, allocations: 1.223 MB / 0.5687 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.7252, allocations: 1.12 MB / 0.5698 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7252, allocations: 0 / 0.5698 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.7269, allocations: 0.8208 MB / 0.5706 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/0.7295, allocations: 379.9 kB / 0.571 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.7342, allocations: 3.07 MB / 0.574 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009444/0.7352, allocations: 1.169 MB / 0.5751 GB, free: 7.773 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001081/0.7362, allocations: 438.1 kB / 0.5755 GB, free: 7.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.7365, allocations: 63.44 kB / 0.5756 GB, free: 7.277 MB / 446.1 MB Notification: Performance of SimCode: time 2.365e-06/0.7365, allocations: 0 / 0.5756 GB, free: 7.277 MB / 446.1 MB Notification: Performance of Templates: time 0.07123/0.8077, allocations: 45.92 MB / 0.6204 GB, free: 9.363 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: