Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009249/0.009249, allocations: 103.6 kB / 15.73 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.001767/0.001767, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.566/1.566, 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.3004/0.3004, allocations: 37.99 MB / 307.9 MB, free: 10.1 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.001862/0.001862, allocations: 87.81 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3101, allocations: 56.45 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03486/0.345, allocations: 39.06 MB / 0.5162 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02637/0.3714, allocations: 20.14 MB / 0.5358 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.3727, allocations: 19 kB / 0.5358 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.3742, allocations: 449.3 kB / 0.5363 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0154/0.3896, allocations: 5.102 MB / 0.5413 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007403/0.3971, allocations: 2.56 MB / 0.5438 GB, free: 52 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.4, allocations: 1.958 MB / 0.5457 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009626/0.4009, allocations: 489.5 kB / 0.5461 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.4115, allocations: 4.16 MB / 0.5502 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.4237, allocations: 5.413 MB / 0.5555 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.424, allocations: 75.88 kB / 0.5556 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/0.4398, allocations: 7.243 MB / 0.5626 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006301/0.4404, allocations: 279.2 kB / 0.5629 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009904/0.4414, allocations: 442 kB / 0.5633 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.4575, allocations: 4.958 MB / 0.5682 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4575, allocations: 0 / 0.5682 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4576, allocations: 0 / 0.5682 GB, free: 6.879 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.126e-05/0.4576, allocations: 0 / 0.5682 GB, free: 6.879 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.005254/0.4629, allocations: 1.629 MB / 0.5697 GB, free: 5.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4629, allocations: 15.89 kB / 0.5698 GB, free: 5.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.4646, allocations: 223.8 kB / 0.57 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.4657, allocations: 0.5599 MB / 0.5705 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.4658, allocations: 117.2 kB / 0.5706 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.733e-05/0.4659, allocations: 60.12 kB / 0.5707 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.4679, allocations: 1.07 MB / 0.5717 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.4679, allocations: 4 kB / 0.5717 GB, free: 2.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.321e-05/0.468, allocations: 31.98 kB / 0.5718 GB, free: 2.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/0.4681, allocations: 44.92 kB / 0.5718 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.4696, allocations: 0.8194 MB / 0.5726 GB, free: 2.098 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.005851/0.4755, allocations: 5.554 MB / 0.578 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.4767, allocations: 0.5347 MB / 0.5786 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.4771, allocations: 214.4 kB / 0.5788 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09296/0.57, allocations: 47.65 MB / 0.6253 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.144e-05/0.5702, allocations: 42.5 kB / 0.6253 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/0.5702, allocations: 0 / 0.6253 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.006544/0.5767, allocations: 2.13 MB / 0.6274 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.5768, allocations: 187.9 kB / 0.6276 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007781/0.5776, allocations: 0.6447 MB / 0.6282 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.5777, allocations: 33.7 kB / 0.6283 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.578, allocations: 407 kB / 0.6286 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.5781, allocations: 165.7 kB / 0.6288 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.5783, allocations: 150.5 kB / 0.6289 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.5786, allocations: 382.8 kB / 0.6293 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.5789, allocations: 229.9 kB / 0.6295 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.5796, allocations: 0.5861 MB / 0.6301 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2581/0.8377, allocations: 0.8571 MB / 0.6309 GB, free: 139 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/0.8377, allocations: 3.469 kB / 0.6309 GB, free: 139 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001918/0.8397, allocations: 0.901 MB / 0.6318 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.8397, allocations: 10.59 kB / 0.6318 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.8397, allocations: 12.84 kB / 0.6318 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003461/0.8432, allocations: 269.5 kB / 0.6321 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.8444, allocations: 282.5 kB / 0.6324 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.8458, allocations: 2.112 MB / 0.6344 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.8463, allocations: 35.16 kB / 0.6345 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.8464, allocations: 39.03 kB / 0.6345 GB, free: 136.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003623/0.8468, allocations: 280.9 kB / 0.6348 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.8469, allocations: 72.8 kB / 0.6348 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.8493, allocations: 2.003 MB / 0.6368 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/0.8493, allocations: 25.81 kB / 0.6368 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.8493, allocations: 1.094 kB / 0.6368 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.8493, allocations: 3.984 kB / 0.6368 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.8529, allocations: 2.997 MB / 0.6398 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.853, allocations: 0.6094 kB / 0.6398 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009481/0.8539, allocations: 181.9 kB / 0.6399 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.8557, allocations: 307.9 kB / 0.6402 GB, free: 134.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.8557, allocations: 17.27 kB / 0.6402 GB, free: 134.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.857, allocations: 2.174 MB / 0.6424 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.857, allocations: 1.188 kB / 0.6424 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.859, allocations: 1.95 MB / 0.6443 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.8593, allocations: 228.7 kB / 0.6445 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.8594, allocations: 31.5 kB / 0.6445 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.8598, allocations: 16.94 kB / 0.6445 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.8599, allocations: 30.12 kB / 0.6446 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.8599, allocations: 24.27 kB / 0.6446 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007229/0.8607, allocations: 0.5735 MB / 0.6451 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8607, allocations: 0 / 0.6451 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00314/0.8638, allocations: 1.088 MB / 0.6462 GB, free: 130.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004223/0.8681, allocations: 1.191 MB / 0.6474 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.8703, allocations: 0.9191 MB / 0.6483 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.8703, allocations: 6.484 kB / 0.6483 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.8717, allocations: 0.6497 MB / 0.6489 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.002231/0.874, allocations: 397.1 kB / 0.6493 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.877, allocations: 2.12 MB / 0.6514 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.8776, allocations: 1.093 MB / 0.6524 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008484/0.8785, allocations: 355.3 kB / 0.6528 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.8786, allocations: 63.25 kB / 0.6528 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.8786, allocations: 0 / 0.6528 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.05173/0.9304, allocations: 45.69 MB / 0.6974 GB, free: 93.44 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)