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.0009217/0.0009217, allocations: 97.64 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.006605/0.006605, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.401/1.401, allocations: 205.4 MB / 222.4 MB, free: 5.527 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.2997/0.2997, allocations: 38.03 MB / 308.8 MB, free: 10.39 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.0005829/0.000583, allocations: 16 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.101, allocations: 57.52 MB / 434.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.227/0.328, allocations: 39.41 MB / 474 MB, free: 32.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.022/0.35, allocations: 20.93 MB / 494.9 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.3513, allocations: 21.59 kB / 494.9 MB, free: 19.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.3528, allocations: 407.1 kB / 495.3 MB, free: 19.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.3666, allocations: 4.153 MB / 499.5 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006656/0.3733, allocations: 2.234 MB / 0.49 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003102/0.3764, allocations: 2.852 MB / 0.4928 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006662/0.3771, allocations: 434.3 kB / 0.4932 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007473/0.3846, allocations: 4.048 MB / 0.4971 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009635/0.3943, allocations: 5.446 MB / 0.5024 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.3946, allocations: 35.75 kB / 0.5025 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01427/0.4088, allocations: 7.265 MB / 0.5096 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004765/0.4094, allocations: 248.3 kB / 0.5098 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.41, allocations: 458 kB / 0.5102 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.4236, allocations: 5.049 MB / 0.5152 GB, free: 5.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.4236, allocations: 0 / 0.5152 GB, free: 5.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4237, allocations: 3.938 kB / 0.5152 GB, free: 5.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.4237, allocations: 0 / 0.5152 GB, free: 5.371 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.005167/0.4288, allocations: 1.491 MB / 0.5166 GB, free: 4.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4289, allocations: 12.78 kB / 0.5167 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.431, allocations: 310.5 kB / 0.5169 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008122/0.4319, allocations: 0.5633 MB / 0.5175 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.432, allocations: 110 kB / 0.5176 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4321, allocations: 59.11 kB / 0.5177 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.4344, allocations: 1.176 MB / 0.5188 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.4344, allocations: 6.125 kB / 0.5188 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.4345, allocations: 29.72 kB / 0.5188 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/0.4346, allocations: 37.67 kB / 0.5189 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.4361, allocations: 0.8465 MB / 0.5197 GB, free: 2.332 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.005782/0.4419, allocations: 5.538 MB / 0.5251 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.4432, allocations: 0.5874 MB / 0.5257 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.4436, allocations: 222.5 kB / 0.5259 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09603/0.5396, allocations: 46.61 MB / 0.5714 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.5397, allocations: 42.5 kB / 0.5715 GB, free: 10.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.155e-06/0.5397, allocations: 0 / 0.5715 GB, free: 10.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.005442/0.5451, allocations: 1.94 MB / 0.5733 GB, free: 8.945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.5453, allocations: 162.2 kB / 0.5735 GB, free: 8.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007605/0.546, allocations: 0.625 MB / 0.5741 GB, free: 8.117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.5461, allocations: 37.73 kB / 0.5741 GB, free: 8.074 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.5464, allocations: 395.2 kB / 0.5745 GB, free: 7.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.5465, allocations: 169.6 kB / 0.5747 GB, free: 7.512 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/0.5466, allocations: 73.67 kB / 0.5748 GB, free: 7.434 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5468, allocations: 374.8 kB / 0.5751 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.5471, allocations: 225.9 kB / 0.5753 GB, free: 6.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.5477, allocations: 0.5679 MB / 0.5759 GB, free: 6.109 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009664/0.5487, allocations: 0.8407 MB / 0.5767 GB, free: 5.117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.5487, allocations: 4 kB / 0.5767 GB, free: 5.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001329/0.55, allocations: 0.8745 MB / 0.5776 GB, free: 4.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5501, allocations: 8 kB / 0.5776 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5501, allocations: 12.84 kB / 0.5776 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002787/0.5504, allocations: 64.83 kB / 0.5776 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.5515, allocations: 283.6 kB / 0.5779 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.5531, allocations: 1.976 MB / 0.5798 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.5537, allocations: 64.06 kB / 0.5799 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.5538, allocations: 44 kB / 0.5799 GB, free: 1.629 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 (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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004257/0.5542, allocations: 273.4 kB / 0.5802 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.5544, allocations: 75.09 kB / 0.5803 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.557, allocations: 2.216 MB / 0.5824 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/0.557, allocations: 27.95 kB / 0.5825 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.557, allocations: 0 / 0.5825 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5571, allocations: 3.984 kB / 0.5825 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/0.5612, allocations: 3.3 MB / 0.5857 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5612, allocations: 0 / 0.5857 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/0.5622, allocations: 195.7 kB / 0.5859 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003915/0.5626, allocations: 84.78 kB / 0.586 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.5626, allocations: 15.98 kB / 0.586 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.5641, allocations: 1.991 MB / 0.5879 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5641, allocations: 4.031 kB / 0.5879 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.5665, allocations: 1.989 MB / 0.5899 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.567, allocations: 287.2 kB / 0.5901 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.5671, allocations: 12 kB / 0.5902 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/0.5678, allocations: 55.95 kB / 0.5902 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.5679, allocations: 32.39 kB / 0.5902 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.5679, allocations: 27.98 kB / 0.5903 GB, free: 6.762 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006806/0.5686, allocations: 0.5185 MB / 0.5908 GB, free: 6.238 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5686, allocations: 0 / 0.5908 GB, free: 6.238 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004075/0.5727, allocations: 1.082 MB / 0.5918 GB, free: 5.156 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 (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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007623/0.5804, allocations: 1.209 MB / 0.593 GB, free: 3.941 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.5826, allocations: 0.9355 MB / 0.5939 GB, free: 3.008 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.5826, allocations: 4.25 kB / 0.5939 GB, free: 3.004 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.5839, allocations: 0.6795 MB / 0.5946 GB, free: 2.328 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.5865, allocations: 374 kB / 0.5949 GB, free: 1.961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.5907, allocations: 2.772 MB / 0.5977 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/0.5916, allocations: 1.121 MB / 0.5988 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001035/0.5927, allocations: 449.8 kB / 0.5992 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.5929, allocations: 59.44 kB / 0.5992 GB, free: 13.51 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5929, allocations: 0 / 0.5992 GB, free: 13.51 MB / 478.1 MB Notification: Performance of Templates: time 0.2357/0.8286, allocations: 45.05 MB / 0.6432 GB, free: 154 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: