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.0009158/0.0009156, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005625/0.005625, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.752/1.752, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.4096/0.4096, allocations: 40 MB / 310.7 MB, free: 9.59 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.0005359/0.0005359, allocations: 12 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1472, allocations: 57.96 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3373/0.4845, allocations: 39.42 MB / 476.8 MB, free: 29.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02268/0.5073, allocations: 20.93 MB / 497.8 MB, free: 16.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.5088, allocations: 28.41 kB / 497.8 MB, free: 16.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.5101, allocations: 391.1 kB / 498.2 MB, free: 16.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.5256, allocations: 4.172 MB / 0.4906 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008509/0.5341, allocations: 2.221 MB / 0.4927 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004149/0.5383, allocations: 2.83 MB / 0.4955 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009612/0.5393, allocations: 415.9 kB / 0.4959 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009033/0.5483, allocations: 4.028 MB / 0.4998 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01193/0.5603, allocations: 5.437 MB / 0.5051 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000321/0.5607, allocations: 34.38 kB / 0.5052 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02333/0.584, allocations: 7.13 MB / 0.5121 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007006/0.5848, allocations: 240.3 kB / 0.5124 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009832/0.5858, allocations: 447.1 kB / 0.5128 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0189/0.6047, allocations: 4.898 MB / 0.5176 GB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.6047, allocations: 1.125 kB / 0.5176 GB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6047, allocations: 0 / 0.5176 GB, free: 1.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.6047, allocations: 0 / 0.5176 GB, free: 1.895 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.00701/0.6118, allocations: 1.462 MB / 0.519 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.6118, allocations: 13.16 kB / 0.519 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.6135, allocations: 223.8 kB / 0.5192 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009072/0.6144, allocations: 0.5494 MB / 0.5198 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.6145, allocations: 109.8 kB / 0.5199 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.6146, allocations: 55.91 kB / 0.5199 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.6171, allocations: 1.075 MB / 0.521 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.6171, allocations: 6.594 kB / 0.521 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/0.6172, allocations: 29.34 kB / 0.521 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.002e-05/0.6173, allocations: 46.08 kB / 0.5211 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.6191, allocations: 0.8201 MB / 0.5219 GB, free: 14.96 MB / 398.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.006601/0.6257, allocations: 5.563 MB / 0.5273 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.6269, allocations: 0.5395 MB / 0.5278 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.6273, allocations: 220.4 kB / 0.528 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09927/0.7265, allocations: 47.87 MB / 0.5748 GB, free: 5.367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.132e-05/0.7266, allocations: 47.17 kB / 0.5748 GB, free: 5.312 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/0.7267, allocations: 0 / 0.5748 GB, free: 5.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006906/0.7336, allocations: 2.136 MB / 0.5769 GB, free: 3.121 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.7338, allocations: 187.9 kB / 0.5771 GB, free: 2.895 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.7349, allocations: 0.6406 MB / 0.5777 GB, free: 2.246 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/0.735, allocations: 37.7 kB / 0.5777 GB, free: 2.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.7354, allocations: 395.2 kB / 0.5781 GB, free: 1.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.7357, allocations: 165.7 kB / 0.5783 GB, free: 1.648 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.7359, allocations: 73.67 kB / 0.5784 GB, free: 1.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003586/0.7362, allocations: 378.8 kB / 0.5787 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.7367, allocations: 229.9 kB / 0.5789 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009286/0.7377, allocations: 0.5946 MB / 0.5795 GB, free: 204 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.7391, allocations: 0.8678 MB / 0.5804 GB, free: 15.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.7392, allocations: 4 kB / 0.5804 GB, free: 15.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001912/0.7411, allocations: 0.8995 MB / 0.5812 GB, free: 14.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.7411, allocations: 15.98 kB / 0.5813 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.7412, allocations: 12 kB / 0.5813 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003288/0.7445, allocations: 269.2 kB / 0.5815 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.7457, allocations: 291.5 kB / 0.5818 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.7475, allocations: 2.014 MB / 0.5838 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/0.7483, allocations: 60.09 kB / 0.5838 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/0.7484, allocations: 40 kB / 0.5839 GB, free: 11.41 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.0004838/0.7489, allocations: 282 kB / 0.5841 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.7491, allocations: 71.16 kB / 0.5842 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.7516, allocations: 2.018 MB / 0.5862 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/0.7517, allocations: 27.95 kB / 0.5862 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.7517, allocations: 0 / 0.5862 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7517, allocations: 0 / 0.5862 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.7554, allocations: 2.994 MB / 0.5891 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.7554, allocations: 8.047 kB / 0.5891 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008941/0.7563, allocations: 183.8 kB / 0.5893 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.7582, allocations: 307.9 kB / 0.5896 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.7582, allocations: 15.94 kB / 0.5896 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.7601, allocations: 2.08 MB / 0.5916 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.7602, allocations: 4.125 kB / 0.5917 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.7625, allocations: 1.947 MB / 0.5936 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/0.763, allocations: 283.4 kB / 0.5938 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/0.7631, allocations: 12 kB / 0.5938 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.7635, allocations: 39.89 kB / 0.5939 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.7636, allocations: 32.33 kB / 0.5939 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.7637, allocations: 15.98 kB / 0.5939 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007828/0.7645, allocations: 0.5771 MB / 0.5945 GB, free: 248 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7645, allocations: 0 / 0.5945 GB, free: 248 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.005872/0.7704, allocations: 1.089 MB / 0.5955 GB, free: 15.15 MB / 478.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.006953/0.7773, allocations: 1.198 MB / 0.5967 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.7797, allocations: 0.9207 MB / 0.5976 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7797, allocations: 0 / 0.5976 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.7809, allocations: 0.64 MB / 0.5982 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.7835, allocations: 379.5 kB / 0.5986 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.7874, allocations: 2.638 MB / 0.6012 GB, free: 9.348 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.7881, allocations: 1.097 MB / 0.6022 GB, free: 8.227 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008191/0.7889, allocations: 338.3 kB / 0.6026 GB, free: 7.891 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.7891, allocations: 63.44 kB / 0.6026 GB, free: 7.832 MB / 478.1 MB Notification: Performance of SimCode: time 1.552e-06/0.7891, allocations: 4 kB / 0.6026 GB, free: 7.828 MB / 478.1 MB Notification: Performance of Templates: time 0.3178/1.107, allocations: 44.52 MB / 0.6461 GB, free: 151.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: