Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01255/0.01255, allocations: 107.9 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001244/0.001244, allocations: 184.5 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.065/2.065, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.374/2.374, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005423/0.0005422, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7414/0.7419, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.327/8.069, allocations: 2.23 GB / 2.913 GB, free: 163.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/8.069, allocations: 94.81 kB / 2.913 GB, free: 163.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.452/11.52, allocations: 0.638 GB / 3.551 GB, free: 149 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.837e-06/11.52, allocations: 0 / 3.551 GB, free: 149 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000104/11.52, allocations: 30.62 kB / 3.551 GB, free: 149 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004923/11.53, allocations: 1.492 MB / 3.553 GB, free: 147.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/11.53, allocations: 8.031 kB / 3.553 GB, free: 147.5 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005463/11.53, allocations: 147.6 kB / 3.553 GB, free: 147.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/11.53, allocations: 246.4 kB / 3.553 GB, free: 147.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/11.53, allocations: 0.7832 MB / 3.554 GB, free: 146.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/11.53, allocations: 73.95 kB / 3.554 GB, free: 146.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/11.53, allocations: 96 kB / 3.554 GB, free: 146.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/11.53, allocations: 1.125 MB / 3.555 GB, free: 144.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/11.53, allocations: 7.938 kB / 3.555 GB, free: 144.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/11.54, allocations: 40 kB / 3.555 GB, free: 144.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/11.54, allocations: 30 kB / 3.555 GB, free: 144.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/11.54, allocations: 0.8665 MB / 3.556 GB, free: 144 MB / 0.823 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.008284/11.55, allocations: 5.628 MB / 3.562 GB, free: 137.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/11.55, allocations: 0.59 MB / 3.562 GB, free: 137.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007718/11.55, allocations: 307.8 kB / 3.563 GB, free: 136.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/11.55, allocations: 43 kB / 3.563 GB, free: 136.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 4.177e-06/11.55, allocations: 0 / 3.563 GB, free: 136.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.002444/11.55, allocations: 0.8065 MB / 3.563 GB, free: 136.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/11.55, allocations: 89.48 kB / 3.563 GB, free: 136 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/11.55, allocations: 0.6484 MB / 3.564 GB, free: 135.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/11.55, allocations: 41.83 kB / 3.564 GB, free: 135.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/11.55, allocations: 0.49 MB / 3.565 GB, free: 134.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/11.55, allocations: 185.4 kB / 3.565 GB, free: 134.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/11.55, allocations: 16 kB / 3.565 GB, free: 134.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001481/11.55, allocations: 390.7 kB / 3.565 GB, free: 134.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/11.55, allocations: 257.8 kB / 3.565 GB, free: 133.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008187/11.55, allocations: 0.5587 MB / 3.566 GB, free: 133.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008147/11.55, allocations: 392.3 kB / 3.566 GB, free: 132.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/11.56, allocations: 4 kB / 3.566 GB, free: 132.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00215/11.56, allocations: 0.902 MB / 3.567 GB, free: 131.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.704e-05/11.56, allocations: 41.8 kB / 3.567 GB, free: 131.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/11.56, allocations: 12 kB / 3.567 GB, free: 131.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/11.56, allocations: 12 kB / 3.567 GB, free: 131.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/11.56, allocations: 159.7 kB / 3.567 GB, free: 131.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/11.56, allocations: 12 kB / 3.567 GB, free: 131.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/11.56, allocations: 143 kB / 3.568 GB, free: 131.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/11.56, allocations: 40 kB / 3.568 GB, free: 131.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0007539/11.56, allocations: 329.5 kB / 3.568 GB, free: 131.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/11.56, allocations: 90.92 kB / 3.568 GB, free: 131.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/11.56, allocations: 0.6098 MB / 3.569 GB, free: 130.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/11.56, allocations: 8 kB / 3.569 GB, free: 130.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/11.56, allocations: 0 / 3.569 GB, free: 130.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/11.56, allocations: 0.5134 MB / 3.569 GB, free: 129.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003952/11.57, allocations: 1.671 MB / 3.571 GB, free: 128.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/11.57, allocations: 4.031 kB / 3.571 GB, free: 128.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/11.57, allocations: 115.9 kB / 3.571 GB, free: 128.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/11.57, allocations: 4 kB / 3.571 GB, free: 128.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/11.57, allocations: 19.98 kB / 3.571 GB, free: 128 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/11.57, allocations: 11.94 kB / 3.571 GB, free: 128 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/11.57, allocations: 4 kB / 3.571 GB, free: 128 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/11.57, allocations: 1.234 MB / 3.572 GB, free: 126.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/11.57, allocations: 227.9 kB / 3.572 GB, free: 126.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/11.57, allocations: 8 kB / 3.572 GB, free: 126.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/11.57, allocations: 75.78 kB / 3.572 GB, free: 126.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/11.57, allocations: 35.91 kB / 3.572 GB, free: 126.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/11.57, allocations: 20 kB / 3.572 GB, free: 126.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009549/11.57, allocations: 0.499 MB / 3.573 GB, free: 125.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-07/11.57, allocations: 0 / 3.573 GB, free: 125.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002361/11.58, allocations: 491.3 kB / 3.573 GB, free: 125.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.006008/11.58, allocations: 4.136 MB / 3.577 GB, free: 121.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001862/11.58, allocations: 0.6904 MB / 3.578 GB, free: 120.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/11.58, allocations: 0 / 3.578 GB, free: 120.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000609/11.59, allocations: 271.7 kB / 3.578 GB, free: 120.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/11.59, allocations: 423.9 kB / 3.579 GB, free: 119.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/11.6, allocations: 8.011 MB / 3.587 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/11.6, allocations: 1.145 MB / 3.588 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001589/11.6, allocations: 262.5 kB / 3.588 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/11.6, allocations: 351.3 kB / 3.588 GB, free: 109.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.133e-06/11.6, allocations: 4 kB / 3.588 GB, free: 109.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/11.74, allocations: 51.17 MB / 3.638 GB, free: 59.07 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/11.74, allocations: 225.9 kB / 3.639 GB, free: 58.83 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.981/16.72, allocations: 3.938 kB / 3.639 GB, free: 58.82 MB / 0.823 GB