Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadModel(Buildings): time 4.131/4.131, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.912e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7328, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.856/6.589, allocations: 2.24 GB / 2.868 GB, free: 79.18 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/6.589, allocations: 85.27 kB / 2.869 GB, free: 79.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.893/9.482, allocations: 0.6299 GB / 3.498 GB, free: 46.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.592e-06/9.482, allocations: 4 kB / 3.498 GB, free: 46.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.983e-05/9.482, allocations: 35.98 kB / 3.498 GB, free: 46.23 MB / 0.8073 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.003352/9.485, allocations: 1.339 MB / 3.5 GB, free: 44.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/9.486, allocations: 8.031 kB / 3.5 GB, free: 44.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/9.488, allocations: 246.4 kB / 3.5 GB, free: 44.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/9.49, allocations: 0.7847 MB / 3.501 GB, free: 43.76 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/9.49, allocations: 32 kB / 3.501 GB, free: 43.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/9.49, allocations: 60 kB / 3.501 GB, free: 43.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001905/9.492, allocations: 0.7692 MB / 3.502 GB, free: 42.9 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/9.494, allocations: 0.9847 MB / 3.503 GB, free: 41.85 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/9.494, allocations: 7.938 kB / 3.503 GB, free: 41.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/9.494, allocations: 3.953 kB / 3.503 GB, free: 41.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/9.494, allocations: 38 kB / 3.503 GB, free: 41.8 MB / 0.8073 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.006467/9.501, allocations: 5.433 MB / 3.508 GB, free: 35.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/9.502, allocations: 0.5466 MB / 3.508 GB, free: 35.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/9.502, allocations: 303.4 kB / 3.509 GB, free: 35.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005391/9.503, allocations: 307.8 kB / 3.509 GB, free: 34.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/9.503, allocations: 46.98 kB / 3.509 GB, free: 34.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=52): time 3.97e-06/9.503, allocations: 0 / 3.509 GB, free: 34.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=52): time 0.001846/9.505, allocations: 0.5888 MB / 3.51 GB, free: 34.05 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/9.505, allocations: 85.55 kB / 3.51 GB, free: 33.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008205/9.506, allocations: 0.5075 MB / 3.51 GB, free: 33.44 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/9.506, allocations: 29.7 kB / 3.51 GB, free: 33.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/9.506, allocations: 498.6 kB / 3.511 GB, free: 32.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/9.506, allocations: 189.3 kB / 3.511 GB, free: 32.72 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/9.506, allocations: 0 / 3.511 GB, free: 32.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000125/9.507, allocations: 382.7 kB / 3.511 GB, free: 32.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/9.507, allocations: 233.5 kB / 3.512 GB, free: 32.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/9.508, allocations: 0.5276 MB / 3.512 GB, free: 31.45 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/9.508, allocations: 360.5 kB / 3.512 GB, free: 31.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.511e-06/9.509, allocations: 0 / 3.512 GB, free: 31.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001833/9.51, allocations: 0.7957 MB / 3.513 GB, free: 30.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/9.51, allocations: 39.58 kB / 3.513 GB, free: 30.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/9.51, allocations: 8 kB / 3.513 GB, free: 30.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/9.511, allocations: 12 kB / 3.513 GB, free: 30.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/9.511, allocations: 160.4 kB / 3.513 GB, free: 30.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/9.511, allocations: 19.92 kB / 3.513 GB, free: 30.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/9.513, allocations: 119.1 kB / 3.513 GB, free: 29.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/9.513, allocations: 32 kB / 3.514 GB, free: 29.9 MB / 0.8073 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0001948/9.513, allocations: 132.7 kB / 3.514 GB, free: 29.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/9.513, allocations: 79 kB / 3.514 GB, free: 29.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/9.515, allocations: 0.5893 MB / 3.514 GB, free: 29.08 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/9.515, allocations: 8 kB / 3.514 GB, free: 29.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.139e-06/9.515, allocations: 0 / 3.514 GB, free: 29.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009992/9.516, allocations: 0.5094 MB / 3.515 GB, free: 28.55 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/9.519, allocations: 1.547 MB / 3.516 GB, free: 26.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.78e-06/9.519, allocations: 0 / 3.516 GB, free: 26.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/9.52, allocations: 120.1 kB / 3.516 GB, free: 26.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/9.52, allocations: 4 kB / 3.516 GB, free: 26.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/9.52, allocations: 12 kB / 3.516 GB, free: 26.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-06/9.52, allocations: 4 kB / 3.516 GB, free: 26.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.236e-06/9.52, allocations: 7.938 kB / 3.516 GB, free: 26.79 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/9.522, allocations: 1.197 MB / 3.518 GB, free: 25.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/9.523, allocations: 220.1 kB / 3.518 GB, free: 25.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/9.523, allocations: 7.953 kB / 3.518 GB, free: 25.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000863/9.524, allocations: 59.84 kB / 3.518 GB, free: 25.21 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/9.524, allocations: 35.89 kB / 3.518 GB, free: 25.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/9.524, allocations: 20 kB / 3.518 GB, free: 25.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006347/9.525, allocations: 391.1 kB / 3.518 GB, free: 24.78 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.46e-07/9.525, allocations: 0 / 3.518 GB, free: 24.78 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001805/9.526, allocations: 419.2 kB / 3.519 GB, free: 24.37 MB / 0.8073 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 () * 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.002981/9.529, allocations: 2.134 MB / 3.521 GB, free: 22.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001294/9.531, allocations: 0.6287 MB / 3.521 GB, free: 21.51 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.354e-06/9.531, allocations: 0 / 3.521 GB, free: 21.51 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004643/9.531, allocations: 261.9 kB / 3.522 GB, free: 21.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/9.534, allocations: 364.9 kB / 3.522 GB, free: 20.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/9.537, allocations: 1.503 MB / 3.523 GB, free: 19.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/9.537, allocations: 1.137 MB / 3.525 GB, free: 18.17 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00124/9.539, allocations: 246.2 kB / 3.525 GB, free: 17.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/9.539, allocations: 63.44 kB / 3.525 GB, free: 17.86 MB / 0.8073 GB Notification: Performance of SimCode: time 1.775e-06/9.539, allocations: 0 / 3.525 GB, free: 17.86 MB / 0.8073 GB Notification: Performance of Templates: time 0.052/9.591, allocations: 23.36 MB / 3.548 GB, free: 10.67 MB / 0.823 GB