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.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.181/4.181, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.369e-05, allocations: 10.14 kB / 0.5325 GB, free: 12.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2498, allocations: 98.73 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.917/7.167, allocations: 2.188 GB / 2.817 GB, free: 147.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/7.168, allocations: 84.55 kB / 2.817 GB, free: 147.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.104/10.27, allocations: 0.5413 GB / 3.358 GB, free: 175.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.194e-06/10.27, allocations: 0 / 3.358 GB, free: 175.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001402/10.27, allocations: 32.69 kB / 3.358 GB, free: 175.9 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004165/10.28, allocations: 1.253 MB / 3.36 GB, free: 175.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/10.28, allocations: 13.31 kB / 3.36 GB, free: 175.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/10.28, allocations: 315.5 kB / 3.36 GB, free: 175.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/10.28, allocations: 0.8645 MB / 3.361 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/10.28, allocations: 30.02 kB / 3.361 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/10.28, allocations: 51.66 kB / 3.361 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002028/10.28, allocations: 0.6782 MB / 3.361 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/10.29, allocations: 0.856 MB / 3.362 GB, free: 174.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/10.29, allocations: 0 / 3.362 GB, free: 174.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/10.29, allocations: 3.688 kB / 3.362 GB, free: 174.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/10.29, allocations: 34.81 kB / 3.362 GB, free: 174.9 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.007661/10.3, allocations: 3.9 MB / 3.366 GB, free: 172.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/10.3, allocations: 324.6 kB / 3.366 GB, free: 172.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/10.3, allocations: 179.5 kB / 3.367 GB, free: 172.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/10.3, allocations: 102.1 kB / 3.367 GB, free: 172.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/10.3, allocations: 36.16 kB / 3.367 GB, free: 172.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 3.407e-06/10.3, allocations: 0 / 3.367 GB, free: 172.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=38): time 0.003263/10.3, allocations: 1.037 MB / 3.368 GB, free: 172.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/10.3, allocations: 55.28 kB / 3.368 GB, free: 172.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009864/10.3, allocations: 0.5465 MB / 3.368 GB, free: 172 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/10.3, allocations: 25.7 kB / 3.368 GB, free: 172 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/10.3, allocations: 0.5401 MB / 3.369 GB, free: 171.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/10.3, allocations: 132 kB / 3.369 GB, free: 171.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/10.3, allocations: 0 / 3.369 GB, free: 171.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001418/10.3, allocations: 385.1 kB / 3.369 GB, free: 171.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/10.3, allocations: 159.8 kB / 3.37 GB, free: 171.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/10.3, allocations: 0.4948 MB / 3.37 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/10.31, allocations: 0.6133 MB / 3.371 GB, free: 170.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/10.31, allocations: 3.906 kB / 3.371 GB, free: 170.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001569/10.31, allocations: 0.6474 MB / 3.371 GB, free: 170.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/10.31, allocations: 11.22 kB / 3.371 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/10.31, allocations: 13.25 kB / 3.371 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.438e-05/10.31, allocations: 18.41 kB / 3.371 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/10.31, allocations: 158.7 kB / 3.371 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/10.31, allocations: 23.94 kB / 3.371 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/10.31, allocations: 52.61 kB / 3.372 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/10.31, allocations: 43.14 kB / 3.372 GB, free: 170.7 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0002384/10.31, allocations: 132.8 kB / 3.372 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009545/10.31, allocations: 377 kB / 3.372 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/10.31, allocations: 78.5 kB / 3.372 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/10.31, allocations: 83.39 kB / 3.372 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/10.31, allocations: 7.188 kB / 3.372 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/10.31, allocations: 0 / 3.372 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007145/10.31, allocations: 0.6172 MB / 3.373 GB, free: 170.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/10.32, allocations: 1.291 MB / 3.374 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.567e-06/10.32, allocations: 3.938 kB / 3.374 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/10.32, allocations: 96.5 kB / 3.374 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/10.32, allocations: 11.73 kB / 3.374 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/10.32, allocations: 5.875 kB / 3.374 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/10.32, allocations: 9.875 kB / 3.374 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/10.32, allocations: 10.88 kB / 3.374 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/10.32, allocations: 0.9319 MB / 3.375 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/10.32, allocations: 201.5 kB / 3.375 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/10.32, allocations: 17.06 kB / 3.375 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/10.32, allocations: 21.64 kB / 3.375 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/10.32, allocations: 32.56 kB / 3.375 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/10.32, allocations: 27.36 kB / 3.375 GB, free: 168.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007653/10.32, allocations: 419 kB / 3.376 GB, free: 168.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.01e-07/10.32, allocations: 0 / 3.376 GB, free: 168.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001853/10.32, allocations: 299.4 kB / 3.376 GB, free: 168.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.004342/10.33, allocations: 4.028 MB / 3.38 GB, free: 166.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001184/10.33, allocations: 422 kB / 3.38 GB, free: 166.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/10.33, allocations: 3.781 kB / 3.38 GB, free: 166.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002984/10.33, allocations: 157.5 kB / 3.381 GB, free: 166.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/10.33, allocations: 416.2 kB / 3.381 GB, free: 166.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/10.34, allocations: 1.61 MB / 3.383 GB, free: 165.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007675/10.34, allocations: 1.125 MB / 3.384 GB, free: 165 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001438/10.34, allocations: 211.4 kB / 3.384 GB, free: 165 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006742/10.34, allocations: 332.7 kB / 3.384 GB, free: 165 MB / 0.823 GB Notification: Performance of SimCode: time 1.654e-06/10.34, allocations: 0 / 3.384 GB, free: 165 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/10.48, allocations: 29.45 MB / 3.413 GB, free: 163.6 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/10.48, allocations: 201.3 kB / 3.413 GB, free: 163.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.931/14.41, allocations: 0 / 3.413 GB, free: 163.4 MB / 0.823 GB