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.009372/0.009372, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001791/0.001791, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.593/1.593, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3394/0.3394, allocations: 39.94 MB / 309.8 MB, free: 9.352 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.00151/0.00151, allocations: 67.91 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3476, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.0392/0.3868, allocations: 39.06 MB / 0.5193 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02547/0.4123, allocations: 20.14 MB / 0.5389 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.4137, allocations: 19.88 kB / 0.539 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.4153, allocations: 449.3 kB / 0.5394 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01967/0.435, allocations: 5.113 MB / 0.5444 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.446, allocations: 2.568 MB / 0.5469 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003345/0.4493, allocations: 1.966 MB / 0.5488 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.4505, allocations: 0.4897 MB / 0.5493 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01085/0.4614, allocations: 4.164 MB / 0.5534 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.4734, allocations: 5.432 MB / 0.5587 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003431/0.4738, allocations: 72 kB / 0.5587 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01773/0.4915, allocations: 7.375 MB / 0.5659 GB, free: 9.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000608/0.4922, allocations: 287.2 kB / 0.5662 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008322/0.493, allocations: 454 kB / 0.5666 GB, free: 8.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01492/0.5079, allocations: 5.099 MB / 0.5716 GB, free: 3.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.508, allocations: 0 / 0.5716 GB, free: 3.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.508, allocations: 0 / 0.5716 GB, free: 3.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.508, allocations: 0 / 0.5716 GB, free: 3.328 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.005122/0.5132, allocations: 1.691 MB / 0.5733 GB, free: 1.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5132, allocations: 15.88 kB / 0.5733 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.5154, allocations: 299.6 kB / 0.5736 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009853/0.5164, allocations: 0.5794 MB / 0.5741 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.5166, allocations: 121.2 kB / 0.5743 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.5167, allocations: 64.12 kB / 0.5743 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.5192, allocations: 1.181 MB / 0.5755 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.5193, allocations: 4 kB / 0.5755 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-05/0.5194, allocations: 39.97 kB / 0.5755 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.803e-05/0.5194, allocations: 45.23 kB / 0.5756 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.522, allocations: 1.027 MB / 0.5766 GB, free: 14.07 MB / 462.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.006573/0.5286, allocations: 5.595 MB / 0.582 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/0.531, allocations: 0.7587 MB / 0.5828 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/0.5316, allocations: 293.5 kB / 0.583 GB, free: 7.031 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03491/0.5665, allocations: 15.94 MB / 0.5986 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.5666, allocations: 38.56 kB / 0.5986 GB, free: 5.176 MB / 478.1 MB Notification: Performance of pre-optimization done (n=45): time 2.425e-06/0.5666, allocations: 0 / 0.5986 GB, free: 5.176 MB / 478.1 MB Notification: Performance of matching and sorting (n=49): time 0.0071/0.5737, allocations: 2.28 MB / 0.6009 GB, free: 2.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.5739, allocations: 162.6 kB / 0.601 GB, free: 2.645 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007947/0.5747, allocations: 0.6093 MB / 0.6016 GB, free: 2.027 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.5747, allocations: 41.73 kB / 0.6017 GB, free: 1.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.5751, allocations: 387.2 kB / 0.602 GB, free: 1.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.5752, allocations: 173.6 kB / 0.6022 GB, free: 1.426 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.5755, allocations: 162.5 kB / 0.6023 GB, free: 1.262 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5756, allocations: 374.8 kB / 0.6027 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.5763, allocations: 285.8 kB / 0.603 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009298/0.5772, allocations: 0.6044 MB / 0.6036 GB, free: 15.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.5788, allocations: 0.9026 MB / 0.6044 GB, free: 14.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5788, allocations: 4 kB / 0.6044 GB, free: 14.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001998/0.5808, allocations: 0.9611 MB / 0.6054 GB, free: 13.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.5808, allocations: 15.92 kB / 0.6054 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.5808, allocations: 12 kB / 0.6054 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/0.5811, allocations: 64.86 kB / 0.6055 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.5825, allocations: 291.6 kB / 0.6058 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.5841, allocations: 2.082 MB / 0.6078 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/0.5847, allocations: 43.97 kB / 0.6078 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.5848, allocations: 43.98 kB / 0.6079 GB, free: 11.11 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.0004307/0.5852, allocations: 273.3 kB / 0.6081 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.5854, allocations: 83.22 kB / 0.6082 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.5888, allocations: 2.535 MB / 0.6107 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/0.5889, allocations: 31.95 kB / 0.6107 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.5889, allocations: 3.984 kB / 0.6107 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5889, allocations: 4 kB / 0.6107 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005609/0.5945, allocations: 3.757 MB / 0.6144 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.5945, allocations: 0 / 0.6144 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.5958, allocations: 231.7 kB / 0.6146 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/0.5962, allocations: 84.78 kB / 0.6147 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-05/0.5963, allocations: 16 kB / 0.6147 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.5986, allocations: 2.091 MB / 0.6168 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.5986, allocations: 3.938 kB / 0.6168 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/0.602, allocations: 2.347 MB / 0.619 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.6025, allocations: 255.3 kB / 0.6193 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.6026, allocations: 31.69 kB / 0.6193 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.6031, allocations: 31.97 kB / 0.6194 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.6032, allocations: 48.44 kB / 0.6194 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.6033, allocations: 23.98 kB / 0.6194 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009027/0.6042, allocations: 0.5576 MB / 0.62 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.6042, allocations: 0 / 0.62 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003694/0.6079, allocations: 1.089 MB / 0.621 GB, free: 13.34 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: 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.005895/0.6138, allocations: 1.215 MB / 0.6222 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002974/0.6168, allocations: 1.112 MB / 0.6233 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.6168, allocations: 0 / 0.6233 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.6186, allocations: 0.8211 MB / 0.6241 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.6209, allocations: 407.8 kB / 0.6245 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.6251, allocations: 2.474 MB / 0.6269 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009569/0.6261, allocations: 1.165 MB / 0.628 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008406/0.6269, allocations: 430.1 kB / 0.6285 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.6271, allocations: 71.42 kB / 0.6285 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of SimCode: time 6.72e-07/0.6271, allocations: 0 / 0.6285 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of Templates: time 0.351/0.9781, allocations: 47.03 MB / 0.6745 GB, free: 114.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (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)