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.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.429/4.429, allocations: 433.2 MB / 440.7 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.286e-05, allocations: 5.656 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2503, allocations: 98.74 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.373/7.623, allocations: 2.199 GB / 2.827 GB, free: 136.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000442/7.624, allocations: 85.2 kB / 2.828 GB, free: 136.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.218/10.84, allocations: 0.5674 GB / 3.395 GB, free: 176.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.784e-06/10.84, allocations: 0 / 3.395 GB, free: 176.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.097e-05/10.84, allocations: 26.16 kB / 3.395 GB, free: 176.1 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003069/10.85, allocations: 1.121 MB / 3.396 GB, free: 175.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/10.85, allocations: 11.16 kB / 3.396 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/10.85, allocations: 215.7 kB / 3.396 GB, free: 175.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/10.85, allocations: 0.6476 MB / 3.397 GB, free: 175.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/10.85, allocations: 29.12 kB / 3.397 GB, free: 175.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/10.85, allocations: 47.44 kB / 3.397 GB, free: 175.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/10.85, allocations: 0.5158 MB / 3.397 GB, free: 175.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/10.85, allocations: 0.7331 MB / 3.398 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/10.85, allocations: 3 kB / 3.398 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/10.85, allocations: 3.906 kB / 3.398 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/10.85, allocations: 31.89 kB / 3.398 GB, free: 175 MB / 0.823 GB 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.005227/10.86, allocations: 3.815 MB / 3.402 GB, free: 172.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007746/10.86, allocations: 385.3 kB / 3.402 GB, free: 172.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/10.86, allocations: 202.2 kB / 3.402 GB, free: 172.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/10.86, allocations: 105 kB / 3.403 GB, free: 172.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/10.86, allocations: 44.56 kB / 3.403 GB, free: 172.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 4.308e-06/10.86, allocations: 0 / 3.403 GB, free: 172.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.003272/10.86, allocations: 1.082 MB / 3.404 GB, free: 171.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/10.86, allocations: 58.78 kB / 3.404 GB, free: 171.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/10.86, allocations: 424.1 kB / 3.404 GB, free: 171.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.244e-05/10.86, allocations: 29.67 kB / 3.404 GB, free: 171.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/10.86, allocations: 413.6 kB / 3.405 GB, free: 171.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/10.86, allocations: 156.2 kB / 3.405 GB, free: 171.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/10.86, allocations: 0 / 3.405 GB, free: 171.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001203/10.86, allocations: 375.6 kB / 3.405 GB, free: 171.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/10.86, allocations: 157.8 kB / 3.405 GB, free: 171.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/10.86, allocations: 359.7 kB / 3.406 GB, free: 170.9 MB / 0.823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/10.87, allocations: 0.6201 MB / 3.406 GB, free: 170.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/10.87, allocations: 3.562 kB / 3.406 GB, free: 170.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001286/10.87, allocations: 0.547 MB / 3.407 GB, free: 170.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/10.87, allocations: 7.656 kB / 3.407 GB, free: 170.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/10.87, allocations: 7.562 kB / 3.407 GB, free: 170.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/10.87, allocations: 7.875 kB / 3.407 GB, free: 170.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/10.87, allocations: 118.1 kB / 3.407 GB, free: 170.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/10.87, allocations: 11.41 kB / 3.407 GB, free: 170.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/10.87, allocations: 39.06 kB / 3.407 GB, free: 170.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/10.87, allocations: 23.97 kB / 3.407 GB, free: 170.8 MB / 0.823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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.000202/10.87, allocations: 134.8 kB / 3.407 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009268/10.87, allocations: 400 kB / 3.407 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/10.87, allocations: 64.44 kB / 3.407 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/10.87, allocations: 70.22 kB / 3.408 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/10.87, allocations: 7.312 kB / 3.408 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/10.87, allocations: 3.531 kB / 3.408 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008108/10.87, allocations: 0.6687 MB / 3.408 GB, free: 170.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/10.88, allocations: 1.316 MB / 3.41 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/10.88, allocations: 3.875 kB / 3.41 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/10.88, allocations: 97.17 kB / 3.41 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/10.88, allocations: 6.125 kB / 3.41 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/10.88, allocations: 7.578 kB / 3.41 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/10.88, allocations: 9.969 kB / 3.41 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/10.88, allocations: 3.719 kB / 3.41 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/10.88, allocations: 0.9805 MB / 3.411 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/10.88, allocations: 189.9 kB / 3.411 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/10.88, allocations: 3.969 kB / 3.411 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008447/10.88, allocations: 32.78 kB / 3.411 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/10.88, allocations: 48.3 kB / 3.411 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/10.88, allocations: 18.25 kB / 3.411 GB, free: 169 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00056/10.88, allocations: 325.3 kB / 3.411 GB, free: 168.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.31e-07/10.88, allocations: 0 / 3.411 GB, free: 168.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001707/10.88, allocations: 292.7 kB / 3.411 GB, free: 168.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.004934/10.89, allocations: 4.335 MB / 3.416 GB, free: 166.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001174/10.89, allocations: 405.9 kB / 3.416 GB, free: 166.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/10.89, allocations: 3.938 kB / 3.416 GB, free: 166.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/10.89, allocations: 194.2 kB / 3.416 GB, free: 166.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/10.89, allocations: 298.4 kB / 3.417 GB, free: 166.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/10.9, allocations: 1.434 MB / 3.418 GB, free: 165.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/10.9, allocations: 1.04 MB / 3.419 GB, free: 165.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00104/10.9, allocations: 165.8 kB / 3.419 GB, free: 165.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/10.9, allocations: 275.7 kB / 3.419 GB, free: 165.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.092e-06/10.9, allocations: 0 / 3.419 GB, free: 165.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09145/10.99, allocations: 29.06 MB / 3.448 GB, free: 151.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/10.99, allocations: 206.8 kB / 3.448 GB, free: 151.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.829/14.82, allocations: 2.656 kB / 3.448 GB, free: 151.6 MB / 0.823 GB