Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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.009887/0.009893, 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.744/1.744, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002461/0.002461, allocations: 106 kB / 226.2 MB, free: 10.1 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.502/0.502, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.0006568, allocations: 16 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1043, allocations: 48.7 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.03105/0.1354, allocations: 18.98 MB / 430.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2766/0.412, allocations: 4.124 MB / 434.8 MB, free: 31.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.4132, allocations: 24.66 kB / 434.8 MB, free: 31.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.4143, allocations: 246.8 kB / 435.1 MB, free: 31.5 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.003379/0.4178, allocations: 0.8429 MB / 435.9 MB, free: 31.47 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.4211, allocations: 0.6945 MB / 436.6 MB, free: 31.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003979/0.4251, allocations: 2.183 MB / 438.8 MB, free: 31.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.4262, allocations: 373.1 kB / 439.2 MB, free: 31.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.4287, allocations: 0.7413 MB / 439.9 MB, free: 31.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.4304, allocations: 0.6186 MB / 440.5 MB, free: 30.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.4306, allocations: 34.72 kB / 440.6 MB, free: 30.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.4318, allocations: 207.3 kB / 440.8 MB, free: 30.92 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.4322, allocations: 229.6 kB / 441 MB, free: 30.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.4325, allocations: 162.3 kB / 441.1 MB, free: 30.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.434, allocations: 0.7589 MB / 441.9 MB, free: 30.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.434, allocations: 1.375 kB / 441.9 MB, free: 30.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.434, allocations: 0 / 441.9 MB, free: 30.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.4341, allocations: 2.625 kB / 441.9 MB, free: 30.79 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.0032/0.4373, allocations: 0.9194 MB / 442.8 MB, free: 30.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4374, allocations: 11.03 kB / 442.8 MB, free: 30.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003403/0.4377, allocations: 97.5 kB / 442.9 MB, free: 30.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.4382, allocations: 85.09 kB / 443 MB, free: 30.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.4397, allocations: 0.5002 MB / 443.5 MB, free: 29.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.4399, allocations: 103.5 kB / 443.6 MB, free: 29.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.4401, allocations: 54.91 kB / 443.7 MB, free: 29.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.4421, allocations: 0.8132 MB / 444.5 MB, free: 29.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.4421, allocations: 5.125 kB / 444.5 MB, free: 29.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.4423, allocations: 28.33 kB / 444.5 MB, free: 29.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.89e-05/0.4424, allocations: 39.75 kB / 444.6 MB, free: 29.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.4441, allocations: 0.6376 MB / 445.2 MB, free: 29.55 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.006936/0.451, allocations: 4.199 MB / 449.4 MB, free: 26.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.4523, allocations: 409.4 kB / 449.8 MB, free: 26.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.4529, allocations: 211 kB / 450 MB, free: 26.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005477/0.4534, allocations: 0.5003 MB / 450.5 MB, free: 26.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4535, allocations: 36.89 kB / 450.5 MB, free: 26.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 3.025e-06/0.4535, allocations: 0 / 450.5 MB, free: 26.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.004925/0.4584, allocations: 1.499 MB / 452 MB, free: 25.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.4585, allocations: 133.4 kB / 452.2 MB, free: 25.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/0.4595, allocations: 0.553 MB / 452.7 MB, free: 25.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.4596, allocations: 35.02 kB / 452.7 MB, free: 25.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.4599, allocations: 366.5 kB / 453.1 MB, free: 25.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.4601, allocations: 167.1 kB / 453.3 MB, free: 25.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.4601, allocations: 16.06 kB / 453.3 MB, free: 25.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4603, allocations: 377.1 kB / 453.7 MB, free: 24.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.4608, allocations: 218.8 kB / 453.9 MB, free: 24.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007415/0.4616, allocations: 0.5528 MB / 454.4 MB, free: 24.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.4624, allocations: 318 kB / 454.7 MB, free: 24.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.4624, allocations: 3.25 kB / 454.7 MB, free: 24.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002889/0.4653, allocations: 0.9799 MB / 455.7 MB, free: 24.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.4653, allocations: 10.64 kB / 455.7 MB, free: 24.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.4654, allocations: 9.875 kB / 455.7 MB, free: 24.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001722/0.4671, allocations: 261.2 kB / 456 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/0.468, allocations: 133.8 kB / 456.1 MB, free: 24.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.4692, allocations: 0.8604 MB / 457 MB, free: 23.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009647/0.4702, allocations: 47.09 kB / 457 MB, free: 23.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/0.4703, allocations: 41.62 kB / 457.1 MB, free: 23.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004842/0.4708, allocations: 252.9 kB / 457.3 MB, free: 23.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.4709, allocations: 67.22 kB / 457.4 MB, free: 23.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.4728, allocations: 0.7039 MB / 458.1 MB, free: 23.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4729, allocations: 6.125 kB / 458.1 MB, free: 23.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4729, allocations: 0 / 458.1 MB, free: 23.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4729, allocations: 3.422 kB / 458.1 MB, free: 23.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.4761, allocations: 1.383 MB / 459.5 MB, free: 22.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.4761, allocations: 3.188 kB / 459.5 MB, free: 22.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.478, allocations: 198.3 kB / 459.7 MB, free: 22.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.4785, allocations: 57.11 kB / 459.7 MB, free: 22.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/0.4786, allocations: 17.23 kB / 459.7 MB, free: 22.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.4813, allocations: 2.787 MB / 462.5 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4814, allocations: 3.281 kB / 462.5 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.4837, allocations: 0.9888 MB / 463.5 MB, free: 20.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/0.4843, allocations: 199.8 kB / 463.7 MB, free: 19.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.4844, allocations: 12.56 kB / 463.7 MB, free: 19.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/0.4851, allocations: 28.95 kB / 463.8 MB, free: 19.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.4853, allocations: 44.34 kB / 463.8 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.4854, allocations: 19.2 kB / 463.8 MB, free: 19.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000628/0.486, allocations: 384.8 kB / 464.2 MB, free: 19.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.486, allocations: 0 / 464.2 MB, free: 19.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001318/0.4873, allocations: 208.9 kB / 464.4 MB, free: 19.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003056/0.4904, allocations: 1.642 MB / 466 MB, free: 18.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.4924, allocations: 0.6078 MB / 466.7 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.4924, allocations: 0 / 466.7 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001913/0.4943, allocations: 489 kB / 467.1 MB, free: 18.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.4972, allocations: 309.6 kB / 467.4 MB, free: 18.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.5073, allocations: 4.321 MB / 471.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.508, allocations: 0.9502 MB / 472.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001331/0.5094, allocations: 204.9 kB / 472.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/0.5099, allocations: 235.4 kB / 473.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5099, allocations: 0 / 473.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06627/0.5762, allocations: 19.47 MB / 492.6 MB, free: 7.281 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.5765, allocations: 294.4 kB / 492.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.363/3.94, allocations: 0 / 492.9 MB, free: 6.922 MB / 330.7 MB