Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008391/0.008391, allocations: 103.3 kB / 15.73 MB, free: 6.035 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.001889/0.001889, allocations: 198.5 kB / 16.68 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.563/1.563, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.3589/0.3589, allocations: 38 MB / 307.9 MB, free: 10.06 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.001884/0.001884, allocations: 72.56 kB / 433 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3923, allocations: 56.47 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.05928/0.4516, allocations: 39.05 MB / 0.5162 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03087/0.4825, allocations: 20.14 MB / 0.5358 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.4838, allocations: 24.44 kB / 0.5358 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.4856, allocations: 448.5 kB / 0.5363 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0198/0.5054, allocations: 5.1 MB / 0.5413 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009009/0.5145, allocations: 2.564 MB / 0.5438 GB, free: 36 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003408/0.5179, allocations: 1.989 MB / 0.5457 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008584/0.5188, allocations: 0.4897 MB / 0.5462 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.5288, allocations: 4.184 MB / 0.5503 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.5398, allocations: 5.42 MB / 0.5556 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003559/0.5402, allocations: 72 kB / 0.5556 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/0.5592, allocations: 7.391 MB / 0.5628 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006365/0.5598, allocations: 291.1 kB / 0.5631 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008332/0.5607, allocations: 454 kB / 0.5636 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.576, allocations: 5.118 MB / 0.5686 GB, free: 6.461 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.576, allocations: 0 / 0.5686 GB, free: 6.461 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5761, allocations: 4 kB / 0.5686 GB, free: 6.457 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.5761, allocations: 0 / 0.5686 GB, free: 6.457 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.004983/0.5811, allocations: 1.668 MB / 0.5702 GB, free: 4.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.5811, allocations: 8.031 kB / 0.5702 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.5834, allocations: 291.8 kB / 0.5705 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.5848, allocations: 0.5872 MB / 0.571 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.585, allocations: 117.2 kB / 0.5712 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.5851, allocations: 60.12 kB / 0.5712 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.5876, allocations: 1.158 MB / 0.5723 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.5876, allocations: 3.938 kB / 0.5723 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-05/0.5877, allocations: 36 kB / 0.5724 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.807e-05/0.5878, allocations: 45.3 kB / 0.5724 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.5894, allocations: 0.8401 MB / 0.5732 GB, free: 1.453 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.006326/0.5958, allocations: 5.493 MB / 0.5786 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.597, allocations: 0.5755 MB / 0.5792 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.5973, allocations: 225.6 kB / 0.5794 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1005/0.6978, allocations: 46.39 MB / 0.6247 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.304e-05/0.6979, allocations: 42.5 kB / 0.6247 GB, free: 7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 2.525e-06/0.698, allocations: 0 / 0.6247 GB, free: 7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.006024/0.704, allocations: 1.931 MB / 0.6266 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.7041, allocations: 166.1 kB / 0.6268 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.7049, allocations: 0.6172 MB / 0.6274 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.705, allocations: 37.7 kB / 0.6274 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.7053, allocations: 395.1 kB / 0.6278 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.7054, allocations: 161.7 kB / 0.6279 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.7057, allocations: 162.5 kB / 0.6281 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.7059, allocations: 378.8 kB / 0.6285 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.7063, allocations: 233.8 kB / 0.6287 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.707, allocations: 0.5601 MB / 0.6292 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.7081, allocations: 0.8368 MB / 0.63 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.7081, allocations: 8 kB / 0.6301 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001427/0.7096, allocations: 0.8752 MB / 0.6309 GB, free: 216 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.7096, allocations: 8 kB / 0.6309 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.7096, allocations: 12 kB / 0.6309 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.7099, allocations: 60.83 kB / 0.631 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3004/1.01, allocations: 279.2 kB / 0.6313 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/1.012, allocations: 2.074 MB / 0.6333 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007072/1.013, allocations: 29.95 kB / 0.6333 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/1.013, allocations: 42.08 kB / 0.6333 GB, free: 136.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.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 (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.0004572/1.013, allocations: 273.1 kB / 0.6336 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/1.013, allocations: 74.45 kB / 0.6337 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/1.016, allocations: 2.205 MB / 0.6358 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.818e-05/1.016, allocations: 33.84 kB / 0.6359 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.016, allocations: 4.922 kB / 0.6359 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.016, allocations: 2.531 kB / 0.6359 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/1.021, allocations: 3.286 MB / 0.6391 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.021, allocations: 1.031 kB / 0.6391 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000968/1.022, allocations: 195.7 kB / 0.6393 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/1.023, allocations: 84 kB / 0.6393 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/1.023, allocations: 9.531 kB / 0.6394 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/1.024, allocations: 2.093 MB / 0.6414 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.024, allocations: 1 kB / 0.6414 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/1.026, allocations: 1.994 MB / 0.6434 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/1.027, allocations: 242.1 kB / 0.6436 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/1.027, allocations: 26.84 kB / 0.6436 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/1.027, allocations: 31.42 kB / 0.6436 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/1.028, allocations: 33.72 kB / 0.6437 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/1.028, allocations: 23 kB / 0.6437 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007449/1.028, allocations: 0.508 MB / 0.6442 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.028, allocations: 0 / 0.6442 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004357/1.033, allocations: 1.085 MB / 0.6452 GB, free: 130.5 MB / 0.4981 GB 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.004296/1.037, allocations: 1.214 MB / 0.6464 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00208/1.039, allocations: 0.9402 MB / 0.6474 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.039, allocations: 2.688 kB / 0.6474 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/1.04, allocations: 0.6721 MB / 0.648 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.042, allocations: 385.1 kB / 0.6484 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/1.046, allocations: 2.244 MB / 0.6506 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/1.046, allocations: 1.113 MB / 0.6517 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009862/1.047, allocations: 457.6 kB / 0.6521 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/1.047, allocations: 65.53 kB / 0.6522 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/1.047, allocations: 2.516 kB / 0.6522 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.05508/1.102, allocations: 46.22 MB / 0.6973 GB, free: 93.66 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)