Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.006531/0.006531, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001451/0.001451, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.626/1.626, allocations: 205.1 MB / 222.6 MB, free: 4.238 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.3308/0.3308, allocations: 39.94 MB / 309.9 MB, free: 9.766 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.001752/0.001752, allocations: 63.91 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3562, allocations: 56.87 MB / 492.7 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03926/0.3955, allocations: 39.06 MB / 0.5193 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02783/0.4234, allocations: 20.13 MB / 0.5389 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.4252, allocations: 19.88 kB / 0.539 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.4269, allocations: 457.3 kB / 0.5394 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01882/0.4457, allocations: 5.102 MB / 0.5444 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008207/0.4539, allocations: 2.564 MB / 0.5469 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.4568, allocations: 1.958 MB / 0.5488 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007661/0.4576, allocations: 485.5 kB / 0.5493 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.4678, allocations: 4.145 MB / 0.5533 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01221/0.4801, allocations: 5.413 MB / 0.5586 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003633/0.4805, allocations: 68 kB / 0.5587 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01755/0.4981, allocations: 7.246 MB / 0.5657 GB, free: 9.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005221/0.4987, allocations: 275.3 kB / 0.566 GB, free: 9.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007991/0.4995, allocations: 442 kB / 0.5664 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.515, allocations: 4.968 MB / 0.5713 GB, free: 3.676 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.515, allocations: 7.938 kB / 0.5713 GB, free: 3.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.515, allocations: 0 / 0.5713 GB, free: 3.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.5151, allocations: 4 kB / 0.5713 GB, free: 3.664 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.004913/0.52, allocations: 1.66 MB / 0.5729 GB, free: 1.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.52, allocations: 19.89 kB / 0.5729 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.5215, allocations: 224.3 kB / 0.5731 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.5224, allocations: 0.5643 MB / 0.5737 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.5225, allocations: 113.3 kB / 0.5738 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.579e-05/0.5226, allocations: 68.05 kB / 0.5739 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.5246, allocations: 1.07 MB / 0.5749 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.5246, allocations: 11.92 kB / 0.5749 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.5247, allocations: 28 kB / 0.5749 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.569e-05/0.5248, allocations: 44.97 kB / 0.575 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.5264, allocations: 0.8193 MB / 0.5758 GB, free: 14.84 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.005527/0.532, allocations: 5.551 MB / 0.5812 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.5332, allocations: 0.5514 MB / 0.5817 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.5335, allocations: 210.4 kB / 0.5819 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09484/0.6284, allocations: 47.66 MB / 0.6285 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.444e-05/0.6285, allocations: 38.56 kB / 0.6285 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 3.106e-06/0.6285, allocations: 0 / 0.6285 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.007207/0.6357, allocations: 2.145 MB / 0.6306 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.6359, allocations: 191.9 kB / 0.6308 GB, free: 372 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3225/0.9584, allocations: 0.6374 MB / 0.6314 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.9586, allocations: 34.95 kB / 0.6315 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.9591, allocations: 408.8 kB / 0.6319 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.9593, allocations: 173.5 kB / 0.632 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.9596, allocations: 159.8 kB / 0.6322 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.9599, allocations: 376.8 kB / 0.6325 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.9605, allocations: 231.4 kB / 0.6327 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/0.9612, allocations: 0.5925 MB / 0.6333 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.9624, allocations: 0.8597 MB / 0.6342 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.9624, allocations: 7.25 kB / 0.6342 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00185/0.9643, allocations: 0.9014 MB / 0.6351 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.9643, allocations: 13.19 kB / 0.6351 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.9644, allocations: 11.62 kB / 0.6351 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003191/0.9676, allocations: 275.8 kB / 0.6353 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.9689, allocations: 282.7 kB / 0.6356 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.9704, allocations: 2.118 MB / 0.6377 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.9711, allocations: 29.91 kB / 0.6377 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.9712, allocations: 49.92 kB / 0.6378 GB, free: 135.1 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.0004687/0.9717, allocations: 272.6 kB / 0.638 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.9719, allocations: 76.41 kB / 0.6381 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.9747, allocations: 2.008 MB / 0.64 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.422e-05/0.9748, allocations: 29.92 kB / 0.6401 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.9748, allocations: 1.312 kB / 0.6401 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.9748, allocations: 2.812 kB / 0.6401 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/0.9796, allocations: 2.996 MB / 0.643 GB, free: 132.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.9796, allocations: 2.391 kB / 0.643 GB, free: 132.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.9806, allocations: 187.2 kB / 0.6432 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.9824, allocations: 298.9 kB / 0.6435 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/0.9825, allocations: 14.22 kB / 0.6435 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.984, allocations: 2.177 MB / 0.6456 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.984, allocations: 1.625 kB / 0.6456 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.9863, allocations: 1.953 MB / 0.6475 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.9867, allocations: 228.4 kB / 0.6477 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.9868, allocations: 31.53 kB / 0.6478 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.9872, allocations: 18.84 kB / 0.6478 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.9873, allocations: 30.62 kB / 0.6478 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.9874, allocations: 19.48 kB / 0.6478 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008393/0.9882, allocations: 0.5747 MB / 0.6484 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9882, allocations: 2.734 kB / 0.6484 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003774/0.992, allocations: 1.091 MB / 0.6495 GB, free: 128.7 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.004468/0.9965, allocations: 1.205 MB / 0.6506 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.999, allocations: 0.9253 MB / 0.6515 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.999, allocations: 0.875 kB / 0.6515 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/1, allocations: 0.6449 MB / 0.6522 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/1.003, allocations: 412 kB / 0.6526 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/1.007, allocations: 2.138 MB / 0.6547 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/1.008, allocations: 1.097 MB / 0.6557 GB, free: 126 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001035/1.009, allocations: 352.4 kB / 0.6561 GB, free: 126 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/1.009, allocations: 59.09 kB / 0.6561 GB, free: 126 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/1.009, allocations: 0 / 0.6561 GB, free: 126 MB / 0.4981 GB Notification: Performance of Templates: time 0.05164/1.061, allocations: 45.46 MB / 0.7005 GB, free: 87.89 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)