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.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001423/0.001422, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.576/1.576, allocations: 205.1 MB / 222 MB, free: 4.762 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.3779/0.3779, allocations: 37.98 MB / 307.3 MB, free: 10.12 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.001313/0.001313, allocations: 78.39 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.139, allocations: 56.46 MB / 431 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3452/0.4843, allocations: 40.27 MB / 471.3 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02448/0.5088, allocations: 21.23 MB / 492.5 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.5108, allocations: 28.16 kB / 492.6 MB, free: 19.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.5123, allocations: 399.5 kB / 492.9 MB, free: 18.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01542/0.5277, allocations: 4.162 MB / 497.1 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007452/0.5352, allocations: 2.244 MB / 499.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00329/0.5385, allocations: 2.821 MB / 0.4904 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007783/0.5393, allocations: 416.3 kB / 0.4908 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/0.5496, allocations: 4.031 MB / 0.4947 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01272/0.5624, allocations: 5.446 MB / 0.5001 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003274/0.5628, allocations: 34.38 kB / 0.5001 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01952/0.5823, allocations: 7.131 MB / 0.5071 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007557/0.5831, allocations: 243.2 kB / 0.5073 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000974/0.5841, allocations: 415.4 kB / 0.5077 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02044/0.6045, allocations: 4.941 MB / 0.5125 GB, free: 5.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.6046, allocations: 0 / 0.5125 GB, free: 5.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6046, allocations: 1.594 kB / 0.5125 GB, free: 5.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.086e-05/0.6047, allocations: 0 / 0.5125 GB, free: 5.27 MB / 382.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.007282/0.612, allocations: 1.626 MB / 0.5141 GB, free: 4.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.612, allocations: 16.55 kB / 0.5141 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.6136, allocations: 223.5 kB / 0.5143 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.6148, allocations: 0.5343 MB / 0.5148 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.6149, allocations: 117 kB / 0.515 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.615, allocations: 60.03 kB / 0.515 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.617, allocations: 1.068 MB / 0.5161 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.6171, allocations: 6.594 kB / 0.5161 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/0.6171, allocations: 32.36 kB / 0.5161 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/0.6172, allocations: 47.75 kB / 0.5161 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.6187, allocations: 0.8188 MB / 0.5169 GB, free: 2.23 MB / 382.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.005642/0.6244, allocations: 5.559 MB / 0.5224 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.6257, allocations: 0.5352 MB / 0.5229 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.6261, allocations: 211.6 kB / 0.5231 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09438/0.7205, allocations: 47.47 MB / 0.5694 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/0.7206, allocations: 39.19 kB / 0.5695 GB, free: 9.809 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 3.276e-06/0.7206, allocations: 3.938 kB / 0.5695 GB, free: 9.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.00697/0.7276, allocations: 2.132 MB / 0.5716 GB, free: 7.613 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.7277, allocations: 187.9 kB / 0.5717 GB, free: 7.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/0.7285, allocations: 0.6406 MB / 0.5724 GB, free: 6.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.7286, allocations: 33.7 kB / 0.5724 GB, free: 6.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.7289, allocations: 399.2 kB / 0.5728 GB, free: 6.301 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.729, allocations: 165.7 kB / 0.5729 GB, free: 6.137 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.7292, allocations: 154.5 kB / 0.5731 GB, free: 5.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7294, allocations: 382.8 kB / 0.5735 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.7298, allocations: 229.9 kB / 0.5737 GB, free: 5.371 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.7304, allocations: 0.5867 MB / 0.5743 GB, free: 4.613 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.7315, allocations: 0.8638 MB / 0.5751 GB, free: 3.586 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7315, allocations: 4 kB / 0.5751 GB, free: 3.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001533/0.7331, allocations: 0.9001 MB / 0.576 GB, free: 2.672 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.7331, allocations: 11.98 kB / 0.576 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.7331, allocations: 12 kB / 0.576 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/0.7364, allocations: 268.6 kB / 0.5763 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.7376, allocations: 283.5 kB / 0.5765 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.7394, allocations: 2.021 MB / 0.5785 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008855/0.7403, allocations: 63.94 kB / 0.5786 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.7404, allocations: 39.83 kB / 0.5786 GB, free: 15.83 MB / 462.1 MB 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.000528/0.741, allocations: 282.6 kB / 0.5789 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.7412, allocations: 75.16 kB / 0.5789 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.744, allocations: 2.013 MB / 0.5809 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/0.7441, allocations: 23.97 kB / 0.5809 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7441, allocations: 4 kB / 0.5809 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.7441, allocations: 3.984 kB / 0.5809 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00447/0.7486, allocations: 2.998 MB / 0.5839 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.7486, allocations: 0 / 0.5839 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009137/0.7495, allocations: 179.8 kB / 0.584 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.7513, allocations: 303.9 kB / 0.5843 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.7514, allocations: 15.94 kB / 0.5843 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.7532, allocations: 2.077 MB / 0.5864 GB, free: 7.613 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7532, allocations: 4.031 kB / 0.5864 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.7559, allocations: 1.94 MB / 0.5883 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008093/0.7568, allocations: 227.6 kB / 0.5885 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/0.7571, allocations: 28.55 kB / 0.5885 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007641/0.7579, allocations: 39.95 kB / 0.5885 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.758, allocations: 40.27 kB / 0.5886 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.7581, allocations: 16 kB / 0.5886 GB, free: 5.285 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009253/0.759, allocations: 0.5771 MB / 0.5892 GB, free: 4.711 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.759, allocations: 0 / 0.5892 GB, free: 4.711 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005913/0.7649, allocations: 1.089 MB / 0.5902 GB, free: 3.621 MB / 462.1 MB 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.008455/0.7734, allocations: 1.197 MB / 0.5914 GB, free: 2.422 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.7758, allocations: 0.9207 MB / 0.5923 GB, free: 1.504 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7759, allocations: 0 / 0.5923 GB, free: 1.504 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.7772, allocations: 0.6361 MB / 0.5929 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.7798, allocations: 385.3 kB / 0.5933 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.7842, allocations: 2.538 MB / 0.5958 GB, free: 13.92 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000915/0.7852, allocations: 1.093 MB / 0.5968 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000994/0.7862, allocations: 357.5 kB / 0.5972 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.7864, allocations: 67.38 kB / 0.5972 GB, free: 12.38 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.7864, allocations: 0 / 0.5972 GB, free: 12.38 MB / 478.1 MB Notification: Performance of Templates: time 0.3556/1.142, allocations: 44.62 MB / 0.6408 GB, free: 156.9 MB / 494.1 MB 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)