Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009767/0.009772, allocations: 177.9 kB / 15.13 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.993/1.993, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001764/0.001764, allocations: 108.1 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3052/0.3052, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004652, allocations: 15.39 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 54.88 MB / 461.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.04718/0.1479, allocations: 27 MB / 488.2 MB, free: 8.086 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.158, allocations: 4.323 MB / 492.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.1591, allocations: 23.81 kB / 492.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.1602, allocations: 226.5 kB / 492.7 MB, free: 3.504 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+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.2+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.2+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.005984/0.1662, allocations: 1.63 MB / 494.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004906/0.1712, allocations: 1.238 MB / 495.6 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003942/0.1751, allocations: 2.242 MB / 497.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.1763, allocations: 385.2 kB / 498.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009155/0.1855, allocations: 3.486 MB / 0.4899 GB, free: 10.53 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.1891, allocations: 1.434 MB / 0.4913 GB, free: 9.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.1894, allocations: 32 kB / 0.4914 GB, free: 9.059 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004379/0.1938, allocations: 1.443 MB / 0.4928 GB, free: 7.613 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006168/0.1944, allocations: 231.3 kB / 0.493 GB, free: 7.387 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003607/0.1948, allocations: 169.3 kB / 0.4932 GB, free: 7.215 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.1974, allocations: 1.048 MB / 0.4942 GB, free: 6.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.1974, allocations: 7.938 kB / 0.4942 GB, free: 6.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1975, allocations: 0 / 0.4942 GB, free: 6.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.1975, allocations: 0 / 0.4942 GB, free: 6.156 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002973/0.2005, allocations: 1.001 MB / 0.4952 GB, free: 5.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.2005, allocations: 8.031 kB / 0.4952 GB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002473/0.2008, allocations: 110.5 kB / 0.4953 GB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.2021, allocations: 135 kB / 0.4954 GB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.2036, allocations: 0.5083 MB / 0.4959 GB, free: 4.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.2037, allocations: 100.4 kB / 0.496 GB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.2039, allocations: 51.94 kB / 0.4961 GB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.2061, allocations: 0.8277 MB / 0.4969 GB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.2062, allocations: 11.94 kB / 0.4969 GB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.2063, allocations: 20 kB / 0.4969 GB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.085e-05/0.2064, allocations: 44.92 kB / 0.4969 GB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.2084, allocations: 0.597 MB / 0.4975 GB, free: 2.547 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.008676/0.2172, allocations: 4.892 MB / 0.5023 GB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.2183, allocations: 316.2 kB / 0.5026 GB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.2187, allocations: 128.8 kB / 0.5027 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007225/0.2194, allocations: 0.614 MB / 0.5033 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.2195, allocations: 46.48 kB / 0.5034 GB, free: 12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.715e-06/0.2195, allocations: 0 / 0.5034 GB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.006822/0.2263, allocations: 1.49 MB / 0.5048 GB, free: 10.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.178e-05/0.2265, allocations: 136.5 kB / 0.505 GB, free: 10.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.2277, allocations: 0.6406 MB / 0.5056 GB, free: 9.609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.2279, allocations: 33.7 kB / 0.5056 GB, free: 9.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.2283, allocations: 410.2 kB / 0.506 GB, free: 9.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.2285, allocations: 130.3 kB / 0.5061 GB, free: 9.035 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.2286, allocations: 12 kB / 0.5061 GB, free: 9.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.2288, allocations: 374.8 kB / 0.5065 GB, free: 8.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.2295, allocations: 201.9 kB / 0.5067 GB, free: 8.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/0.2304, allocations: 0.5349 MB / 0.5072 GB, free: 7.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008014/0.2312, allocations: 293.6 kB / 0.5075 GB, free: 7.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.2313, allocations: 4 kB / 0.5075 GB, free: 7.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002517/0.2338, allocations: 0.8897 MB / 0.5084 GB, free: 6.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.2339, allocations: 16 kB / 0.5084 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.2339, allocations: 8 kB / 0.5084 GB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/0.236, allocations: 277.4 kB / 0.5087 GB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/0.2369, allocations: 131.8 kB / 0.5088 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.2388, allocations: 1.378 MB / 0.5101 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/0.2398, allocations: 35.89 kB / 0.5102 GB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.2399, allocations: 48.06 kB / 0.5102 GB, free: 4.629 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.000537/0.2405, allocations: 253.4 kB / 0.5104 GB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.2407, allocations: 71.25 kB / 0.5105 GB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.2431, allocations: 0.6175 MB / 0.5111 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.2431, allocations: 4 kB / 0.5111 GB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.2432, allocations: 3.984 kB / 0.5111 GB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2432, allocations: 0 / 0.5111 GB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.2465, allocations: 1.211 MB / 0.5123 GB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.2466, allocations: 0 / 0.5123 GB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.2469, allocations: 35.98 kB / 0.5123 GB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.2483, allocations: 205.5 kB / 0.5125 GB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/0.2484, allocations: 15.98 kB / 0.5125 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.2501, allocations: 1.3 MB / 0.5138 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2501, allocations: 0 / 0.5138 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.2524, allocations: 0.779 MB / 0.5146 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.253, allocations: 192.2 kB / 0.5148 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.2532, allocations: 8 kB / 0.5148 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/0.2538, allocations: 19.98 kB / 0.5148 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.254, allocations: 27.91 kB / 0.5148 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.903e-05/0.2541, allocations: 32 kB / 0.5148 GB, free: 15.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008629/0.2549, allocations: 435 kB / 0.5153 GB, free: 15.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.255, allocations: 0 / 0.5153 GB, free: 15.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001503/0.2565, allocations: 288 kB / 0.5155 GB, free: 14.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003724/0.2602, allocations: 1.561 MB / 0.5171 GB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.262, allocations: 0.5018 MB / 0.5176 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.2621, allocations: 384 / 0.5176 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008687/0.263, allocations: 220 kB / 0.5178 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.2657, allocations: 298.8 kB / 0.518 GB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.2768, allocations: 4.212 MB / 0.5222 GB, free: 7.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000706/0.2776, allocations: 0.9458 MB / 0.5231 GB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001316/0.2789, allocations: 201.8 kB / 0.5233 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/0.2795, allocations: 235.3 kB / 0.5235 GB, free: 6.547 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2795, allocations: 0 / 0.5235 GB, free: 6.547 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4101/0.6896, allocations: 20.59 MB / 0.5436 GB, free: 72.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004177/0.6901, allocations: 295.8 kB / 0.5439 GB, free: 72.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.329/4.019, allocations: 3.938 kB / 0.5439 GB, free: 72.39 MB / 378.7 MB