Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009808/0.009808, allocations: 162.3 kB / 15.11 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.742/1.742, allocations: 170.8 MB / 186.7 MB, free: 1.023 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002392/0.002392, allocations: 102.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4407/0.4407, allocations: 38.05 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004849, allocations: 16 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1161, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3216/0.4378, allocations: 36.19 MB / 447.9 MB, free: 30.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03189/0.4697, allocations: 18.68 MB / 466.6 MB, free: 19.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.4713, allocations: 28.41 kB / 466.6 MB, free: 19.08 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.4735, allocations: 361 kB / 467 MB, free: 18.89 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02179/0.4954, allocations: 4.063 MB / 471 MB, free: 17.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01091/0.5063, allocations: 1.987 MB / 473 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005011/0.5114, allocations: 2.35 MB / 475.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.5129, allocations: 411.4 kB / 475.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02014/0.5331, allocations: 6.307 MB / 482.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02238/0.5555, allocations: 9.01 MB / 491.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003734/0.5559, allocations: 39.91 kB / 491.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01838/0.5743, allocations: 6.819 MB / 497.9 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006318/0.575, allocations: 247.2 kB / 498.2 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004349/0.5755, allocations: 193.3 kB / 498.4 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007481/0.583, allocations: 3.434 MB / 0.49 GB, free: 3.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.583, allocations: 3.938 kB / 0.4901 GB, free: 3.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.583, allocations: 0 / 0.4901 GB, free: 3.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.5831, allocations: 0 / 0.4901 GB, free: 3.375 MB / 330.7 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.005216/0.5883, allocations: 1.481 MB / 0.4915 GB, free: 1.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5883, allocations: 8.031 kB / 0.4915 GB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002615/0.5886, allocations: 107.3 kB / 0.4916 GB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/0.5918, allocations: 306.7 kB / 0.4919 GB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.5932, allocations: 0.5472 MB / 0.4924 GB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.5933, allocations: 108.7 kB / 0.4925 GB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.5935, allocations: 67.98 kB / 0.4926 GB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003765/0.5973, allocations: 1.158 MB / 0.4937 GB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.5974, allocations: 7.938 kB / 0.4937 GB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.5975, allocations: 35.98 kB / 0.4938 GB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.5976, allocations: 45.28 kB / 0.4938 GB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.6007, allocations: 0.8362 MB / 0.4946 GB, free: 14.47 MB / 346.7 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.01052/0.6112, allocations: 5.493 MB / 0.5 GB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.6133, allocations: 0.5608 MB / 0.5005 GB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.6139, allocations: 225.6 kB / 0.5008 GB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2003/0.8143, allocations: 49.6 MB / 0.5492 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.712e-05/0.8145, allocations: 50.22 kB / 0.5492 GB, free: 416 kB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.266e-06/0.8145, allocations: 0 / 0.5492 GB, free: 416 kB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.008365/0.8228, allocations: 1.924 MB / 0.5511 GB, free: 14.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.823, allocations: 166.2 kB / 0.5513 GB, free: 14.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.8242, allocations: 0.6015 MB / 0.5519 GB, free: 13.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.8243, allocations: 41.73 kB / 0.5519 GB, free: 13.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.8247, allocations: 402.9 kB / 0.5523 GB, free: 13.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.8249, allocations: 173.6 kB / 0.5525 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.825, allocations: 16 kB / 0.5525 GB, free: 12.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.8252, allocations: 382.7 kB / 0.5528 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.8259, allocations: 225.9 kB / 0.5531 GB, free: 12.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.8269, allocations: 0.5873 MB / 0.5536 GB, free: 11.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.8278, allocations: 344.5 kB / 0.554 GB, free: 11.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.8278, allocations: 4 kB / 0.554 GB, free: 11.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002327/0.8301, allocations: 0.8862 MB / 0.5548 GB, free: 10.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.8302, allocations: 8 kB / 0.5548 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.8302, allocations: 14.91 kB / 0.5548 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/0.8307, allocations: 72.81 kB / 0.5549 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/0.8331, allocations: 287.6 kB / 0.5552 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.8355, allocations: 1.979 MB / 0.5571 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.8366, allocations: 64.06 kB / 0.5572 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.8367, allocations: 47.94 kB / 0.5572 GB, free: 7.754 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (99): * Single equations (assignments): 97 * 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.0005962/0.8373, allocations: 275.4 kB / 0.5575 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.8376, allocations: 71.16 kB / 0.5576 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/0.8415, allocations: 2.218 MB / 0.5597 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.524e-05/0.8416, allocations: 35.94 kB / 0.5598 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8416, allocations: 7.891 kB / 0.5598 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.8417, allocations: 0 / 0.5598 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/0.8476, allocations: 3.273 MB / 0.563 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.8477, allocations: 0 / 0.563 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.8495, allocations: 187.8 kB / 0.5631 GB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006317/0.8502, allocations: 100.6 kB / 0.5632 GB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.8502, allocations: 12 kB / 0.5633 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.8525, allocations: 1.996 MB / 0.5652 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8525, allocations: 4.031 kB / 0.5652 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004546/0.8571, allocations: 1.974 MB / 0.5671 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007081/0.8579, allocations: 283.2 kB / 0.5674 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.858, allocations: 15.94 kB / 0.5674 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.8591, allocations: 63.86 kB / 0.5675 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.8592, allocations: 32.39 kB / 0.5675 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/0.8593, allocations: 23.98 kB / 0.5675 GB, free: 12.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001022/0.8603, allocations: 0.4912 MB / 0.568 GB, free: 12.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8604, allocations: 3.938 kB / 0.568 GB, free: 12.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005951/0.8663, allocations: 1.085 MB / 0.5691 GB, free: 11.33 MB / 426.7 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.01188/0.8783, allocations: 3.642 MB / 0.5726 GB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.8816, allocations: 0.9315 MB / 0.5735 GB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8816, allocations: 0 / 0.5735 GB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.8839, allocations: 0.6684 MB / 0.5742 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/0.8875, allocations: 358.8 kB / 0.5745 GB, free: 5.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.298/1.186, allocations: 5.802 MB / 0.5802 GB, free: 134 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/1.186, allocations: 1.139 MB / 0.5813 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001698/1.188, allocations: 448.4 kB / 0.5817 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006819/1.189, allocations: 387 kB / 0.5821 GB, free: 133.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/1.189, allocations: 2.297 kB / 0.5821 GB, free: 133.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1314/1.32, allocations: 54.89 MB / 0.6357 GB, free: 108 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/1.321, allocations: 289.7 kB / 0.636 GB, free: 107.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.525/7.846, allocations: 0 / 0.636 GB, free: 107.7 MB / 426.7 MB