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.008362/0.008362, allocations: 105.9 kB / 15.73 MB, free: 6 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.001418/0.001418, allocations: 189 kB / 16.67 MB, free: 5.926 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.596/1.596, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.3781/0.3781, allocations: 38 MB / 307.9 MB, free: 10.04 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.001507/0.001507, allocations: 71.91 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3499, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04537/0.3953, allocations: 39.06 MB / 0.5162 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0277/0.4231, allocations: 20.14 MB / 0.5358 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.4248, allocations: 23.84 kB / 0.5358 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.4266, allocations: 453.2 kB / 0.5363 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02235/0.449, allocations: 5.108 MB / 0.5413 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.4595, allocations: 2.552 MB / 0.5438 GB, free: 52 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003758/0.4632, allocations: 1.954 MB / 0.5457 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.4643, allocations: 485.5 kB / 0.5461 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01252/0.4769, allocations: 4.152 MB / 0.5502 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01438/0.4913, allocations: 5.413 MB / 0.5555 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004652/0.4918, allocations: 68 kB / 0.5555 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01843/0.5103, allocations: 7.243 MB / 0.5626 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006125/0.5109, allocations: 279.2 kB / 0.5629 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008531/0.5118, allocations: 442 kB / 0.5633 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.5281, allocations: 4.962 MB / 0.5681 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.5282, allocations: 0 / 0.5681 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5282, allocations: 0 / 0.5681 GB, free: 6.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.5282, allocations: 4 kB / 0.5681 GB, free: 6.895 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.005403/0.5336, allocations: 1.633 MB / 0.5697 GB, free: 5.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.5337, allocations: 11.89 kB / 0.5697 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.5352, allocations: 219.8 kB / 0.57 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.5363, allocations: 0.5638 MB / 0.5705 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.5364, allocations: 109.3 kB / 0.5706 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.5365, allocations: 60.11 kB / 0.5707 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.5385, allocations: 1.078 MB / 0.5717 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.5385, allocations: 0 / 0.5717 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.5386, allocations: 31.98 kB / 0.5718 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.057e-05/0.5387, allocations: 48.92 kB / 0.5718 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.5403, allocations: 0.8155 MB / 0.5726 GB, free: 2.117 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.006113/0.5465, allocations: 5.55 MB / 0.578 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.5478, allocations: 0.5385 MB / 0.5785 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.5482, allocations: 214.4 kB / 0.5787 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1037/0.6519, allocations: 47.65 MB / 0.6253 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.652, allocations: 42.5 kB / 0.6253 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/0.652, allocations: 0 / 0.6253 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.006955/0.659, allocations: 2.122 MB / 0.6274 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.6591, allocations: 195.9 kB / 0.6276 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008236/0.66, allocations: 0.6329 MB / 0.6282 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.66, allocations: 33.7 kB / 0.6282 GB, free: 3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.6603, allocations: 403.1 kB / 0.6286 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.6605, allocations: 161.8 kB / 0.6288 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.6607, allocations: 162.4 kB / 0.6289 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6608, allocations: 378.7 kB / 0.6293 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.6612, allocations: 233.9 kB / 0.6295 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/0.6622, allocations: 0.5822 MB / 0.6301 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2686/0.9308, allocations: 0.8638 MB / 0.6309 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/0.9308, allocations: 4.344 kB / 0.6309 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001804/0.9326, allocations: 0.8944 MB / 0.6318 GB, free: 139 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.9327, allocations: 10.66 kB / 0.6318 GB, free: 139 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.9327, allocations: 14.31 kB / 0.6318 GB, free: 139 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003419/0.9361, allocations: 270.4 kB / 0.6321 GB, free: 139 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.9375, allocations: 280.3 kB / 0.6324 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.9392, allocations: 2.127 MB / 0.6344 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006966/0.9399, allocations: 29.31 kB / 0.6345 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.94, allocations: 43.62 kB / 0.6345 GB, free: 136.9 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.0004719/0.9405, allocations: 270.2 kB / 0.6348 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.9409, allocations: 76.86 kB / 0.6348 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/0.9437, allocations: 2.005 MB / 0.6368 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/0.9437, allocations: 26.22 kB / 0.6368 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9437, allocations: 0.75 kB / 0.6368 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.9437, allocations: 3.391 kB / 0.6368 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/0.9483, allocations: 2.994 MB / 0.6397 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.9483, allocations: 1.219 kB / 0.6397 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009655/0.9493, allocations: 183.2 kB / 0.6399 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/0.9512, allocations: 303.3 kB / 0.6402 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.9513, allocations: 19.5 kB / 0.6402 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.9527, allocations: 2.179 MB / 0.6424 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9527, allocations: 0 / 0.6424 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.9552, allocations: 1.947 MB / 0.6443 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.9556, allocations: 222.4 kB / 0.6445 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.9558, allocations: 31.69 kB / 0.6445 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.9562, allocations: 20.47 kB / 0.6445 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.9563, allocations: 34.59 kB / 0.6445 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.9564, allocations: 22.56 kB / 0.6446 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009892/0.9574, allocations: 0.5731 MB / 0.6451 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9574, allocations: 0 / 0.6451 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004694/0.9621, allocations: 1.087 MB / 0.6462 GB, free: 130.6 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.004519/0.9666, allocations: 1.197 MB / 0.6474 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002244/0.9689, allocations: 0.9223 MB / 0.6483 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9689, allocations: 0 / 0.6483 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.9702, allocations: 0.6436 MB / 0.6489 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.9725, allocations: 401.7 kB / 0.6493 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.9758, allocations: 2.116 MB / 0.6513 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/0.9765, allocations: 1.103 MB / 0.6524 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009093/0.9774, allocations: 340 kB / 0.6527 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.9776, allocations: 60.31 kB / 0.6528 GB, free: 128 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/0.9776, allocations: 0 / 0.6528 GB, free: 128 MB / 0.4981 GB Notification: Performance of Templates: time 0.05631/1.034, allocations: 45.47 MB / 0.6972 GB, free: 93.68 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)