Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01393/0.01393, allocations: 103.5 kB / 15.05 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001575/0.001575, allocations: 168 kB / 15.93 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.647/1.647, allocations: 170.9 MB / 187.6 MB, free: 0.9805 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3184/0.3184, allocations: 38.09 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007009/0.0007009, allocations: 8 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1055, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02746/0.133, allocations: 14.94 MB / 387.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.1464, allocations: 6.035 MB / 393.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009435/0.1474, allocations: 27.75 kB / 393.3 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.1488, allocations: 322.4 kB / 393.6 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.1512, allocations: 0.5335 MB / 394.2 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004882/0.1561, allocations: 1.064 MB / 395.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003334/0.1595, allocations: 1.436 MB / 396.7 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.1609, allocations: 0.5518 MB / 397.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.1632, allocations: 0.7712 MB / 398 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.1643, allocations: 0.4905 MB / 398.5 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.1645, allocations: 44 kB / 398.5 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.1662, allocations: 367.6 kB / 398.9 MB, free: 2.184 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005417/0.1667, allocations: 303.2 kB / 399.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.1671, allocations: 209.3 kB / 399.4 MB, free: 1.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.1692, allocations: 1.056 MB / 400.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1693, allocations: 0 / 400.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1693, allocations: 0 / 400.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.1693, allocations: 4 kB / 400.4 MB, free: 0.6133 MB / 298.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.003542/0.1729, allocations: 1.099 MB / 401.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.173, allocations: 12.03 kB / 401.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004022/0.1734, allocations: 143 kB / 401.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006504/0.174, allocations: 118.9 kB / 401.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.1756, allocations: 0.5823 MB / 402.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.1759, allocations: 256.1 kB / 402.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.1762, allocations: 80 kB / 402.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003441/0.1796, allocations: 1.29 MB / 404 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.007e-05/0.1797, allocations: 7.938 kB / 404 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/0.1799, allocations: 43.94 kB / 404 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.183e-05/0.18, allocations: 37.3 kB / 404.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/0.183, allocations: 0.9571 MB / 405 MB, free: 11.73 MB / 314.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.01185/0.1949, allocations: 7.047 MB / 412.1 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009928/0.196, allocations: 292.4 kB / 412.4 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004835/0.2009, allocations: 2.772 MB / 415.1 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.201, allocations: 42.8 kB / 415.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/0.201, allocations: 3.938 kB / 415.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.003526/0.2045, allocations: 1.036 MB / 416.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.2046, allocations: 55.41 kB / 416.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.2067, allocations: 0.7697 MB / 417.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.2069, allocations: 37.64 kB / 417.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/0.2076, allocations: 0.597 MB / 417.7 MB, free: 14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.2079, allocations: 138.3 kB / 417.8 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.2079, allocations: 32 kB / 417.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002502/0.2082, allocations: 390.7 kB / 418.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.2089, allocations: 234.5 kB / 418.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.2103, allocations: 1.015 MB / 419.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.2116, allocations: 447.7 kB / 419.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.344e-05/0.2116, allocations: 8 kB / 419.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003645/0.2153, allocations: 1.227 MB / 421.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.2154, allocations: 22.28 kB / 421.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.721e-05/0.2155, allocations: 28 kB / 421.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.001e-05/0.2156, allocations: 40 kB / 421.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.2173, allocations: 299.4 kB / 421.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-05/0.2174, allocations: 56.33 kB / 421.6 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.2186, allocations: 63.98 kB / 421.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.2188, allocations: 80 kB / 421.7 MB, free: 9.559 MB / 330.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.0007168/0.2195, allocations: 348.8 kB / 422.1 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.2197, allocations: 83.06 kB / 422.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.2211, allocations: 461.9 kB / 422.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.2212, allocations: 4 kB / 422.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2212, allocations: 0 / 422.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.2212, allocations: 3.984 kB / 422.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.2239, allocations: 1.238 MB / 423.8 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.2239, allocations: 4 kB / 423.8 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.2245, allocations: 67.91 kB / 423.9 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.2245, allocations: 4 kB / 423.9 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.2246, allocations: 11.98 kB / 423.9 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.2246, allocations: 7.953 kB / 423.9 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/0.2246, allocations: 11.94 kB / 423.9 MB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.2262, allocations: 0.7356 MB / 424.7 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/0.2267, allocations: 196.1 kB / 424.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.2269, allocations: 16.06 kB / 424.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006928/0.2276, allocations: 19.98 kB / 424.9 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.2277, allocations: 27.92 kB / 424.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.2277, allocations: 23.98 kB / 425 MB, free: 6.051 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001092/0.2289, allocations: 495 kB / 425.4 MB, free: 5.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.2289, allocations: 4 kB / 425.4 MB, free: 5.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00191/0.2308, allocations: 299.9 kB / 425.7 MB, free: 5.277 MB / 330.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.002911/0.2338, allocations: 2.096 MB / 427.8 MB, free: 3.094 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.2356, allocations: 0.6454 MB / 428.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.2356, allocations: 0 / 428.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.236, allocations: 147.9 kB / 428.6 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.2385, allocations: 272.9 kB / 428.9 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2917/0.5303, allocations: 23.88 MB / 452.8 MB, free: 41.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/0.531, allocations: 1.015 MB / 453.8 MB, free: 40.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001743/0.5328, allocations: 300.3 kB / 454.1 MB, free: 40.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005248/0.5333, allocations: 294.2 kB / 454.4 MB, free: 40.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5334, allocations: 3.906 kB / 454.4 MB, free: 40.77 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08553/0.6189, allocations: 19.54 MB / 473.9 MB, free: 30.68 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/0.6192, allocations: 248.7 kB / 474.2 MB, free: 30.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.486/4.105, allocations: 0 / 474.2 MB, free: 30.43 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat