Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.002/4.002, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.124e-05, allocations: 4.5 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2537, allocations: 98.73 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.789/7.043, allocations: 2.191 GB / 2.82 GB, free: 145.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/7.044, allocations: 82.89 kB / 2.82 GB, free: 145.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.71/10.75, allocations: 0.724 GB / 3.544 GB, free: 55.39 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.134e-06/10.75, allocations: 0 / 3.544 GB, free: 55.39 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001504/10.75, allocations: 39.94 kB / 3.544 GB, free: 55.35 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.004621/10.76, allocations: 1.556 MB / 3.545 GB, free: 53.75 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/10.76, allocations: 8.031 kB / 3.545 GB, free: 53.74 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/10.76, allocations: 493.6 kB / 3.546 GB, free: 53.25 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/10.77, allocations: 1.109 MB / 3.547 GB, free: 52.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/10.77, allocations: 40 kB / 3.547 GB, free: 52.06 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/10.77, allocations: 68 kB / 3.547 GB, free: 51.99 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002438/10.77, allocations: 0.9454 MB / 3.548 GB, free: 51.04 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/10.77, allocations: 0.9349 MB / 3.549 GB, free: 50.08 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/10.77, allocations: 0 / 3.549 GB, free: 50.08 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/10.77, allocations: 4 kB / 3.549 GB, free: 50.08 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/10.77, allocations: 46.16 kB / 3.549 GB, free: 50.03 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009764/10.78, allocations: 4.358 MB / 3.553 GB, free: 45.39 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/10.78, allocations: 0.5748 MB / 3.554 GB, free: 44.81 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006711/10.78, allocations: 363.2 kB / 3.554 GB, free: 44.45 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/10.79, allocations: 299.8 kB / 3.554 GB, free: 44.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/10.79, allocations: 43.12 kB / 3.554 GB, free: 44.05 MB / 0.823 GB Notification: Performance of pre-optimization done (n=65): time 4.088e-06/10.79, allocations: 0 / 3.554 GB, free: 44.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=65): time 0.002721/10.79, allocations: 0.7649 MB / 3.555 GB, free: 43.27 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/10.79, allocations: 55.97 kB / 3.555 GB, free: 43.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/10.79, allocations: 0.663 MB / 3.556 GB, free: 42.52 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/10.79, allocations: 29.7 kB / 3.556 GB, free: 42.49 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/10.79, allocations: 0.6079 MB / 3.556 GB, free: 41.87 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/10.79, allocations: 228.7 kB / 3.556 GB, free: 41.64 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/10.79, allocations: 0 / 3.556 GB, free: 41.64 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/10.79, allocations: 341.9 kB / 3.557 GB, free: 41.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/10.79, allocations: 270.5 kB / 3.557 GB, free: 41.04 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007509/10.79, allocations: 0.537 MB / 3.558 GB, free: 40.38 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/10.79, allocations: 368.3 kB / 3.558 GB, free: 40.02 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/10.79, allocations: 4 kB / 3.558 GB, free: 40.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002017/10.79, allocations: 0.8585 MB / 3.559 GB, free: 39.15 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/10.79, allocations: 9.656 kB / 3.559 GB, free: 39.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/10.79, allocations: 11.94 kB / 3.559 GB, free: 39.13 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/10.79, allocations: 12 kB / 3.559 GB, free: 39.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/10.8, allocations: 183.6 kB / 3.559 GB, free: 38.94 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/10.8, allocations: 19.92 kB / 3.559 GB, free: 38.92 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/10.8, allocations: 99.5 kB / 3.559 GB, free: 38.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/10.8, allocations: 39.98 kB / 3.559 GB, free: 38.78 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 104 * 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.0002893/10.8, allocations: 136.6 kB / 3.559 GB, free: 38.64 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002029/10.8, allocations: 0.7025 MB / 3.56 GB, free: 37.92 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/10.8, allocations: 106.7 kB / 3.56 GB, free: 37.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/10.8, allocations: 125.9 kB / 3.56 GB, free: 37.69 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/10.8, allocations: 4 kB / 3.56 GB, free: 37.68 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/10.8, allocations: 4 kB / 3.56 GB, free: 37.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00162/10.8, allocations: 0.8648 MB / 3.561 GB, free: 36.74 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005324/10.81, allocations: 2.068 MB / 3.563 GB, free: 34.58 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/10.81, allocations: 4 kB / 3.563 GB, free: 34.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/10.81, allocations: 127.8 kB / 3.563 GB, free: 34.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/10.81, allocations: 98.12 kB / 3.563 GB, free: 34.35 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/10.81, allocations: 12 kB / 3.563 GB, free: 34.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/10.81, allocations: 2.806 MB / 3.566 GB, free: 31.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/10.81, allocations: 7.938 kB / 3.566 GB, free: 31.29 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/10.82, allocations: 1.462 MB / 3.567 GB, free: 29.67 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008747/10.82, allocations: 283.7 kB / 3.568 GB, free: 29.38 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/10.82, allocations: 15.98 kB / 3.568 GB, free: 29.36 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/10.82, allocations: 59.75 kB / 3.568 GB, free: 29.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/10.82, allocations: 48.31 kB / 3.568 GB, free: 29.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-05/10.82, allocations: 35.98 kB / 3.568 GB, free: 29.22 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008892/10.82, allocations: 0.4887 MB / 3.568 GB, free: 28.72 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.81e-07/10.82, allocations: 0 / 3.568 GB, free: 28.72 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002524/10.82, allocations: 0.534 MB / 3.569 GB, free: 28.18 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005922/10.83, allocations: 4.794 MB / 3.574 GB, free: 23.17 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001661/10.83, allocations: 0.6514 MB / 3.574 GB, free: 22.52 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/10.83, allocations: 4.062 kB / 3.574 GB, free: 22.52 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/10.83, allocations: 0.5321 MB / 3.575 GB, free: 21.96 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005428/10.84, allocations: 0.6266 MB / 3.575 GB, free: 21.34 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006107/10.84, allocations: 2.291 MB / 3.578 GB, free: 18.96 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008948/10.84, allocations: 1.267 MB / 3.579 GB, free: 17.66 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002001/10.85, allocations: 288.9 kB / 3.579 GB, free: 17.38 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009183/10.85, allocations: 463.3 kB / 3.58 GB, free: 16.92 MB / 0.823 GB Notification: Performance of SimCode: time 1.593e-06/10.85, allocations: 4 kB / 3.58 GB, free: 16.92 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7601/11.61, allocations: 41.59 MB / 3.62 GB, free: 151.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/11.61, allocations: 181.4 kB / 3.62 GB, free: 151.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.234/15.84, allocations: 0.875 kB / 3.62 GB, free: 151.1 MB / 0.823 GB