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.986/1.986, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006092/0.0006093, allocations: 8 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3639, allocations: 48.7 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.244/7.608, allocations: 2.507 GB / 2.83 GB, free: 11.96 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/7.608, allocations: 92.39 kB / 2.83 GB, free: 11.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.553/11.16, allocations: 0.6371 GB / 3.468 GB, free: 32.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.374e-06/11.16, allocations: 1.562 kB / 3.468 GB, free: 32.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001007/11.16, allocations: 24.77 kB / 3.468 GB, free: 32.13 MB / 442.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.01123/11.17, allocations: 2.432 MB / 3.47 GB, free: 30.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/11.17, allocations: 9.812 kB / 3.47 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000632/11.17, allocations: 168.6 kB / 3.47 GB, free: 30.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007159/11.18, allocations: 0.5367 MB / 3.471 GB, free: 30.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/11.18, allocations: 0.8474 MB / 3.471 GB, free: 30.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/11.18, allocations: 212.6 kB / 3.472 GB, free: 29.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/11.18, allocations: 98.47 kB / 3.472 GB, free: 29.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00651/11.19, allocations: 1.844 MB / 3.474 GB, free: 29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.034e-05/11.19, allocations: 9.094 kB / 3.474 GB, free: 29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/11.19, allocations: 49.28 kB / 3.474 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9e-05/11.19, allocations: 45.92 kB / 3.474 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006738/11.2, allocations: 1.668 MB / 3.475 GB, free: 28.49 MB / 442.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.01479/11.21, allocations: 8.439 MB / 3.484 GB, free: 21.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/11.22, allocations: 0.9303 MB / 3.484 GB, free: 21.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5861/11.8, allocations: 57.25 MB / 3.54 GB, free: 65.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/11.8, allocations: 44.12 kB / 3.54 GB, free: 65.14 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001154/11.8, allocations: 109.2 kB / 3.54 GB, free: 65.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 3.847e-06/11.8, allocations: 2.281 kB / 3.54 GB, free: 65.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.01541/11.82, allocations: 3.348 MB / 3.544 GB, free: 64.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/11.82, allocations: 112.9 kB / 3.544 GB, free: 64.51 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/11.82, allocations: 0.6961 MB / 3.545 GB, free: 64.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001752/11.82, allocations: 40.64 kB / 3.545 GB, free: 64.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000491/11.82, allocations: 0.6188 MB / 3.545 GB, free: 64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/11.82, allocations: 279.5 kB / 3.545 GB, free: 63.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/11.82, allocations: 30.5 kB / 3.545 GB, free: 63.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/11.82, allocations: 366.8 kB / 3.546 GB, free: 63.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/11.82, allocations: 418.9 kB / 3.546 GB, free: 63.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/11.83, allocations: 1.038 MB / 3.547 GB, free: 62.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/11.83, allocations: 0.5764 MB / 3.548 GB, free: 62.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/11.83, allocations: 6.656 kB / 3.548 GB, free: 62.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005866/11.83, allocations: 1.704 MB / 3.549 GB, free: 62.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/11.83, allocations: 15.88 kB / 3.549 GB, free: 62.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.948e-05/11.83, allocations: 21.59 kB / 3.55 GB, free: 62.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007302/11.84, allocations: 0.6189 MB / 3.55 GB, free: 62.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/11.84, allocations: 266.9 kB / 3.55 GB, free: 62.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004809/11.85, allocations: 1.804 MB / 3.552 GB, free: 61.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/11.85, allocations: 121.1 kB / 3.552 GB, free: 61.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003901/11.85, allocations: 86.58 kB / 3.552 GB, free: 61.59 MB / 474.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.001324/11.85, allocations: 347.2 kB / 3.553 GB, free: 61.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005158/11.85, allocations: 98.41 kB / 3.553 GB, free: 61.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/11.87, allocations: 4.419 MB / 3.557 GB, free: 61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.842e-05/11.87, allocations: 59.78 kB / 3.557 GB, free: 61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/11.87, allocations: 2.281 kB / 3.557 GB, free: 61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-05/11.87, allocations: 9.031 kB / 3.557 GB, free: 61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02705/11.9, allocations: 6.166 MB / 3.563 GB, free: 60.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/11.9, allocations: 9.125 kB / 3.563 GB, free: 60.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/11.9, allocations: 140.5 kB / 3.563 GB, free: 60.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003728/11.9, allocations: 0.6906 MB / 3.564 GB, free: 60.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/11.9, allocations: 19.62 kB / 3.564 GB, free: 60.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/11.9, allocations: 1.789 MB / 3.566 GB, free: 59.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/11.9, allocations: 7.422 kB / 3.566 GB, free: 59.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02222/11.93, allocations: 3.879 MB / 3.57 GB, free: 58.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/11.93, allocations: 404.7 kB / 3.57 GB, free: 58.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/11.93, allocations: 18.97 kB / 3.57 GB, free: 58.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/11.93, allocations: 83.34 kB / 3.57 GB, free: 58.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/11.93, allocations: 75.31 kB / 3.57 GB, free: 58.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/11.93, allocations: 36.31 kB / 3.57 GB, free: 58.67 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001116/11.93, allocations: 0.5636 MB / 3.571 GB, free: 58.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.91e-07/11.93, allocations: 0 / 3.571 GB, free: 58.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00834/11.94, allocations: 1.51 MB / 3.572 GB, free: 58.49 MB / 474.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,$cse23.phase,$cse23.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.01991/11.96, allocations: 6.252 MB / 3.578 GB, free: 57.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004519/11.96, allocations: 1.642 MB / 3.58 GB, free: 57.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/11.96, allocations: 3.938 kB / 3.58 GB, free: 57.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002433/11.97, allocations: 1.195 MB / 3.581 GB, free: 57.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/11.97, allocations: 431.2 kB / 3.581 GB, free: 57.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8059/12.78, allocations: 160.4 MB / 3.738 GB, free: 46.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/12.78, allocations: 1.421 MB / 3.739 GB, free: 45.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/12.78, allocations: 0.6465 MB / 3.74 GB, free: 45.51 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/12.78, allocations: 0 / 3.74 GB, free: 45.51 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.199/16.98, allocations: 59.91 MB / 3.799 GB, free: 41.76 MB / 474.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