Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01142/0.01142, allocations: 107.2 kB / 15.06 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001394/0.001394, allocations: 185.5 kB / 15.95 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.162/2.162, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2693/0.2693, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004594, allocations: 8 kB / 361.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1253, allocations: 54.87 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02544/0.1508, allocations: 14.97 MB / 431 MB, free: 3.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.1639, allocations: 6.051 MB / 437 MB, free: 13.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.1652, allocations: 27.75 kB / 437.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.1669, allocations: 318.3 kB / 437.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.1695, allocations: 0.5285 MB / 437.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005115/0.1747, allocations: 1.068 MB / 439 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003458/0.1782, allocations: 1.439 MB / 440.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.1797, allocations: 0.5441 MB / 441 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.1825, allocations: 0.7828 MB / 441.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.184, allocations: 494.3 kB / 442.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.1843, allocations: 44 kB / 442.3 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.1862, allocations: 363.7 kB / 442.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007066/0.187, allocations: 303.2 kB / 442.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004323/0.1874, allocations: 201.3 kB / 443.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.19, allocations: 1.064 MB / 444.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1901, allocations: 0 / 444.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.37e-06/0.1901, allocations: 4 kB / 444.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.535e-05/0.1901, allocations: 0 / 444.2 MB, free: 6.32 MB / 378.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.003655/0.1938, allocations: 1.099 MB / 445.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.1939, allocations: 16.02 kB / 445.3 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004458/0.1943, allocations: 135.1 kB / 445.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006853/0.195, allocations: 118.9 kB / 445.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.1968, allocations: 0.5939 MB / 446.1 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.1971, allocations: 248.2 kB / 446.4 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.1974, allocations: 80 kB / 446.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.2008, allocations: 1.289 MB / 447.7 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.2009, allocations: 11.92 kB / 447.8 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/0.2011, allocations: 36 kB / 447.8 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.887e-05/0.2012, allocations: 41.3 kB / 447.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002849/0.2041, allocations: 0.9532 MB / 448.8 MB, free: 1.438 MB / 378.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.3242/0.5283, allocations: 7.055 MB / 455.8 MB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.529, allocations: 281.5 kB / 456.1 MB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002938/0.532, allocations: 2.782 MB / 458.9 MB, free: 31.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.532, allocations: 37.48 kB / 458.9 MB, free: 31.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.765e-06/0.5321, allocations: 1.25 kB / 458.9 MB, free: 31.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00298/0.5351, allocations: 1.032 MB / 460 MB, free: 31.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.5351, allocations: 57.09 kB / 460 MB, free: 31.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5363, allocations: 0.7697 MB / 460.8 MB, free: 30.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.5364, allocations: 35.39 kB / 460.8 MB, free: 30.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.5368, allocations: 0.6004 MB / 461.4 MB, free: 30.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.5369, allocations: 136.5 kB / 461.6 MB, free: 30.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.537, allocations: 28.75 kB / 461.6 MB, free: 30.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5371, allocations: 385.6 kB / 462 MB, free: 30.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/0.5377, allocations: 235.2 kB / 462.2 MB, free: 30.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.5388, allocations: 1.013 MB / 463.2 MB, free: 29.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009869/0.5398, allocations: 449.5 kB / 463.6 MB, free: 29.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.5398, allocations: 6.281 kB / 463.7 MB, free: 29.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002567/0.5424, allocations: 1.233 MB / 464.9 MB, free: 29.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.5424, allocations: 18.78 kB / 464.9 MB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.5425, allocations: 29.41 kB / 464.9 MB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.22e-05/0.5426, allocations: 41.5 kB / 465 MB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.544, allocations: 297 kB / 465.3 MB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.117e-05/0.5441, allocations: 58.34 kB / 465.3 MB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.5452, allocations: 71.95 kB / 465.4 MB, free: 29.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.5454, allocations: 78.22 kB / 465.5 MB, free: 29.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * 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.0005811/0.546, allocations: 337.9 kB / 465.8 MB, free: 28.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.5461, allocations: 83.23 kB / 465.9 MB, free: 28.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.5473, allocations: 452.8 kB / 466.3 MB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.5474, allocations: 2.875 kB / 466.3 MB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5474, allocations: 6.906 kB / 466.3 MB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.5474, allocations: 3.469 kB / 466.3 MB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.5496, allocations: 1.232 MB / 467.6 MB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5496, allocations: 2.938 kB / 467.6 MB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.5502, allocations: 73.64 kB / 467.6 MB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.5502, allocations: 5.875 kB / 467.6 MB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.5502, allocations: 12.95 kB / 467.7 MB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.5503, allocations: 3.031 kB / 467.7 MB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.5503, allocations: 6.031 kB / 467.7 MB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.5515, allocations: 0.7298 MB / 468.4 MB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.5519, allocations: 208 kB / 468.6 MB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.5521, allocations: 10.94 kB / 468.6 MB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.5527, allocations: 21.3 kB / 468.6 MB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.5528, allocations: 23.62 kB / 468.7 MB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.5529, allocations: 26.84 kB / 468.7 MB, free: 27.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009276/0.5538, allocations: 0.4908 MB / 469.2 MB, free: 27.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5539, allocations: 0 / 469.2 MB, free: 27.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001749/0.5556, allocations: 298.2 kB / 469.5 MB, free: 27.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (36): * Single equations (assignments): 34 * 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.002192/0.5578, allocations: 2.105 MB / 471.6 MB, free: 25.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.5594, allocations: 0.6347 MB / 472.2 MB, free: 25.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.5594, allocations: 3.125 kB / 472.2 MB, free: 25.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.5597, allocations: 141.6 kB / 472.3 MB, free: 25.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.5619, allocations: 278 kB / 472.6 MB, free: 25.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/0.5784, allocations: 23.91 MB / 496.5 MB, free: 20.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.5792, allocations: 1.016 MB / 497.5 MB, free: 19.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001687/0.5809, allocations: 301.3 kB / 497.8 MB, free: 19.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/0.5815, allocations: 290.5 kB / 498.1 MB, free: 19.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.422e-06/0.5815, allocations: 0 / 498.1 MB, free: 19.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06401/0.6455, allocations: 19.54 MB / 0.5055 GB, free: 17.27 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.6458, allocations: 247.1 kB / 0.5058 GB, free: 17.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.312/3.958, allocations: 0 / 0.5058 GB, free: 17.02 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat