Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001284/0.001285, allocations: 191.4 kB / 16.13 MB, free: 6.707 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.766 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.341/0.341, allocations: 39.94 MB / 309.3 MB, free: 9.301 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.001992/0.001992, allocations: 70.88 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1568, allocations: 56.88 MB / 433.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3374/0.4943, allocations: 40.27 MB / 474.1 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02557/0.52, allocations: 21.25 MB / 495.3 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.5217, allocations: 35.81 kB / 495.4 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.5231, allocations: 393.4 kB / 495.7 MB, free: 16.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.5385, allocations: 4.162 MB / 499.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007543/0.5461, allocations: 2.228 MB / 0.4904 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003878/0.55, allocations: 2.858 MB / 0.4932 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008639/0.5509, allocations: 429.1 kB / 0.4936 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.5616, allocations: 4.049 MB / 0.4975 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/0.5749, allocations: 5.438 MB / 0.5028 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.5753, allocations: 41.12 kB / 0.5029 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01913/0.5944, allocations: 7.27 MB / 0.51 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000754/0.5952, allocations: 250.5 kB / 0.5102 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.5963, allocations: 424.5 kB / 0.5106 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01894/0.6152, allocations: 5.093 MB / 0.5156 GB, free: 2.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6153, allocations: 1.156 kB / 0.5156 GB, free: 2.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6153, allocations: 4 kB / 0.5156 GB, free: 2.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.6153, allocations: 0 / 0.5156 GB, free: 2.203 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.00603/0.6214, allocations: 1.659 MB / 0.5172 GB, free: 1.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.6214, allocations: 13.94 kB / 0.5172 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.6238, allocations: 306.3 kB / 0.5175 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.6251, allocations: 0.5553 MB / 0.5181 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.6253, allocations: 109.9 kB / 0.5182 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.6254, allocations: 64.02 kB / 0.5182 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/0.6283, allocations: 1.161 MB / 0.5194 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.6284, allocations: 6.656 kB / 0.5194 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/0.6285, allocations: 29.28 kB / 0.5194 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-05/0.6285, allocations: 42.11 kB / 0.5194 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.6304, allocations: 0.8469 MB / 0.5203 GB, free: 15.06 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.006903/0.6373, allocations: 5.513 MB / 0.5256 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.6385, allocations: 0.5761 MB / 0.5262 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.6389, allocations: 230.7 kB / 0.5264 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09199/0.7309, allocations: 46.2 MB / 0.5715 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/0.731, allocations: 38.56 kB / 0.5716 GB, free: 6.668 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.534e-06/0.731, allocations: 4 kB / 0.5716 GB, free: 6.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.005416/0.7365, allocations: 1.927 MB / 0.5735 GB, free: 4.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.7366, allocations: 158.2 kB / 0.5736 GB, free: 4.488 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007968/0.7374, allocations: 0.6249 MB / 0.5742 GB, free: 3.855 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.7374, allocations: 37.7 kB / 0.5743 GB, free: 3.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.7377, allocations: 387.2 kB / 0.5746 GB, free: 3.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.7379, allocations: 169.7 kB / 0.5748 GB, free: 3.262 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.7381, allocations: 166.4 kB / 0.575 GB, free: 3.094 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7383, allocations: 374.8 kB / 0.5753 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.7386, allocations: 225.9 kB / 0.5755 GB, free: 2.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.7393, allocations: 0.5717 MB / 0.5761 GB, free: 1.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.7403, allocations: 0.8342 MB / 0.5769 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.006e-06/0.7404, allocations: 4 kB / 0.5769 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001608/0.742, allocations: 0.8709 MB / 0.5778 GB, free: 15.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.742, allocations: 8 kB / 0.5778 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.742, allocations: 12 kB / 0.5778 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.7424, allocations: 65.47 kB / 0.5778 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.7436, allocations: 283.6 kB / 0.5781 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.7453, allocations: 1.976 MB / 0.58 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.7461, allocations: 56.98 kB / 0.5801 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.7462, allocations: 43.98 kB / 0.5801 GB, free: 13.29 MB / 462.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.0005668/0.7467, allocations: 277.3 kB / 0.5804 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.7469, allocations: 75.16 kB / 0.5805 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.7497, allocations: 2.219 MB / 0.5826 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.7497, allocations: 27.95 kB / 0.5827 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.7497, allocations: 0 / 0.5827 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.7497, allocations: 12.02 kB / 0.5827 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/0.7537, allocations: 3.288 MB / 0.5859 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7538, allocations: 0 / 0.5859 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009678/0.7547, allocations: 191.8 kB / 0.5861 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000397/0.7551, allocations: 80.69 kB / 0.5861 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.7552, allocations: 12 kB / 0.5862 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.7569, allocations: 2.003 MB / 0.5881 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.7569, allocations: 0 / 0.5881 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.7593, allocations: 1.985 MB / 0.59 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.7597, allocations: 247.4 kB / 0.5903 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.7598, allocations: 26.34 kB / 0.5903 GB, free: 2.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005982/0.7604, allocations: 59.95 kB / 0.5904 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.7605, allocations: 32.39 kB / 0.5904 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.7606, allocations: 27.92 kB / 0.5904 GB, free: 2.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006598/0.7613, allocations: 0.5146 MB / 0.5909 GB, free: 1.949 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7613, allocations: 0 / 0.5909 GB, free: 1.949 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005088/0.7664, allocations: 1.085 MB / 0.592 GB, free: 0.8633 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.005432/0.7718, allocations: 1.206 MB / 0.5932 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.774, allocations: 0.9396 MB / 0.5941 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.774, allocations: 0 / 0.5941 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.7752, allocations: 0.6794 MB / 0.5947 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.7773, allocations: 373 kB / 0.5951 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.7811, allocations: 2.683 MB / 0.5977 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/0.782, allocations: 1.121 MB / 0.5988 GB, free: 9.812 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.783, allocations: 441.8 kB / 0.5992 GB, free: 9.375 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.7831, allocations: 67.42 kB / 0.5993 GB, free: 9.309 MB / 478.1 MB Notification: Performance of SimCode: time 3.7e-07/0.7831, allocations: 4 kB / 0.5993 GB, free: 9.305 MB / 478.1 MB Notification: Performance of Templates: time 0.2921/1.075, allocations: 45.15 MB / 0.6434 GB, free: 154.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)