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.00626/0.00626, allocations: 107.5 kB / 15.74 MB, free: 6.051 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.001137/0.001137, allocations: 192.9 kB / 16.67 MB, free: 5.98 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.569/1.569, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1867/0.1867, allocations: 38 MB / 307.9 MB, free: 5.992 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.001854/0.001854, allocations: 74.27 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1214, allocations: 56.47 MB / 489.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3277/0.4491, allocations: 39.03 MB / 0.5161 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02282/0.472, allocations: 20.15 MB / 0.5358 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009242/0.4729, allocations: 24.12 kB / 0.5358 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.4742, allocations: 445.5 kB / 0.5363 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01654/0.4908, allocations: 5.128 MB / 0.5413 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008662/0.4995, allocations: 2.565 MB / 0.5438 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003477/0.503, allocations: 1.999 MB / 0.5457 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007743/0.5037, allocations: 0.4952 MB / 0.5462 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/0.5149, allocations: 4.176 MB / 0.5503 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01254/0.5275, allocations: 5.423 MB / 0.5556 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003114/0.5279, allocations: 71.84 kB / 0.5557 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01711/0.545, allocations: 7.374 MB / 0.5629 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006001/0.5456, allocations: 289.5 kB / 0.5631 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000877/0.5465, allocations: 458.9 kB / 0.5636 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.5637, allocations: 5.108 MB / 0.5686 GB, free: 1.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5637, allocations: 0 / 0.5686 GB, free: 1.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.5637, allocations: 4 kB / 0.5686 GB, free: 1.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.5638, allocations: 3.938 kB / 0.5686 GB, free: 1.441 MB / 414.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.005143/0.5689, allocations: 1.668 MB / 0.5702 GB, free: 15.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.569, allocations: 8.031 kB / 0.5702 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.5711, allocations: 299.7 kB / 0.5705 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009331/0.5721, allocations: 0.5755 MB / 0.571 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.5722, allocations: 113.3 kB / 0.5712 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.5723, allocations: 64.36 kB / 0.5712 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.5746, allocations: 1.161 MB / 0.5724 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.5747, allocations: 3.938 kB / 0.5724 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.5748, allocations: 28 kB / 0.5724 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/0.5748, allocations: 46.67 kB / 0.5724 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.5765, allocations: 0.844 MB / 0.5733 GB, free: 12.45 MB / 430.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.00594/0.5824, allocations: 5.501 MB / 0.5786 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5837, allocations: 0.5768 MB / 0.5792 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.584, allocations: 225.6 kB / 0.5794 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09227/0.6763, allocations: 46.4 MB / 0.6247 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/0.6764, allocations: 46.5 kB / 0.6248 GB, free: 1.988 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 3.226e-06/0.6764, allocations: 4 kB / 0.6248 GB, free: 1.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=46): time 0.006278/0.6827, allocations: 1.94 MB / 0.6267 GB, free: 15.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.6828, allocations: 158.2 kB / 0.6268 GB, free: 15.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.6838, allocations: 0.621 MB / 0.6274 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/0.6839, allocations: 37.7 kB / 0.6274 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.6842, allocations: 395.1 kB / 0.6278 GB, free: 14.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.6843, allocations: 165.7 kB / 0.628 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.6846, allocations: 154.5 kB / 0.6281 GB, free: 14.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6848, allocations: 382.8 kB / 0.6285 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.6852, allocations: 225.9 kB / 0.6287 GB, free: 13.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007561/0.686, allocations: 0.5639 MB / 0.6293 GB, free: 13.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.6871, allocations: 0.837 MB / 0.6301 GB, free: 12.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.6872, allocations: 4 kB / 0.6301 GB, free: 12.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001592/0.6888, allocations: 0.8712 MB / 0.6309 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.6888, allocations: 8 kB / 0.6309 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.6888, allocations: 12 kB / 0.631 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.6891, allocations: 60.83 kB / 0.631 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.6904, allocations: 283.9 kB / 0.6313 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.6922, allocations: 2.07 MB / 0.6333 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.6928, allocations: 31.94 kB / 0.6333 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/0.6929, allocations: 40 kB / 0.6334 GB, free: 8.547 MB / 494.1 MB 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.0004874/0.6934, allocations: 289.4 kB / 0.6336 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.6936, allocations: 71.16 kB / 0.6337 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.6963, allocations: 2.204 MB / 0.6359 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/0.6964, allocations: 31.95 kB / 0.6359 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6964, allocations: 3.938 kB / 0.6359 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.6964, allocations: 7.922 kB / 0.6359 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/0.7006, allocations: 3.276 MB / 0.6391 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.7006, allocations: 11.92 kB / 0.6391 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/0.7015, allocations: 191.7 kB / 0.6393 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/0.7018, allocations: 88.78 kB / 0.6394 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.7019, allocations: 8 kB / 0.6394 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.7034, allocations: 2.09 MB / 0.6414 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7034, allocations: 0 / 0.6414 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.7058, allocations: 1.987 MB / 0.6434 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.7062, allocations: 243.5 kB / 0.6436 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.7063, allocations: 27.72 kB / 0.6436 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/0.7068, allocations: 35.91 kB / 0.6437 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/0.7069, allocations: 36.45 kB / 0.6437 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.707, allocations: 23.98 kB / 0.6437 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000667/0.7077, allocations: 0.5068 MB / 0.6442 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7077, allocations: 0 / 0.6442 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003777/0.7115, allocations: 1.089 MB / 0.6453 GB, free: 12.03 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.005295/0.7168, allocations: 1.202 MB / 0.6465 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.7189, allocations: 0.9431 MB / 0.6474 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.7189, allocations: 3.938 kB / 0.6474 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.7202, allocations: 0.6682 MB / 0.648 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.7222, allocations: 394.7 kB / 0.6484 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.7258, allocations: 2.233 MB / 0.6506 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.7265, allocations: 1.113 MB / 0.6517 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009396/0.7275, allocations: 457.4 kB / 0.6521 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.7277, allocations: 63.44 kB / 0.6522 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.7277, allocations: 0 / 0.6522 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of Templates: time 0.07398/0.8017, allocations: 46 MB / 0.6971 GB, free: 6.887 MB / 0.545 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)