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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004177/0.004182, allocations: 234.7 kB / 15.82 MB, free: 6.297 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.001135/0.001135, allocations: 173.8 kB / 16.7 MB, free: 5.457 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 3.944/3.944, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.034/4.034, allocations: 472.3 MB / 0.9024 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006691/0.0006697, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1826, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.426/7.609, allocations: 2.23 GB / 3.334 GB, free: 232.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/7.609, allocations: 96.08 kB / 3.335 GB, free: 232.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.28/10.89, allocations: 0.6361 GB / 3.971 GB, free: 139.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.388e-06/10.89, allocations: 0.5938 kB / 3.971 GB, free: 139.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001465/10.89, allocations: 29.98 kB / 3.971 GB, free: 139.6 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.005596/10.9, allocations: 1.49 MB / 3.972 GB, free: 139 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/10.9, allocations: 10.62 kB / 3.972 GB, free: 139 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/10.9, allocations: 247.7 kB / 3.972 GB, free: 138.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/10.9, allocations: 0.7774 MB / 3.973 GB, free: 138.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/10.9, allocations: 69.91 kB / 3.973 GB, free: 138.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/10.9, allocations: 97.16 kB / 3.973 GB, free: 138.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/10.9, allocations: 1.134 MB / 3.974 GB, free: 138.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.534e-05/10.9, allocations: 8.188 kB / 3.974 GB, free: 138.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/10.9, allocations: 39.66 kB / 3.974 GB, free: 138.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.756e-05/10.9, allocations: 38.69 kB / 3.975 GB, free: 138.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/10.91, allocations: 0.8653 MB / 3.975 GB, free: 138.4 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.00872/10.92, allocations: 5.628 MB / 3.981 GB, free: 134.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/10.92, allocations: 0.5818 MB / 3.981 GB, free: 134.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007579/10.92, allocations: 332.2 kB / 3.982 GB, free: 134.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007622/10.92, allocations: 306.3 kB / 3.982 GB, free: 134.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/10.92, allocations: 44.72 kB / 3.982 GB, free: 134.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 3.376e-06/10.92, allocations: 3.25 kB / 3.982 GB, free: 134.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.0027/10.92, allocations: 0.8076 MB / 3.983 GB, free: 134.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/10.92, allocations: 86.12 kB / 3.983 GB, free: 134.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/10.92, allocations: 0.7328 MB / 3.984 GB, free: 134.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001916/10.92, allocations: 40.11 kB / 3.984 GB, free: 134.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/10.92, allocations: 0.4899 MB / 3.984 GB, free: 133.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/10.92, allocations: 186.7 kB / 3.984 GB, free: 133.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/10.92, allocations: 17.72 kB / 3.984 GB, free: 133.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001803/10.92, allocations: 389.9 kB / 3.985 GB, free: 133.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006978/10.93, allocations: 259.6 kB / 3.985 GB, free: 133.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009486/10.93, allocations: 0.5676 MB / 3.986 GB, free: 133.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/10.93, allocations: 390.2 kB / 3.986 GB, free: 133.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/10.93, allocations: 2.438 kB / 3.986 GB, free: 133.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002414/10.93, allocations: 0.9016 MB / 3.987 GB, free: 133 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/10.93, allocations: 37.23 kB / 3.987 GB, free: 133 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/10.93, allocations: 8.891 kB / 3.987 GB, free: 133 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/10.93, allocations: 15.84 kB / 3.987 GB, free: 133 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/10.93, allocations: 162.4 kB / 3.987 GB, free: 133 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/10.93, allocations: 22.88 kB / 3.987 GB, free: 133 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/10.93, allocations: 137.8 kB / 3.987 GB, free: 132.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/10.93, allocations: 37.53 kB / 3.987 GB, free: 132.9 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.0008491/10.93, allocations: 328.8 kB / 3.988 GB, free: 132.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/10.93, allocations: 89.47 kB / 3.988 GB, free: 132.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/10.94, allocations: 0.6185 MB / 3.988 GB, free: 132.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/10.94, allocations: 2.531 kB / 3.988 GB, free: 132.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/10.94, allocations: 3.938 kB / 3.988 GB, free: 132.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/10.94, allocations: 0.5196 MB / 3.989 GB, free: 132.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004775/10.94, allocations: 1.663 MB / 3.99 GB, free: 132.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/10.94, allocations: 2.469 kB / 3.99 GB, free: 132.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/10.94, allocations: 123 kB / 3.99 GB, free: 132.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/10.94, allocations: 4.781 kB / 3.99 GB, free: 132.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/10.94, allocations: 15.97 kB / 3.99 GB, free: 132.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/10.94, allocations: 10.72 kB / 3.991 GB, free: 132.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/10.94, allocations: 6.625 kB / 3.991 GB, free: 132.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/10.95, allocations: 1.129 MB / 3.992 GB, free: 132 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007706/10.95, allocations: 238.1 kB / 3.992 GB, free: 131.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/10.95, allocations: 13.33 kB / 3.992 GB, free: 131.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/10.95, allocations: 69.61 kB / 3.992 GB, free: 131.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/10.95, allocations: 34.84 kB / 3.992 GB, free: 131.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/10.95, allocations: 20.48 kB / 3.992 GB, free: 131.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00108/10.95, allocations: 0.5015 MB / 3.992 GB, free: 131.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.6e-07/10.95, allocations: 0 / 3.992 GB, free: 131.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002631/10.95, allocations: 490.1 kB / 3.993 GB, free: 131.7 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.003979/10.96, allocations: 1.907 MB / 3.995 GB, free: 131.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00196/10.96, allocations: 0.6781 MB / 3.995 GB, free: 131.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/10.96, allocations: 1.156 kB / 3.995 GB, free: 131.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006447/10.96, allocations: 290.3 kB / 3.996 GB, free: 131.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004198/10.96, allocations: 438.1 kB / 3.996 GB, free: 131.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/10.97, allocations: 2.352 MB / 3.998 GB, free: 130.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/10.97, allocations: 1.149 MB / 4 GB, free: 129.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001591/10.97, allocations: 254.2 kB / 4 GB, free: 129.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/10.97, allocations: 75.12 kB / 4 GB, free: 129.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.044e-06/10.97, allocations: 0 / 4 GB, free: 129.4 MB / 0.823 GB Notification: Performance of Templates: time 0.0855/11.06, allocations: 36.94 MB / 4.036 GB, free: 128.2 MB / 0.823 GB