Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.977/1.977, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004839, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3702, allocations: 48.69 MB / 331.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.09092/0.4611, allocations: 47.32 MB / 378.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04975/0.511, allocations: 25.71 MB / 404.3 MB, free: 5.352 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.5129, allocations: 35.69 kB / 404.3 MB, free: 5.316 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.5158, allocations: 0.5793 MB / 404.9 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02048/0.5363, allocations: 4.511 MB / 409.4 MB, free: 220 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01365/0.55, allocations: 3.113 MB / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004892/0.5549, allocations: 1.983 MB / 414.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.5568, allocations: 0.6668 MB / 415.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02765/0.5845, allocations: 9.375 MB / 424.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03259/0.6171, allocations: 11.74 MB / 436.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004686/0.6176, allocations: 60 kB / 436.4 MB, free: 5.238 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02486/0.6425, allocations: 7.964 MB / 444.3 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009517/0.6435, allocations: 327 kB / 444.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007974/0.6444, allocations: 261.1 kB / 444.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.6564, allocations: 4.237 MB / 449.1 MB, free: 8.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6565, allocations: 0 / 449.1 MB, free: 8.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6565, allocations: 4 kB / 449.1 MB, free: 8.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.482e-05/0.6566, allocations: 0 / 449.1 MB, free: 8.434 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00797/0.6646, allocations: 1.991 MB / 451.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.6646, allocations: 8.031 kB / 451.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005286/0.6652, allocations: 160.4 kB / 451.3 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006958/0.6722, allocations: 0.5996 MB / 451.9 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.6745, allocations: 0.7596 MB / 452.7 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.6749, allocations: 208.8 kB / 452.9 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/0.6753, allocations: 104 kB / 453 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006962/0.6822, allocations: 1.838 MB / 454.8 MB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/0.6823, allocations: 11.92 kB / 454.8 MB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/0.6826, allocations: 47.95 kB / 454.9 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.705e-05/0.6827, allocations: 42 kB / 454.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007358/0.69, allocations: 1.678 MB / 456.6 MB, free: 0.7305 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.0163/0.7064, allocations: 8.45 MB / 465 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004755/0.7112, allocations: 0.9492 MB / 466 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.478/1.189, allocations: 57.99 MB / 0.5117 GB, free: 109.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.473e-05/1.189, allocations: 39.12 kB / 0.5117 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00113/1.191, allocations: 98.02 kB / 0.5118 GB, free: 109.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 5.931e-06/1.191, allocations: 0 / 0.5118 GB, free: 109.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=77): time 0.01724/1.208, allocations: 3.342 MB / 0.5151 GB, free: 105.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/1.208, allocations: 111.5 kB / 0.5152 GB, free: 105.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/1.209, allocations: 0.7896 MB / 0.516 GB, free: 104.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001715/1.209, allocations: 37.7 kB / 0.516 GB, free: 104.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/1.21, allocations: 0.6204 MB / 0.5166 GB, free: 104.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/1.21, allocations: 276.6 kB / 0.5169 GB, free: 104 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/1.21, allocations: 36 kB / 0.5169 GB, free: 104 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/1.21, allocations: 360.2 kB / 0.5172 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/1.212, allocations: 423.3 kB / 0.5177 GB, free: 103.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/1.214, allocations: 1.046 MB / 0.5187 GB, free: 101.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/1.215, allocations: 0.5743 MB / 0.5192 GB, free: 101.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/1.216, allocations: 4 kB / 0.5192 GB, free: 101.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005179/1.221, allocations: 1.713 MB / 0.5209 GB, free: 99.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.221, allocations: 12 kB / 0.5209 GB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/1.221, allocations: 20 kB / 0.5209 GB, free: 99.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004461/1.225, allocations: 0.6144 MB / 0.5215 GB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.227, allocations: 255.6 kB / 0.5218 GB, free: 98.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/1.23, allocations: 1.819 MB / 0.5236 GB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.232, allocations: 119.7 kB / 0.5237 GB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/1.232, allocations: 83.98 kB / 0.5238 GB, free: 96.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],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 (141): * Single equations (assignments): 139 * 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,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007215/1.233, allocations: 339.5 kB / 0.5241 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/1.233, allocations: 94.88 kB / 0.5242 GB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007882/1.241, allocations: 4.419 MB / 0.5285 GB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-05/1.241, allocations: 55.91 kB / 0.5285 GB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.241, allocations: 0 / 0.5285 GB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/1.241, allocations: 3.984 kB / 0.5285 GB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/1.252, allocations: 6.18 MB / 0.5346 GB, free: 85.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.252, allocations: 0 / 0.5346 GB, free: 85.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.253, allocations: 143.8 kB / 0.5347 GB, free: 85.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002867/1.256, allocations: 0.6679 MB / 0.5354 GB, free: 84.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/1.256, allocations: 27.98 kB / 0.5354 GB, free: 84.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/1.258, allocations: 1.802 MB / 0.5372 GB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.258, allocations: 0 / 0.5372 GB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007168/1.265, allocations: 3.875 MB / 0.5409 GB, free: 78.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008318/1.266, allocations: 412.8 kB / 0.5413 GB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/1.266, allocations: 19.94 kB / 0.5414 GB, free: 78.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.267, allocations: 67.86 kB / 0.5414 GB, free: 78.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.268, allocations: 76.88 kB / 0.5415 GB, free: 78.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.89e-05/1.268, allocations: 31.98 kB / 0.5415 GB, free: 78.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001041/1.269, allocations: 0.5635 MB / 0.5421 GB, free: 77.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.269, allocations: 0 / 0.5421 GB, free: 77.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004801/1.274, allocations: 1.422 MB / 0.5435 GB, free: 76.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01554/1.289, allocations: 5.66 MB / 0.549 GB, free: 70.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004418/1.294, allocations: 1.643 MB / 0.5506 GB, free: 69.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.294, allocations: 4 kB / 0.5506 GB, free: 69.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002539/1.296, allocations: 1.189 MB / 0.5518 GB, free: 68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/1.3, allocations: 433.6 kB / 0.5522 GB, free: 67.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/1.322, allocations: 9.509 MB / 0.5615 GB, free: 57.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009463/1.323, allocations: 1.414 MB / 0.5628 GB, free: 56.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.324, allocations: 0.6516 MB / 0.5635 GB, free: 55.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/1.324, allocations: 0 / 0.5635 GB, free: 55.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.443/5.767, allocations: 58.25 MB / 0.6204 GB, free: 13.23 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat