Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.009876/0.00988, allocations: 161.8 kB / 15.12 MB, free: 5.953 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.785/1.785, allocations: 170.8 MB / 186.7 MB, free: 1.105 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.001783/0.001782, 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.4933/0.4933, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004771, allocations: 8 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02603/0.1344, allocations: 15.38 MB / 427.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.1456, allocations: 5.192 MB / 432.3 MB, free: 56 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.1467, allocations: 27.75 kB / 432.3 MB, free: 28 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.273/0.4197, allocations: 236.2 kB / 432.5 MB, free: 31.31 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.003462/0.4232, allocations: 0.8254 MB / 433.4 MB, free: 31.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.427, allocations: 0.7858 MB / 434.2 MB, free: 31.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.4314, allocations: 2.182 MB / 436.3 MB, free: 31.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.4326, allocations: 372.8 kB / 436.7 MB, free: 31.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.4351, allocations: 0.6231 MB / 437.3 MB, free: 31.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.4373, allocations: 0.6007 MB / 437.9 MB, free: 31.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000334/0.4377, allocations: 30.06 kB / 438 MB, free: 31.1 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.4394, allocations: 202.4 kB / 438.1 MB, free: 31.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006067/0.4401, allocations: 236 kB / 438.4 MB, free: 31.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004982/0.4406, allocations: 160.7 kB / 438.5 MB, free: 31.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.4425, allocations: 0.78 MB / 439.3 MB, free: 30.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4425, allocations: 0 / 439.3 MB, free: 30.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.4425, allocations: 5.438 kB / 439.3 MB, free: 30.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.563e-05/0.4426, allocations: 0 / 439.3 MB, free: 30.95 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002829/0.4454, allocations: 0.9142 MB / 440.2 MB, free: 30.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.4455, allocations: 9.625 kB / 440.2 MB, free: 30.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002551/0.4457, allocations: 105.2 kB / 440.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005141/0.4463, allocations: 87.12 kB / 440.4 MB, free: 30.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.4477, allocations: 0.4933 MB / 440.9 MB, free: 30.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.4479, allocations: 101 kB / 441 MB, free: 29.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.448, allocations: 48.78 kB / 441.1 MB, free: 29.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.45, allocations: 0.8355 MB / 441.9 MB, free: 29.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.4501, allocations: 0 / 441.9 MB, free: 29.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.4503, allocations: 26.58 kB / 441.9 MB, free: 29.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.595e-05/0.4504, allocations: 47.97 kB / 442 MB, free: 29.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.452, allocations: 0.6293 MB / 442.6 MB, free: 29.69 MB / 330.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.006472/0.4585, allocations: 4.325 MB / 446.9 MB, free: 26.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/0.4594, allocations: 339 kB / 447.3 MB, free: 26.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.4598, allocations: 173 kB / 447.4 MB, free: 26.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002779/0.4626, allocations: 1.77 MB / 449.2 MB, free: 25.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.4627, allocations: 44.59 kB / 449.2 MB, free: 25.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 4.148e-06/0.4627, allocations: 0 / 449.2 MB, free: 25.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.004635/0.4674, allocations: 1.23 MB / 450.5 MB, free: 24.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.4675, allocations: 135 kB / 450.6 MB, free: 24.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009967/0.4685, allocations: 0.6173 MB / 451.2 MB, free: 24.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.4686, allocations: 32.58 kB / 451.3 MB, free: 24.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.4689, allocations: 419 kB / 451.7 MB, free: 24.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.469, allocations: 116.5 kB / 451.8 MB, free: 24.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.4691, allocations: 15.53 kB / 451.8 MB, free: 24.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4692, allocations: 383 kB / 452.2 MB, free: 23.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.4697, allocations: 176.6 kB / 452.3 MB, free: 23.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006455/0.4703, allocations: 0.5803 MB / 452.9 MB, free: 23.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006286/0.471, allocations: 292 kB / 453.2 MB, free: 23.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.471, allocations: 5.75 kB / 453.2 MB, free: 23.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001889/0.4729, allocations: 0.7834 MB / 454 MB, free: 23.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.473, allocations: 12.53 kB / 454 MB, free: 23.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.473, allocations: 13.08 kB / 454 MB, free: 23.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.905e-05/0.4731, allocations: 21.91 kB / 454 MB, free: 23.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.4746, allocations: 213 kB / 454.3 MB, free: 23.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.4746, allocations: 26.88 kB / 454.3 MB, free: 23.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000988/0.4756, allocations: 43.88 kB / 454.3 MB, free: 23.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.4757, allocations: 42.66 kB / 454.4 MB, free: 23.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004902/0.4762, allocations: 265.8 kB / 454.6 MB, free: 22.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.4764, allocations: 70.61 kB / 454.7 MB, free: 22.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.4774, allocations: 438 kB / 455.1 MB, free: 22.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.4774, allocations: 2.812 kB / 455.1 MB, free: 22.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4775, allocations: 3.375 kB / 455.1 MB, free: 22.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4775, allocations: 3.469 kB / 455.1 MB, free: 22.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.4798, allocations: 1.236 MB / 456.4 MB, free: 22.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.4799, allocations: 7.281 kB / 456.4 MB, free: 22.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.4804, allocations: 70.14 kB / 456.4 MB, free: 22.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002836/0.4807, allocations: 35.12 kB / 456.5 MB, free: 22.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.4808, allocations: 17.89 kB / 456.5 MB, free: 22.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003856/0.4811, allocations: 0.5586 MB / 457 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.4812, allocations: 9.562 kB / 457.1 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.4824, allocations: 0.6897 MB / 457.7 MB, free: 21.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.4829, allocations: 188.1 kB / 457.9 MB, free: 21.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.483, allocations: 10.16 kB / 457.9 MB, free: 21.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000673/0.4837, allocations: 28.2 kB / 458 MB, free: 21.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.4838, allocations: 33.16 kB / 458 MB, free: 21.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.4839, allocations: 18.72 kB / 458 MB, free: 21.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006967/0.4846, allocations: 435.1 kB / 458.4 MB, free: 21.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4846, allocations: 0 / 458.4 MB, free: 21.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001157/0.4857, allocations: 202.6 kB / 458.6 MB, free: 21.15 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/0.4876, allocations: 1.345 MB / 460 MB, free: 20.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.4887, allocations: 470.6 kB / 460.4 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.4888, allocations: 4.062 kB / 460.5 MB, free: 20.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005631/0.4893, allocations: 170.9 kB / 460.6 MB, free: 20.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.492, allocations: 282.8 kB / 460.9 MB, free: 20.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007417/0.4994, allocations: 3.952 MB / 464.8 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.5, allocations: 0.9524 MB / 465.8 MB, free: 17.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001192/0.5012, allocations: 202.7 kB / 466 MB, free: 17.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/0.5016, allocations: 231.2 kB / 466.2 MB, free: 17.66 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5016, allocations: 0 / 466.2 MB, free: 17.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06168/0.5633, allocations: 16.99 MB / 483.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/0.5636, allocations: 299.3 kB / 483.5 MB, free: 12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.401/3.965, allocations: 0 / 483.5 MB, free: 12 MB / 330.7 MB