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.001182/0.001182, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001151/0.001151, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3828/0.3828, allocations: 38.04 MB / 308.4 MB, free: 10.39 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.0007422/0.0007423, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1362, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.3001/0.4364, allocations: 33.12 MB / 467.1 MB, free: 34.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01878/0.4552, allocations: 17.2 MB / 484.3 MB, free: 26.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.4565, allocations: 21.34 kB / 484.3 MB, free: 26.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.458, allocations: 392.1 kB / 484.7 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01524/0.4732, allocations: 3.993 MB / 488.7 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007906/0.4812, allocations: 2.11 MB / 490.8 MB, free: 23.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.4835, allocations: 1.15 MB / 491.9 MB, free: 22.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.4842, allocations: 420.9 kB / 492.3 MB, free: 22.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.4954, allocations: 6.299 MB / 498.6 MB, free: 21.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01878/0.5142, allocations: 8.764 MB / 0.4955 GB, free: 20.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003593/0.5147, allocations: 36.62 kB / 0.4955 GB, free: 20.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02101/0.5357, allocations: 7.185 MB / 0.5025 GB, free: 18.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007625/0.5365, allocations: 228.2 kB / 0.5028 GB, free: 18.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006614/0.5372, allocations: 191.4 kB / 0.5029 GB, free: 18.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.5482, allocations: 3.453 MB / 0.5063 GB, free: 18.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5483, allocations: 0 / 0.5063 GB, free: 18.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.638e-06/0.5483, allocations: 0 / 0.5063 GB, free: 18.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.403e-05/0.5483, allocations: 0 / 0.5063 GB, free: 18.12 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.006855/0.5552, allocations: 1.539 MB / 0.5078 GB, free: 17.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5552, allocations: 10.44 kB / 0.5078 GB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.5574, allocations: 309.1 kB / 0.5081 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009699/0.5583, allocations: 0.5457 MB / 0.5087 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.5585, allocations: 116.7 kB / 0.5088 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.5586, allocations: 55.98 kB / 0.5088 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.5609, allocations: 1.215 MB / 0.51 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.5609, allocations: 3.938 kB / 0.51 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/0.561, allocations: 28 kB / 0.51 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/0.5611, allocations: 45.28 kB / 0.5101 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.5633, allocations: 1.055 MB / 0.5111 GB, free: 13.8 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.005534/0.5689, allocations: 5.636 MB / 0.5166 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.571, allocations: 0.8084 MB / 0.5174 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03357/0.6046, allocations: 15.98 MB / 0.533 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.487e-05/0.6047, allocations: 39.28 kB / 0.5331 GB, free: 5.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 5.109e-06/0.6047, allocations: 0 / 0.5331 GB, free: 5.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.008523/0.6133, allocations: 2.378 MB / 0.5354 GB, free: 2.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.517e-05/0.6134, allocations: 162.7 kB / 0.5355 GB, free: 2.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.6143, allocations: 0.6053 MB / 0.5361 GB, free: 1.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.6144, allocations: 37.7 kB / 0.5362 GB, free: 1.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.6147, allocations: 391.2 kB / 0.5365 GB, free: 1.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.6149, allocations: 173.6 kB / 0.5367 GB, free: 1.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.615, allocations: 16 kB / 0.5367 GB, free: 1.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6152, allocations: 378.8 kB / 0.5371 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007499/0.6159, allocations: 289.8 kB / 0.5373 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.617, allocations: 0.616 MB / 0.538 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008986/0.6179, allocations: 380.5 kB / 0.5383 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.6179, allocations: 4 kB / 0.5383 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002167/0.6201, allocations: 0.9727 MB / 0.5393 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.6201, allocations: 14.53 kB / 0.5393 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.6202, allocations: 12 kB / 0.5393 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/0.6205, allocations: 68.81 kB / 0.5394 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.6219, allocations: 307.6 kB / 0.5397 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.6236, allocations: 1.987 MB / 0.5416 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009109/0.6245, allocations: 88.06 kB / 0.5417 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/0.6246, allocations: 40 kB / 0.5417 GB, free: 11.76 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 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005267/0.6251, allocations: 274.5 kB / 0.542 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.6253, allocations: 71.16 kB / 0.542 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.6292, allocations: 2.608 MB / 0.5446 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.607e-05/0.6292, allocations: 44.75 kB / 0.5446 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6292, allocations: 0 / 0.5446 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.6293, allocations: 7.984 kB / 0.5446 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005162/0.6344, allocations: 3.785 MB / 0.5483 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.6344, allocations: 0 / 0.5483 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.6356, allocations: 246.1 kB / 0.5486 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/0.6361, allocations: 96.67 kB / 0.5487 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.88e-05/0.6361, allocations: 15.94 kB / 0.5487 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.6386, allocations: 1.991 MB / 0.5506 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6386, allocations: 3.984 kB / 0.5506 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.6422, allocations: 2.387 MB / 0.553 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007191/0.6429, allocations: 326.8 kB / 0.5533 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.6432, allocations: 15.98 kB / 0.5533 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.6441, allocations: 56.02 kB / 0.5533 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.6443, allocations: 60.38 kB / 0.5534 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.6443, allocations: 19.98 kB / 0.5534 GB, free: 15.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.6456, allocations: 0.5576 MB / 0.554 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6456, allocations: 0 / 0.554 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006891/0.6525, allocations: 1.093 MB / 0.555 GB, free: 13.83 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008724/0.6612, allocations: 1.212 MB / 0.5562 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002964/0.6642, allocations: 1.108 MB / 0.5573 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.6643, allocations: 4 kB / 0.5573 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.666, allocations: 0.8167 MB / 0.5581 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.6684, allocations: 375.8 kB / 0.5585 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005115/0.6735, allocations: 3.033 MB / 0.5614 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009355/0.6745, allocations: 1.185 MB / 0.5626 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001052/0.6755, allocations: 441.7 kB / 0.563 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.6757, allocations: 67.42 kB / 0.5631 GB, free: 5.547 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6757, allocations: 0 / 0.5631 GB, free: 5.547 MB / 430.1 MB Notification: Performance of Templates: time 0.0744/0.7501, allocations: 46.06 MB / 0.608 GB, free: 7.477 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: