Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009468/0.0009468, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3661/0.3661, allocations: 38.03 MB / 308.4 MB, free: 10.36 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.0005847/0.0005848, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1373, allocations: 57.52 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2902/0.4275, allocations: 33.12 MB / 467.1 MB, free: 34.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.446, allocations: 17.2 MB / 484.3 MB, free: 26.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.4473, allocations: 25.38 kB / 484.3 MB, free: 26.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.4486, allocations: 391.2 kB / 484.7 MB, free: 26.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0142/0.4628, allocations: 3.988 MB / 488.7 MB, free: 24.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006403/0.4692, allocations: 2.111 MB / 490.8 MB, free: 22.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.4714, allocations: 1.154 MB / 491.9 MB, free: 22.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005991/0.4721, allocations: 436.3 kB / 492.4 MB, free: 22.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009961/0.482, allocations: 6.291 MB / 498.6 MB, free: 21.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01615/0.4982, allocations: 8.764 MB / 0.4955 GB, free: 20.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.4985, allocations: 36.28 kB / 0.4955 GB, free: 20.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01765/0.5162, allocations: 7.177 MB / 0.5026 GB, free: 18.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005769/0.5168, allocations: 235.1 kB / 0.5028 GB, free: 18.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004627/0.5173, allocations: 186.1 kB / 0.503 GB, free: 18.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.5273, allocations: 3.46 MB / 0.5063 GB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.5273, allocations: 0 / 0.5063 GB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5273, allocations: 0 / 0.5063 GB, free: 18.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.5274, allocations: 0 / 0.5063 GB, free: 18.07 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.005827/0.5332, allocations: 1.505 MB / 0.5078 GB, free: 17.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5333, allocations: 12.41 kB / 0.5078 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.5354, allocations: 305.3 kB / 0.5081 GB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000907/0.5363, allocations: 0.5506 MB / 0.5086 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.5365, allocations: 112.7 kB / 0.5088 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5366, allocations: 60 kB / 0.5088 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.5388, allocations: 1.164 MB / 0.51 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.5388, allocations: 7.938 kB / 0.51 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.5389, allocations: 28 kB / 0.51 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/0.539, allocations: 49.22 kB / 0.51 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.5404, allocations: 0.8362 MB / 0.5108 GB, free: 14.05 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.004845/0.5453, allocations: 5.519 MB / 0.5162 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.5463, allocations: 0.5765 MB / 0.5168 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1006/0.647, allocations: 46.62 MB / 0.5623 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.131e-05/0.6471, allocations: 38.56 kB / 0.5624 GB, free: 3.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 3.457e-06/0.6471, allocations: 7.938 kB / 0.5624 GB, free: 3.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.006158/0.6533, allocations: 1.939 MB / 0.5643 GB, free: 1.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.292e-05/0.6534, allocations: 170.1 kB / 0.5644 GB, free: 1.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.6544, allocations: 0.6132 MB / 0.565 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.6545, allocations: 33.7 kB / 0.5651 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.6548, allocations: 391.2 kB / 0.5654 GB, free: 356 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.655, allocations: 169.6 kB / 0.5656 GB, free: 184 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.655, allocations: 20.03 kB / 0.5656 GB, free: 164 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.6552, allocations: 378.8 kB / 0.566 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.6556, allocations: 221.9 kB / 0.5662 GB, free: 15.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.6563, allocations: 0.5639 MB / 0.5667 GB, free: 14.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.6569, allocations: 332.5 kB / 0.567 GB, free: 14.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.6569, allocations: 7.953 kB / 0.5671 GB, free: 14.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001483/0.6584, allocations: 0.8551 MB / 0.5679 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.6584, allocations: 11.94 kB / 0.5679 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.6584, allocations: 16.89 kB / 0.5679 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003459/0.6588, allocations: 72.77 kB / 0.568 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.66, allocations: 279.6 kB / 0.5683 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.6617, allocations: 1.979 MB / 0.5702 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/0.6625, allocations: 68.11 kB / 0.5703 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.6625, allocations: 40 kB / 0.5703 GB, free: 11.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004573/0.663, allocations: 271.9 kB / 0.5706 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.6631, allocations: 71.16 kB / 0.5706 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.6656, allocations: 2.228 MB / 0.5728 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.6657, allocations: 27.95 kB / 0.5728 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6657, allocations: 0 / 0.5728 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.6657, allocations: 12.81 kB / 0.5728 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003801/0.6695, allocations: 3.281 MB / 0.576 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.6696, allocations: 7.922 kB / 0.576 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009072/0.6705, allocations: 187.8 kB / 0.5762 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003933/0.6709, allocations: 92.72 kB / 0.5763 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.6709, allocations: 18.06 kB / 0.5763 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.6724, allocations: 1.991 MB / 0.5783 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6724, allocations: 4.031 kB / 0.5783 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.6747, allocations: 1.991 MB / 0.5802 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.6752, allocations: 287.2 kB / 0.5805 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.6753, allocations: 12 kB / 0.5805 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/0.6759, allocations: 59.89 kB / 0.5806 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.676, allocations: 32.39 kB / 0.5806 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.6761, allocations: 23.98 kB / 0.5806 GB, free: 156 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000677/0.6768, allocations: 0.5068 MB / 0.5811 GB, free: 15.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6768, allocations: 0 / 0.5811 GB, free: 15.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005409/0.6822, allocations: 1.093 MB / 0.5822 GB, free: 14.55 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008683/0.6909, allocations: 1.207 MB / 0.5834 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.6933, allocations: 0.9318 MB / 0.5843 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.6934, allocations: 8.062 kB / 0.5843 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.6949, allocations: 0.6716 MB / 0.5849 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.6974, allocations: 368.1 kB / 0.5853 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.7019, allocations: 2.702 MB / 0.5879 GB, free: 8.645 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.703, allocations: 1.133 MB / 0.589 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001275/0.7043, allocations: 453.8 kB / 0.5895 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.7045, allocations: 63.44 kB / 0.5895 GB, free: 6.973 MB / 462.1 MB Notification: Performance of SimCode: time 1.312e-06/0.7045, allocations: 0 / 0.5895 GB, free: 6.973 MB / 462.1 MB Notification: Performance of Templates: time 0.3062/1.011, allocations: 45.2 MB / 0.6337 GB, free: 149.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) Environment - environmentSimulation: