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.0009195/0.0009194, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001038/0.001038, allocations: 172.7 kB / 15.95 MB, free: 208 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.453/1.453, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3648/0.3648, allocations: 38.03 MB / 308.4 MB, free: 10.36 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.0005671/0.0005672, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2781/0.3988, allocations: 36.63 MB / 470.6 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01836/0.4173, allocations: 18.85 MB / 489.4 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.4188, allocations: 24.34 kB / 489.5 MB, free: 22.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.4199, allocations: 367 kB / 489.8 MB, free: 22.45 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.01205/0.432, allocations: 4.059 MB / 493.9 MB, free: 20.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006324/0.4383, allocations: 2.033 MB / 495.9 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002469/0.4408, allocations: 2.365 MB / 498.3 MB, free: 18.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005505/0.4413, allocations: 419.3 kB / 498.7 MB, free: 18.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0106/0.452, allocations: 6.415 MB / 0.4933 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01663/0.4686, allocations: 9.108 MB / 0.5022 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002682/0.4689, allocations: 35.25 kB / 0.5022 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01901/0.488, allocations: 6.949 MB / 0.509 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006721/0.4887, allocations: 240.3 kB / 0.5092 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006646/0.4893, allocations: 186.4 kB / 0.5094 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008453/0.4978, allocations: 3.471 MB / 0.5128 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4978, allocations: 0 / 0.5128 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4978, allocations: 0 / 0.5128 GB, free: 12.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.4979, allocations: 4 kB / 0.5128 GB, free: 12.74 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.005032/0.5029, allocations: 1.548 MB / 0.5143 GB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.503, allocations: 8.562 kB / 0.5143 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.5049, allocations: 311.8 kB / 0.5146 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.5055, allocations: 0.5395 MB / 0.5151 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.5057, allocations: 112.7 kB / 0.5152 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.5058, allocations: 63.98 kB / 0.5153 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.5078, allocations: 1.211 MB / 0.5165 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5078, allocations: 3.938 kB / 0.5165 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.5079, allocations: 32 kB / 0.5165 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.5079, allocations: 49.28 kB / 0.5166 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.5099, allocations: 1.059 MB / 0.5176 GB, free: 7.609 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.004156/0.5141, allocations: 5.637 MB / 0.5231 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.5159, allocations: 0.8046 MB / 0.5239 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.5164, allocations: 294.3 kB / 0.5242 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02797/0.5444, allocations: 15.98 MB / 0.5398 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.823e-05/0.5445, allocations: 42.52 kB / 0.5398 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 4.419e-06/0.5445, allocations: 0 / 0.5398 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.00681/0.5513, allocations: 2.358 MB / 0.5421 GB, free: 12.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/0.5514, allocations: 170.5 kB / 0.5423 GB, free: 11.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.5522, allocations: 0.6093 MB / 0.5429 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.5523, allocations: 37.7 kB / 0.5429 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.5525, allocations: 387.2 kB / 0.5433 GB, free: 10.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.5527, allocations: 169.6 kB / 0.5434 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.5527, allocations: 19.94 kB / 0.5435 GB, free: 10.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.5529, allocations: 378.8 kB / 0.5438 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.5535, allocations: 289.8 kB / 0.5441 GB, free: 10.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.5542, allocations: 0.6122 MB / 0.5447 GB, free: 9.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006778/0.5549, allocations: 388.4 kB / 0.5451 GB, free: 8.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5549, allocations: 4 kB / 0.5451 GB, free: 8.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001664/0.5566, allocations: 0.9766 MB / 0.546 GB, free: 7.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.5566, allocations: 8.219 kB / 0.546 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.5567, allocations: 16 kB / 0.5461 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.557, allocations: 64.77 kB / 0.5461 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.5581, allocations: 315.5 kB / 0.5464 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.5596, allocations: 1.98 MB / 0.5483 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/0.5603, allocations: 79.98 kB / 0.5484 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.5604, allocations: 47.98 kB / 0.5485 GB, free: 5.285 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.0003784/0.5608, allocations: 282.4 kB / 0.5487 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.5609, allocations: 75.11 kB / 0.5488 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.564, allocations: 2.605 MB / 0.5514 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.104e-05/0.564, allocations: 31.95 kB / 0.5514 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.564, allocations: 0 / 0.5514 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.564, allocations: 3.984 kB / 0.5514 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/0.5684, allocations: 3.797 MB / 0.5551 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5684, allocations: 0 / 0.5551 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009635/0.5694, allocations: 235.7 kB / 0.5553 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.5698, allocations: 96.67 kB / 0.5554 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.5698, allocations: 12 kB / 0.5554 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.5712, allocations: 1.993 MB / 0.5574 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.5713, allocations: 3.953 kB / 0.5574 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.5741, allocations: 2.373 MB / 0.5597 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.5746, allocations: 334.8 kB / 0.56 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.5747, allocations: 12 kB / 0.56 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.5753, allocations: 59.95 kB / 0.5601 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.5754, allocations: 56.38 kB / 0.5601 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.5755, allocations: 16 kB / 0.5602 GB, free: 9.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007764/0.5763, allocations: 0.5576 MB / 0.5607 GB, free: 8.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5763, allocations: 4 kB / 0.5607 GB, free: 8.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004391/0.5807, allocations: 1.093 MB / 0.5618 GB, free: 7.371 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.006231/0.5869, allocations: 1.222 MB / 0.563 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.5895, allocations: 1.108 MB / 0.564 GB, free: 5.043 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.5895, allocations: 0 / 0.564 GB, free: 5.043 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.591, allocations: 0.8283 MB / 0.5649 GB, free: 4.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.5931, allocations: 375.9 kB / 0.5652 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.5971, allocations: 3.029 MB / 0.5682 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.5979, allocations: 1.161 MB / 0.5693 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009598/0.5988, allocations: 434 kB / 0.5697 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.5991, allocations: 67.42 kB / 0.5698 GB, free: 15.11 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5991, allocations: 0 / 0.5698 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Templates: time 0.06363/0.6627, allocations: 46.07 MB / 0.6148 GB, free: 1.023 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: