Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006344/0.0006345, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3552, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.031/8.386, allocations: 2.617 GB / 2.978 GB, free: 79.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/8.387, allocations: 90.94 kB / 2.978 GB, free: 79.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958/12.34, allocations: 0.6539 GB / 3.632 GB, free: 42.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.625e-06/12.34, allocations: 0 / 3.632 GB, free: 42.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001326/12.35, allocations: 27.62 kB / 3.632 GB, free: 42.11 MB / 0.4948 GB 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.01241/12.36, allocations: 2.504 MB / 3.635 GB, free: 41.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/12.36, allocations: 10.16 kB / 3.635 GB, free: 41.2 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000695/12.36, allocations: 161.8 kB / 3.635 GB, free: 41.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007462/12.37, allocations: 0.576 MB / 3.635 GB, free: 41.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/12.37, allocations: 0.8434 MB / 3.636 GB, free: 40.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002839/12.37, allocations: 206.5 kB / 3.636 GB, free: 40.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/12.37, allocations: 107.5 kB / 3.636 GB, free: 40.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007222/12.38, allocations: 1.841 MB / 3.638 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/12.38, allocations: 9.094 kB / 3.638 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/12.38, allocations: 53.88 kB / 3.638 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.25e-05/12.38, allocations: 46 kB / 3.638 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007704/12.39, allocations: 1.664 MB / 3.64 GB, free: 40.28 MB / 0.4948 GB 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.01474/12.4, allocations: 8.457 MB / 3.648 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004402/12.4, allocations: 0.926 MB / 3.649 GB, free: 34.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2126/12.62, allocations: 57.32 MB / 3.705 GB, free: 30.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/12.62, allocations: 46.47 kB / 3.705 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001157/12.62, allocations: 98.56 kB / 3.705 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 4.89e-06/12.62, allocations: 4 kB / 3.705 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77): time 0.01607/12.63, allocations: 3.35 MB / 3.709 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/12.63, allocations: 114.9 kB / 3.709 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/12.64, allocations: 0.6939 MB / 3.709 GB, free: 29.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002057/12.64, allocations: 38.89 kB / 3.709 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/12.64, allocations: 0.6208 MB / 3.71 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000305/12.64, allocations: 274.9 kB / 3.71 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/12.64, allocations: 25.72 kB / 3.71 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002043/12.64, allocations: 370.3 kB / 3.711 GB, free: 28.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/12.64, allocations: 423 kB / 3.711 GB, free: 28.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/12.64, allocations: 1.043 MB / 3.712 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/12.64, allocations: 0.5735 MB / 3.713 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/12.64, allocations: 3.812 kB / 3.713 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005414/12.65, allocations: 1.707 MB / 3.714 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/12.65, allocations: 17.09 kB / 3.714 GB, free: 27.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/12.65, allocations: 26.38 kB / 3.714 GB, free: 27.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004606/12.65, allocations: 0.6137 MB / 3.715 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/12.65, allocations: 259.8 kB / 3.715 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/12.66, allocations: 1.817 MB / 3.717 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/12.66, allocations: 119.7 kB / 3.717 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/12.66, allocations: 81.72 kB / 3.717 GB, free: 26.74 MB / 0.5261 GB 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.0009287/12.66, allocations: 345.4 kB / 3.717 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/12.66, allocations: 95.31 kB / 3.718 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008894/12.67, allocations: 4.423 MB / 3.722 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.849e-05/12.67, allocations: 58.33 kB / 3.722 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/12.67, allocations: 0 / 3.722 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/12.67, allocations: 6.969 kB / 3.722 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/12.68, allocations: 6.178 MB / 3.728 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/12.68, allocations: 3.062 kB / 3.728 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/12.68, allocations: 156.4 kB / 3.728 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/12.69, allocations: 0.6622 MB / 3.729 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/12.69, allocations: 31.72 kB / 3.729 GB, free: 25.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/12.69, allocations: 1.792 MB / 3.731 GB, free: 24.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/12.69, allocations: 0 / 3.731 GB, free: 24.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007225/12.7, allocations: 3.884 MB / 3.734 GB, free: 23.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/12.7, allocations: 414.5 kB / 3.735 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/12.7, allocations: 21.91 kB / 3.735 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/12.7, allocations: 74.75 kB / 3.735 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/12.7, allocations: 70.41 kB / 3.735 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/12.7, allocations: 32.16 kB / 3.735 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001099/12.7, allocations: 0.5597 MB / 3.735 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/12.7, allocations: 0 / 3.735 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008406/12.71, allocations: 1.542 MB / 3.737 GB, free: 23.34 MB / 0.5261 GB 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.02126/12.73, allocations: 6.249 MB / 3.743 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004462/12.74, allocations: 1.645 MB / 3.745 GB, free: 21.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/12.74, allocations: 0 / 3.745 GB, free: 21.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002434/12.74, allocations: 1.196 MB / 3.746 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/12.74, allocations: 432 kB / 3.746 GB, free: 21.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8554/13.6, allocations: 163.2 MB / 3.906 GB, free: 48.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/13.6, allocations: 1.413 MB / 3.907 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/13.6, allocations: 0.6519 MB / 3.908 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/13.6, allocations: 0 / 3.908 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.191/17.79, allocations: 60.07 MB / 3.966 GB, free: 42.4 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat