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.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.687/1.687, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.3581/0.3581, allocations: 39.94 MB / 309.7 MB, free: 9.277 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.002314/0.002314, allocations: 70.53 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1961, allocations: 56.87 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3363/0.5325, allocations: 39.04 MB / 473.5 MB, free: 31.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01999/0.5525, allocations: 20.16 MB / 493.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.554, allocations: 21.41 kB / 493.7 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.5554, allocations: 447.4 kB / 494.2 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01607/0.5715, allocations: 5.1 MB / 499.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009278/0.5808, allocations: 2.554 MB / 0.49 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003312/0.5841, allocations: 1.97 MB / 0.492 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008924/0.585, allocations: 483.4 kB / 0.4924 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01212/0.5972, allocations: 4.132 MB / 0.4965 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01396/0.6112, allocations: 5.418 MB / 0.5018 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004372/0.6117, allocations: 67.44 kB / 0.5018 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01879/0.6305, allocations: 7.078 MB / 0.5087 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006844/0.6312, allocations: 274.6 kB / 0.509 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009258/0.6321, allocations: 443.8 kB / 0.5094 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02286/0.655, allocations: 4.956 MB / 0.5143 GB, free: 2.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.6551, allocations: 5.469 kB / 0.5143 GB, free: 2.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.6551, allocations: 0 / 0.5143 GB, free: 2.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.6551, allocations: 4 kB / 0.5143 GB, free: 2.723 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.007058/0.6622, allocations: 1.628 MB / 0.5159 GB, free: 1.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.6622, allocations: 13.92 kB / 0.5159 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.6638, allocations: 226.3 kB / 0.5161 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/0.6648, allocations: 0.5386 MB / 0.5166 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.6649, allocations: 107.5 kB / 0.5167 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.665, allocations: 57.16 kB / 0.5168 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.6669, allocations: 1.095 MB / 0.5178 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.667, allocations: 1.406 kB / 0.5178 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/0.667, allocations: 29.38 kB / 0.5179 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.265e-05/0.6671, allocations: 45.64 kB / 0.5179 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.6689, allocations: 0.817 MB / 0.5187 GB, free: 15.67 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.006769/0.6757, allocations: 5.575 MB / 0.5242 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.6769, allocations: 0.5412 MB / 0.5247 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.6773, allocations: 208.8 kB / 0.5249 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.157/0.8343, allocations: 47.45 MB / 0.5712 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.607e-05/0.8344, allocations: 43.12 kB / 0.5713 GB, free: 6.461 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 5.771e-06/0.8345, allocations: 0 / 0.5713 GB, free: 6.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.01284/0.8473, allocations: 2.128 MB / 0.5733 GB, free: 4.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/0.8475, allocations: 191.8 kB / 0.5735 GB, free: 4.047 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.8492, allocations: 0.6406 MB / 0.5741 GB, free: 3.398 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.914e-05/0.8493, allocations: 33.7 kB / 0.5742 GB, free: 3.359 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000535/0.8499, allocations: 399.2 kB / 0.5746 GB, free: 2.965 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.8502, allocations: 169.7 kB / 0.5747 GB, free: 2.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/0.8506, allocations: 154.5 kB / 0.5749 GB, free: 2.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002891/0.8509, allocations: 382.8 kB / 0.5752 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007555/0.8517, allocations: 229.8 kB / 0.5755 GB, free: 2.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.8529, allocations: 0.5907 MB / 0.576 GB, free: 1.273 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.855, allocations: 0.8714 MB / 0.5769 GB, free: 244 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.855, allocations: 4 kB / 0.5769 GB, free: 240 kB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003007/0.858, allocations: 0.8962 MB / 0.5778 GB, free: 15.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.8581, allocations: 8 kB / 0.5778 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/0.8581, allocations: 12 kB / 0.5778 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004066/0.8622, allocations: 272.6 kB / 0.578 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.8634, allocations: 287.5 kB / 0.5783 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.8655, allocations: 2.113 MB / 0.5804 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/0.8662, allocations: 32 kB / 0.5804 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.8663, allocations: 45.36 kB / 0.5805 GB, free: 12.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.0004999/0.8668, allocations: 273.5 kB / 0.5807 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.8671, allocations: 71.16 kB / 0.5808 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.8697, allocations: 2.014 MB / 0.5827 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.8697, allocations: 23.91 kB / 0.5828 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8697, allocations: 4.812 kB / 0.5828 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.8698, allocations: 11.92 kB / 0.5828 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.8738, allocations: 2.987 MB / 0.5857 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.8738, allocations: 8.062 kB / 0.5857 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008981/0.8747, allocations: 183.8 kB / 0.5859 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.8765, allocations: 303.8 kB / 0.5862 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.8766, allocations: 20.08 kB / 0.5862 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.8786, allocations: 2.172 MB / 0.5883 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8786, allocations: 0 / 0.5883 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.8812, allocations: 1.944 MB / 0.5902 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.8818, allocations: 231.6 kB / 0.5904 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.882, allocations: 31.69 kB / 0.5905 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.8826, allocations: 19.98 kB / 0.5905 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.8827, allocations: 28.39 kB / 0.5905 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.8827, allocations: 16 kB / 0.5905 GB, free: 1.777 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009075/0.8836, allocations: 0.5771 MB / 0.5911 GB, free: 1.207 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8837, allocations: 0 / 0.5911 GB, free: 1.207 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005518/0.8892, allocations: 1.089 MB / 0.5922 GB, free: 120 kB / 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.009432/0.8986, allocations: 1.203 MB / 0.5933 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.9018, allocations: 1.007 MB / 0.5943 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.9018, allocations: 0 / 0.5943 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.9032, allocations: 0.6399 MB / 0.5949 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.9059, allocations: 398.9 kB / 0.5953 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.9098, allocations: 2.16 MB / 0.5974 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008457/0.9107, allocations: 1.093 MB / 0.5985 GB, free: 9.574 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000997/0.9117, allocations: 350.1 kB / 0.5988 GB, free: 9.227 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.9119, allocations: 67.42 kB / 0.5989 GB, free: 9.164 MB / 478.1 MB Notification: Performance of SimCode: time 1.833e-06/0.9119, allocations: 4 kB / 0.5989 GB, free: 9.16 MB / 478.1 MB Notification: Performance of Templates: time 0.2646/1.177, allocations: 45.35 MB / 0.6432 GB, free: 154.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (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)