Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01012/0.01013, allocations: 162 kB / 15.12 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.774/1.774, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001738/0.001738, allocations: 110.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.5464/0.5464, allocations: 38.05 MB / 303.7 MB, free: 42.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006425/0.0006427, allocations: 11.94 kB / 363 MB, free: 5.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1093, allocations: 48.69 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.3267/0.4361, allocations: 26.93 MB / 438.6 MB, free: 30.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009793/0.4459, allocations: 4.335 MB / 443 MB, free: 30.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.4473, allocations: 26.59 kB / 443 MB, free: 30.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.4483, allocations: 227.6 kB / 443.2 MB, free: 30.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.005715/0.454, allocations: 1.635 MB / 444.9 MB, free: 30.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.4589, allocations: 1.247 MB / 446.1 MB, free: 30.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.4625, allocations: 2.231 MB / 448.3 MB, free: 30.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.4635, allocations: 401 kB / 448.7 MB, free: 30.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007621/0.4712, allocations: 3.277 MB / 452 MB, free: 29.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.4742, allocations: 1.371 MB / 453.4 MB, free: 29.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.4744, allocations: 31.25 kB / 453.4 MB, free: 29.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003821/0.4783, allocations: 1.392 MB / 454.8 MB, free: 29.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00052/0.4788, allocations: 232.7 kB / 455 MB, free: 29.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.4792, allocations: 163.1 kB / 455.2 MB, free: 29.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.4815, allocations: 1.06 MB / 456.2 MB, free: 29.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4816, allocations: 0 / 456.2 MB, free: 29.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4816, allocations: 4 kB / 456.2 MB, free: 29.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.4816, allocations: 2.812 kB / 456.3 MB, free: 29.56 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002805/0.4844, allocations: 1.002 MB / 457.3 MB, free: 28.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4845, allocations: 12.81 kB / 457.3 MB, free: 28.91 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/0.4847, allocations: 100.3 kB / 457.4 MB, free: 28.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.486, allocations: 135 kB / 457.5 MB, free: 28.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.4872, allocations: 0.5008 MB / 458 MB, free: 28.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.4873, allocations: 101.7 kB / 458.1 MB, free: 28.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.4875, allocations: 54.19 kB / 458.1 MB, free: 28.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.4894, allocations: 0.8291 MB / 459 MB, free: 28.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.4895, allocations: 7.938 kB / 459 MB, free: 28.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.4896, allocations: 28.59 kB / 459 MB, free: 28.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.284e-05/0.4897, allocations: 39.83 kB / 459.1 MB, free: 28.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.4915, allocations: 0.5956 MB / 459.6 MB, free: 28.22 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.006995/0.4985, allocations: 4.881 MB / 464.5 MB, free: 24.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.4996, allocations: 311.7 kB / 464.8 MB, free: 24.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.4999, allocations: 128.8 kB / 465 MB, free: 24.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/0.5005, allocations: 0.6113 MB / 465.6 MB, free: 23.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.5006, allocations: 41.66 kB / 465.6 MB, free: 23.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.236e-06/0.5006, allocations: 0 / 465.6 MB, free: 23.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.006015/0.5066, allocations: 1.491 MB / 467.1 MB, free: 22.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.5067, allocations: 135.3 kB / 467.2 MB, free: 22.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5078, allocations: 0.6376 MB / 467.9 MB, free: 22.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.361e-05/0.5079, allocations: 36.67 kB / 467.9 MB, free: 22.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.5083, allocations: 403.2 kB / 468.3 MB, free: 21.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.5084, allocations: 129.9 kB / 468.4 MB, free: 21.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.5085, allocations: 15 kB / 468.4 MB, free: 21.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5087, allocations: 378 kB / 468.8 MB, free: 21.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.5092, allocations: 200.9 kB / 469 MB, free: 21.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/0.51, allocations: 0.5307 MB / 469.5 MB, free: 20.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.5107, allocations: 305 kB / 469.8 MB, free: 20.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.5107, allocations: 3.062 kB / 469.8 MB, free: 20.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002228/0.513, allocations: 0.8859 MB / 470.7 MB, free: 20.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.513, allocations: 11.03 kB / 470.7 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.513, allocations: 13.5 kB / 470.7 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/0.5151, allocations: 284.5 kB / 471 MB, free: 20.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.5159, allocations: 140.4 kB / 471.2 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.5173, allocations: 1.365 MB / 472.5 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/0.5183, allocations: 41.44 kB / 472.6 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.5184, allocations: 48.89 kB / 472.6 MB, free: 18.93 MB / 330.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.0004818/0.5189, allocations: 261.3 kB / 472.9 MB, free: 18.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.519, allocations: 65.3 kB / 472.9 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.5212, allocations: 0.6138 MB / 473.5 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.5212, allocations: 3.125 kB / 473.6 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5212, allocations: 4.516 kB / 473.6 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.5213, allocations: 2.203 kB / 473.6 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.5243, allocations: 1.2 MB / 474.8 MB, free: 17.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5243, allocations: 3.125 kB / 474.8 MB, free: 17.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.5247, allocations: 36.23 kB / 474.8 MB, free: 17.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.5261, allocations: 205 kB / 475 MB, free: 17.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.5262, allocations: 10.14 kB / 475 MB, free: 17.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.5275, allocations: 1.301 MB / 476.3 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5275, allocations: 0 / 476.3 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.5296, allocations: 0.7946 MB / 477.1 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/0.5302, allocations: 195.2 kB / 477.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.5303, allocations: 6.656 kB / 477.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/0.531, allocations: 23.98 kB / 477.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.371e-05/0.5311, allocations: 23.06 kB / 477.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/0.5312, allocations: 28.7 kB / 477.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007693/0.532, allocations: 438.4 kB / 477.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.532, allocations: 0 / 477.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001402/0.5334, allocations: 284.1 kB / 478.1 MB, free: 15.7 MB / 330.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.003313/0.5367, allocations: 1.557 MB / 479.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.5385, allocations: 0.5139 MB / 480.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5385, allocations: 1.469 kB / 480.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008041/0.5393, allocations: 220.3 kB / 480.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/0.542, allocations: 300.3 kB / 480.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.5525, allocations: 4.224 MB / 484.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.5531, allocations: 0.9447 MB / 485.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001377/0.5545, allocations: 205.9 kB / 486 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/0.555, allocations: 241 kB / 486.3 MB, free: 11.08 MB / 330.7 MB Notification: Performance of SimCode: time 9.21e-07/0.555, allocations: 0 / 486.3 MB, free: 11.08 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07559/0.6306, allocations: 20.58 MB / 0.495 GB, free: 11.23 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004173/0.6311, allocations: 291 kB / 0.4952 GB, free: 10.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/4.234, allocations: 7.891 kB / 0.4953 GB, free: 10.86 MB / 346.7 MB