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.0009645/0.0009644, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001158/0.001158, allocations: 168.7 kB / 15.95 MB, free: 204 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.765/1.765, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.4379/0.4379, allocations: 40 MB / 310.4 MB, free: 10 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.0005648/0.0005652, allocations: 23.92 kB / 378.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1412, allocations: 57.95 MB / 436.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.3642/0.5055, allocations: 36.62 MB / 473.4 MB, free: 33.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0188/0.5244, allocations: 18.86 MB / 492.3 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.5256, allocations: 23.03 kB / 492.3 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.5267, allocations: 380.3 kB / 492.7 MB, free: 19.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01133/0.538, allocations: 4.057 MB / 496.7 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006256/0.5443, allocations: 2.024 MB / 498.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002964/0.5473, allocations: 2.369 MB / 0.4894 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.548, allocations: 409.2 kB / 0.4898 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01232/0.5603, allocations: 6.415 MB / 0.496 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01955/0.58, allocations: 9.115 MB / 0.5049 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003221/0.5804, allocations: 35.88 kB / 0.505 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01789/0.5983, allocations: 6.94 MB / 0.5118 GB, free: 12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006872/0.599, allocations: 241.1 kB / 0.512 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.5995, allocations: 189.3 kB / 0.5122 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00714/0.6066, allocations: 3.479 MB / 0.5156 GB, free: 8.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6067, allocations: 0 / 0.5156 GB, free: 8.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6067, allocations: 0 / 0.5156 GB, free: 8.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.6067, allocations: 0 / 0.5156 GB, free: 8.23 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.003816/0.6105, allocations: 1.539 MB / 0.5171 GB, free: 6.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.6106, allocations: 12.56 kB / 0.5171 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.6125, allocations: 314.7 kB / 0.5174 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.6133, allocations: 0.5395 MB / 0.5179 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.6134, allocations: 112.7 kB / 0.518 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/0.6135, allocations: 60 kB / 0.5181 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.6156, allocations: 1.217 MB / 0.5193 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.6156, allocations: 7.891 kB / 0.5193 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.6157, allocations: 31.98 kB / 0.5193 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.202e-05/0.6158, allocations: 45.3 kB / 0.5193 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.6179, allocations: 1.055 MB / 0.5204 GB, free: 3.105 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.005377/0.6233, allocations: 5.637 MB / 0.5259 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.6254, allocations: 0.8007 MB / 0.5267 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/0.6259, allocations: 310.1 kB / 0.527 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03152/0.6575, allocations: 15.98 MB / 0.5426 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.739e-05/0.6576, allocations: 42.52 kB / 0.5426 GB, free: 10.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 3.136e-06/0.6576, allocations: 0 / 0.5426 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.007502/0.6651, allocations: 2.366 MB / 0.5449 GB, free: 7.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.6652, allocations: 162.7 kB / 0.5451 GB, free: 7.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000999/0.6663, allocations: 0.6015 MB / 0.5457 GB, free: 6.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.6663, allocations: 33.7 kB / 0.5457 GB, free: 6.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.6667, allocations: 391.2 kB / 0.5461 GB, free: 6.414 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.6669, allocations: 169.6 kB / 0.5462 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.6669, allocations: 20 kB / 0.5462 GB, free: 6.227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.6672, allocations: 378.8 kB / 0.5466 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006304/0.6679, allocations: 289.8 kB / 0.5469 GB, free: 5.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008288/0.6687, allocations: 0.6199 MB / 0.5475 GB, free: 4.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/0.6695, allocations: 384.6 kB / 0.5479 GB, free: 4.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.6695, allocations: 4 kB / 0.5479 GB, free: 4.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001977/0.6715, allocations: 0.9722 MB / 0.5488 GB, free: 3.422 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.6715, allocations: 15.95 kB / 0.5488 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.6715, allocations: 8 kB / 0.5488 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.6719, allocations: 73.47 kB / 0.5489 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.6731, allocations: 303.6 kB / 0.5492 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.6749, allocations: 1.989 MB / 0.5511 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/0.6757, allocations: 83.84 kB / 0.5512 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/0.6758, allocations: 40 kB / 0.5512 GB, free: 0.7656 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.0004395/0.6762, allocations: 281.4 kB / 0.5515 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.6764, allocations: 67.25 kB / 0.5516 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/0.6797, allocations: 2.609 MB / 0.5541 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/0.6798, allocations: 39.94 kB / 0.5542 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6798, allocations: 0 / 0.5542 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.6798, allocations: 3.984 kB / 0.5542 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/0.6845, allocations: 3.801 MB / 0.5579 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6846, allocations: 0 / 0.5579 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.6857, allocations: 239.7 kB / 0.5581 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004/0.6861, allocations: 92.77 kB / 0.5582 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.6862, allocations: 13.88 kB / 0.5582 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.6877, allocations: 2 MB / 0.5602 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6877, allocations: 0 / 0.5602 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/0.6909, allocations: 2.369 MB / 0.5625 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.6914, allocations: 326.9 kB / 0.5628 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.6916, allocations: 19.95 kB / 0.5628 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.6922, allocations: 59.86 kB / 0.5629 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.6923, allocations: 52.48 kB / 0.5629 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.6924, allocations: 24.8 kB / 0.5629 GB, free: 4.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007808/0.6932, allocations: 0.5537 MB / 0.5635 GB, free: 3.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6932, allocations: 0 / 0.5635 GB, free: 3.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003772/0.697, allocations: 1.093 MB / 0.5645 GB, free: 2.844 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.006011/0.703, allocations: 1.219 MB / 0.5657 GB, free: 1.621 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002699/0.7057, allocations: 1.112 MB / 0.5668 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.7057, allocations: 7.938 kB / 0.5668 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.7073, allocations: 0.813 MB / 0.5676 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.7095, allocations: 378.4 kB / 0.568 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.714, allocations: 3.033 MB / 0.571 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008583/0.7148, allocations: 1.165 MB / 0.5721 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001023/0.7159, allocations: 434.1 kB / 0.5725 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.7161, allocations: 63.44 kB / 0.5726 GB, free: 10.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7161, allocations: 0 / 0.5726 GB, free: 10.58 MB / 446.1 MB Notification: Performance of Templates: time 0.07272/0.7888, allocations: 46.07 MB / 0.6176 GB, free: 12.51 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: