Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",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.01003/0.01004, 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.849/1.849, 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.001843/0.001842, allocations: 102 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.4548/0.4548, allocations: 38.04 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005225, allocations: 8 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1177, allocations: 48.71 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02718/0.1449, allocations: 16.44 MB / 428.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2938/0.4387, allocations: 6.604 MB / 434.7 MB, free: 31.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.44, allocations: 27.81 kB / 434.8 MB, free: 31.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.4413, allocations: 297.7 kB / 435.1 MB, free: 31.16 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.002663/0.444, allocations: 0.7054 MB / 435.8 MB, free: 31.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004865/0.4489, allocations: 1.046 MB / 436.8 MB, free: 31.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005208/0.4541, allocations: 2.955 MB / 439.8 MB, free: 30.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.4555, allocations: 0.5531 MB / 440.3 MB, free: 30.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.4581, allocations: 0.8563 MB / 441.2 MB, free: 30.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/0.46, allocations: 0.7446 MB / 441.9 MB, free: 30.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.4603, allocations: 45.31 kB / 442 MB, free: 30.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.462, allocations: 308 kB / 442.3 MB, free: 30.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004565/0.4625, allocations: 325.5 kB / 442.6 MB, free: 30.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.4629, allocations: 204.8 kB / 442.8 MB, free: 30.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.4649, allocations: 1.071 MB / 443.9 MB, free: 30.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4649, allocations: 0 / 443.9 MB, free: 30.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4649, allocations: 0 / 443.9 MB, free: 30.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.4649, allocations: 0 / 443.9 MB, free: 30.37 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003385/0.4683, allocations: 1.106 MB / 445 MB, free: 29.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.4684, allocations: 12.28 kB / 445 MB, free: 29.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00038/0.4688, allocations: 146.3 kB / 445.1 MB, free: 29.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007006/0.4695, allocations: 120.6 kB / 445.2 MB, free: 29.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.4711, allocations: 0.5791 MB / 445.8 MB, free: 29.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.4714, allocations: 257.9 kB / 446.1 MB, free: 29.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.4716, allocations: 79.69 kB / 446.1 MB, free: 29.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.4746, allocations: 1.296 MB / 447.4 MB, free: 28.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.4747, allocations: 6.906 kB / 447.4 MB, free: 28.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.4749, allocations: 38.41 kB / 447.5 MB, free: 28.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.354e-05/0.475, allocations: 41.78 kB / 447.5 MB, free: 28.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.4778, allocations: 0.9571 MB / 448.5 MB, free: 28.72 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.009825/0.4877, allocations: 7.035 MB / 455.5 MB, free: 23.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.4885, allocations: 293.6 kB / 455.8 MB, free: 23.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/0.4889, allocations: 159.3 kB / 456 MB, free: 23.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00364/0.4926, allocations: 3.031 MB / 459 MB, free: 20.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4927, allocations: 38.5 kB / 459 MB, free: 20.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.605e-06/0.4927, allocations: 3 kB / 459 MB, free: 20.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.00279/0.4955, allocations: 0.9079 MB / 459.9 MB, free: 20.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4956, allocations: 54.78 kB / 460 MB, free: 20.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.4969, allocations: 0.8055 MB / 460.8 MB, free: 19.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.497, allocations: 32.61 kB / 460.8 MB, free: 19.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004737/0.4974, allocations: 0.6326 MB / 461.5 MB, free: 19.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.4976, allocations: 115.8 kB / 461.6 MB, free: 19.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.4976, allocations: 24.53 kB / 461.6 MB, free: 19.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4978, allocations: 387.8 kB / 462 MB, free: 19.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.4984, allocations: 226.2 kB / 462.2 MB, free: 19.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009766/0.4993, allocations: 1.05 MB / 463.3 MB, free: 17.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/0.5003, allocations: 451.6 kB / 463.7 MB, free: 17.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.5003, allocations: 9.219 kB / 463.7 MB, free: 17.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002693/0.503, allocations: 1.23 MB / 464.9 MB, free: 17.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/0.5031, allocations: 24.34 kB / 465 MB, free: 17.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.303e-05/0.5032, allocations: 28.75 kB / 465 MB, free: 17.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-05/0.5033, allocations: 44.34 kB / 465 MB, free: 17.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.5048, allocations: 292.6 kB / 465.3 MB, free: 17.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.565e-05/0.5049, allocations: 59.58 kB / 465.4 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.5063, allocations: 70.56 kB / 465.4 MB, free: 17.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.5064, allocations: 82.98 kB / 465.5 MB, free: 17.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0007013/0.5071, allocations: 345.8 kB / 465.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.5073, allocations: 77.53 kB / 465.9 MB, free: 17.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009101/0.5083, allocations: 342.7 kB / 466.3 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.5083, allocations: 6.703 kB / 466.3 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5083, allocations: 0 / 466.3 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5083, allocations: 2 kB / 466.3 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.5101, allocations: 0.9104 MB / 467.2 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5102, allocations: 2.625 kB / 467.2 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.5107, allocations: 63.56 kB / 467.3 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.5107, allocations: 0 / 467.3 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.5107, allocations: 7 kB / 467.3 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.5107, allocations: 7.125 kB / 467.3 MB, free: 16.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5108, allocations: 3.953 kB / 467.3 MB, free: 16.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.5118, allocations: 0.5126 MB / 467.8 MB, free: 16.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.5122, allocations: 169.7 kB / 467.9 MB, free: 16.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.5123, allocations: 10.11 kB / 468 MB, free: 16.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005481/0.5129, allocations: 17.44 kB / 468 MB, free: 16.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.5129, allocations: 24.34 kB / 468 MB, free: 16.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.513, allocations: 15.31 kB / 468 MB, free: 16.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009552/0.514, allocations: 500 kB / 468.5 MB, free: 16.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.514, allocations: 0 / 468.5 MB, free: 16.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001844/0.5159, allocations: 266.2 kB / 468.8 MB, free: 16.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001792/0.5177, allocations: 1.204 MB / 470 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.5192, allocations: 0.6146 MB / 470.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5193, allocations: 3.938 kB / 470.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.5195, allocations: 112 kB / 470.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.5218, allocations: 256.4 kB / 470.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009747/0.5316, allocations: 4.823 MB / 475.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.5323, allocations: 1.009 MB / 476.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001749/0.5341, allocations: 295.7 kB / 477.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/0.5346, allocations: 286.4 kB / 477.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.703e-06/0.5347, allocations: 3.938 kB / 477.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07015/0.6048, allocations: 17.95 MB / 495.3 MB, free: 3.695 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/0.6052, allocations: 249.3 kB / 495.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/3.947, allocations: 0 / 495.5 MB, free: 3.449 MB / 330.7 MB