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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.462/2.462, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.424e-05/2.427e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3457, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.917/8.263, allocations: 2.617 GB / 2.966 GB, free: 127.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/8.264, allocations: 90.06 kB / 2.966 GB, free: 127.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.589/11.85, allocations: 0.6461 GB / 3.613 GB, free: 34.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.414e-06/11.85, allocations: 192 / 3.613 GB, free: 34.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001022/11.85, allocations: 30.83 kB / 3.613 GB, free: 34.72 MB / 490.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.01095/11.86, allocations: 2.391 MB / 3.615 GB, free: 33.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/11.86, allocations: 12.88 kB / 3.615 GB, free: 33.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007532/11.87, allocations: 0.5785 MB / 3.616 GB, free: 33.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/11.87, allocations: 0.8426 MB / 3.616 GB, free: 32.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/11.87, allocations: 176 kB / 3.617 GB, free: 32.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/11.88, allocations: 62.17 kB / 3.617 GB, free: 32.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003138/11.88, allocations: 1.156 MB / 3.618 GB, free: 32.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/11.88, allocations: 1.366 MB / 3.619 GB, free: 31.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/11.88, allocations: 7.531 kB / 3.619 GB, free: 31.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/11.88, allocations: 10 kB / 3.619 GB, free: 31.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-05/11.88, allocations: 44.27 kB / 3.619 GB, free: 31.45 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.1714/12.05, allocations: 44.01 MB / 3.662 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/12.05, allocations: 0.5421 MB / 3.663 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/12.06, allocations: 308.3 kB / 3.663 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5885/12.64, allocations: 52.79 MB / 3.714 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.091e-05/12.64, allocations: 40.09 kB / 3.715 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001326/12.65, allocations: 102.2 kB / 3.715 GB, free: 24.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=63): time 8.746e-06/12.65, allocations: 0 / 3.715 GB, free: 24.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.0156/12.66, allocations: 2.735 MB / 3.717 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/12.66, allocations: 111.4 kB / 3.717 GB, free: 23.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/12.66, allocations: 0.6649 MB / 3.718 GB, free: 23.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/12.66, allocations: 25.7 kB / 3.718 GB, free: 23.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/12.66, allocations: 0.6373 MB / 3.719 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/12.66, allocations: 245.9 kB / 3.719 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/12.66, allocations: 1.203 kB / 3.719 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001229/12.66, allocations: 369 kB / 3.719 GB, free: 23.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000784/12.66, allocations: 342.1 kB / 3.72 GB, free: 23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/12.67, allocations: 0.9504 MB / 3.721 GB, free: 22.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/12.67, allocations: 0.6373 MB / 3.721 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-05/12.67, allocations: 6.156 kB / 3.721 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005479/12.67, allocations: 1.543 MB / 3.723 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/12.67, allocations: 12.62 kB / 3.723 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/12.67, allocations: 24.38 kB / 3.723 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/12.68, allocations: 454.6 kB / 3.723 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/12.68, allocations: 255.4 kB / 3.723 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/12.68, allocations: 1.784 MB / 3.725 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/12.68, allocations: 98.94 kB / 3.725 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/12.68, allocations: 77.98 kB / 3.725 GB, free: 20.96 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.mixingVolume2.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (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],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete 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.0004684/12.69, allocations: 175.4 kB / 3.725 GB, free: 20.85 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003989/12.69, allocations: 0.9496 MB / 3.726 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/12.69, allocations: 100.2 kB / 3.726 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/12.7, allocations: 4.026 MB / 3.73 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.789e-05/12.7, allocations: 57.97 kB / 3.73 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/12.7, allocations: 3.953 kB / 3.73 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/12.7, allocations: 3.469 kB / 3.73 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009857/12.71, allocations: 5.499 MB / 3.736 GB, free: 19.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/12.71, allocations: 8.016 kB / 3.736 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009609/12.71, allocations: 131.8 kB / 3.736 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/12.71, allocations: 0.729 MB / 3.737 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/12.71, allocations: 13.19 kB / 3.737 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/12.71, allocations: 1.892 MB / 3.739 GB, free: 18.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/12.71, allocations: 0 / 3.739 GB, free: 18.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006665/12.72, allocations: 3.626 MB / 3.742 GB, free: 18.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009788/12.72, allocations: 352.3 kB / 3.742 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/12.72, allocations: 0 / 3.742 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/12.72, allocations: 63.92 kB / 3.742 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/12.72, allocations: 68.5 kB / 3.743 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/12.72, allocations: 34.03 kB / 3.743 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008767/12.72, allocations: 470.2 kB / 3.743 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/12.72, allocations: 0 / 3.743 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008156/12.73, allocations: 1.451 MB / 3.744 GB, free: 17.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 31 ($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,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.01968/12.75, allocations: 6.292 MB / 3.751 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003394/12.75, allocations: 1.422 MB / 3.752 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/12.75, allocations: 0 / 3.752 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/12.76, allocations: 1.065 MB / 3.753 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/12.76, allocations: 391.3 kB / 3.753 GB, free: 16.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/12.77, allocations: 3.412 MB / 3.757 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/12.77, allocations: 1.362 MB / 3.758 GB, free: 30.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/12.77, allocations: 0.6066 MB / 3.759 GB, free: 30.87 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/12.77, allocations: 4 kB / 3.759 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.349/17.12, allocations: 59.97 MB / 3.817 GB, free: 20.87 MB / 0.5105 GB