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.007011/0.007011, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.001526/0.001526, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.541/1.541, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3279/0.3279, allocations: 38 MB / 307.9 MB, free: 10.05 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.001458/0.001458, allocations: 68.56 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3049, allocations: 56.46 MB / 489.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.03592/0.3408, allocations: 39.06 MB / 0.5162 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02483/0.3657, allocations: 20.15 MB / 0.5358 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.367, allocations: 20.47 kB / 0.5358 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.3687, allocations: 448.8 kB / 0.5363 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01755/0.3863, allocations: 5.096 MB / 0.5413 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007167/0.3935, allocations: 2.556 MB / 0.5437 GB, free: 64 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.3963, allocations: 1.981 MB / 0.5457 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006671/0.397, allocations: 0.4897 MB / 0.5462 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009667/0.4066, allocations: 4.172 MB / 0.5502 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/0.418, allocations: 5.436 MB / 0.5555 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.4183, allocations: 68 kB / 0.5556 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.4335, allocations: 7.387 MB / 0.5628 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.4341, allocations: 283.2 kB / 0.5631 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007947/0.4349, allocations: 458 kB / 0.5635 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01641/0.4514, allocations: 5.091 MB / 0.5685 GB, free: 6.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.4514, allocations: 4 kB / 0.5685 GB, free: 6.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4514, allocations: 0 / 0.5685 GB, free: 6.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.4515, allocations: 0 / 0.5685 GB, free: 6.527 MB / 446.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.005207/0.4567, allocations: 1.699 MB / 0.5702 GB, free: 4.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4567, allocations: 11.89 kB / 0.5702 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/0.459, allocations: 295.8 kB / 0.5705 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.46, allocations: 0.5794 MB / 0.571 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.4602, allocations: 125.2 kB / 0.5711 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.4603, allocations: 56.12 kB / 0.5712 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.4631, allocations: 1.193 MB / 0.5724 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.4631, allocations: 11.94 kB / 0.5724 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/0.4632, allocations: 24 kB / 0.5724 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.28e-05/0.4633, allocations: 41.3 kB / 0.5724 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.4659, allocations: 1.023 MB / 0.5734 GB, free: 1.277 MB / 446.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.006522/0.4725, allocations: 5.607 MB / 0.5789 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.4748, allocations: 0.7543 MB / 0.5796 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.4753, allocations: 293.5 kB / 0.5799 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04054/0.5159, allocations: 15.94 MB / 0.5955 GB, free: 8.422 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.772e-05/0.516, allocations: 42.56 kB / 0.5955 GB, free: 8.371 MB / 478.1 MB Notification: Performance of pre-optimization done (n=45): time 3.346e-06/0.516, allocations: 0 / 0.5955 GB, free: 8.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=49): time 0.01194/0.528, allocations: 2.276 MB / 0.5978 GB, free: 6.039 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.5282, allocations: 162.6 kB / 0.5979 GB, free: 5.844 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.5297, allocations: 0.6133 MB / 0.5985 GB, free: 5.223 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.876e-05/0.5298, allocations: 33.73 kB / 0.5985 GB, free: 5.184 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/0.5303, allocations: 395.2 kB / 0.5989 GB, free: 4.793 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.5306, allocations: 177.5 kB / 0.5991 GB, free: 4.617 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.531, allocations: 158.5 kB / 0.5992 GB, free: 4.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002691/0.5313, allocations: 378.8 kB / 0.5996 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.5325, allocations: 273.8 kB / 0.5999 GB, free: 3.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.5341, allocations: 0.6083 MB / 0.6005 GB, free: 3.051 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.537, allocations: 0.9026 MB / 0.6013 GB, free: 2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.537, allocations: 4 kB / 0.6013 GB, free: 1.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003819/0.5408, allocations: 0.9563 MB / 0.6023 GB, free: 1.031 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.5409, allocations: 13 kB / 0.6023 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.5409, allocations: 11.94 kB / 0.6023 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005017/0.5414, allocations: 64.83 kB / 0.6024 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.5439, allocations: 299.5 kB / 0.6026 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.5468, allocations: 2.078 MB / 0.6047 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.5481, allocations: 43.97 kB / 0.6047 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.5483, allocations: 43.98 kB / 0.6048 GB, free: 14.32 MB / 494.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.0007885/0.5491, allocations: 269.3 kB / 0.605 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/0.5495, allocations: 79.19 kB / 0.6051 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005809/0.5553, allocations: 2.547 MB / 0.6076 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.714e-05/0.5554, allocations: 35.94 kB / 0.6076 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5554, allocations: 4 kB / 0.6076 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.5554, allocations: 4 kB / 0.6076 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008648/0.5641, allocations: 3.757 MB / 0.6113 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.5641, allocations: 4 kB / 0.6113 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/0.5664, allocations: 231.7 kB / 0.6115 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006352/0.567, allocations: 88.69 kB / 0.6116 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.5671, allocations: 12 kB / 0.6116 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.5698, allocations: 2.09 MB / 0.6137 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.5698, allocations: 4.031 kB / 0.6137 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005942/0.5757, allocations: 2.343 MB / 0.6159 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007222/0.5765, allocations: 251.3 kB / 0.6162 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.5768, allocations: 35.59 kB / 0.6162 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009848/0.5778, allocations: 31.97 kB / 0.6162 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.578, allocations: 48.5 kB / 0.6163 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.612e-05/0.5781, allocations: 19.98 kB / 0.6163 GB, free: 2.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001492/0.5796, allocations: 0.5615 MB / 0.6169 GB, free: 1.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5796, allocations: 0 / 0.6169 GB, free: 1.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006024/0.5857, allocations: 1.089 MB / 0.6179 GB, free: 0.5273 MB / 494.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.01013/0.5958, allocations: 1.218 MB / 0.6191 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004841/0.6007, allocations: 1.108 MB / 0.6202 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.6007, allocations: 0 / 0.6202 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003183/0.6039, allocations: 0.8212 MB / 0.621 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/0.6079, allocations: 404.5 kB / 0.6214 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/0.6149, allocations: 2.479 MB / 0.6238 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/0.6164, allocations: 1.161 MB / 0.6249 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001725/0.6181, allocations: 434.1 kB / 0.6254 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.6185, allocations: 71.36 kB / 0.6254 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.6185, allocations: 0 / 0.6254 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of Templates: time 0.3257/0.9442, allocations: 47.28 MB / 0.6716 GB, free: 120 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (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)