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.01047/0.01047, allocations: 221.6 kB / 15.17 MB, free: 5.926 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.001102/0.001102, allocations: 179.2 kB / 16.06 MB, free: 5.828 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.597/3.597, allocations: 389.1 MB / 405.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.865/3.865, allocations: 472.3 MB / 0.9018 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 12 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.5542, allocations: 98.71 MB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1852/0.7394, allocations: 175.1 MB / 1.275 GB, free: 63.13 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01582/0.7553, allocations: 13.23 MB / 1.288 GB, free: 49.91 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.7564, allocations: 27.81 kB / 1.288 GB, free: 49.88 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.7578, allocations: 449.2 kB / 1.288 GB, free: 49.44 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004824/0.7627, allocations: 1.671 MB / 1.29 GB, free: 47.76 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.7661, allocations: 0.9738 MB / 1.291 GB, free: 46.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003259/0.7694, allocations: 3.14 MB / 1.294 GB, free: 43.65 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.7705, allocations: 0.8218 MB / 1.295 GB, free: 42.85 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.773, allocations: 1.175 MB / 1.296 GB, free: 41.67 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.7744, allocations: 0.9024 MB / 1.297 GB, free: 40.77 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.7746, allocations: 48 kB / 1.297 GB, free: 40.72 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.776, allocations: 494.7 kB / 1.297 GB, free: 40.24 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004364/0.7765, allocations: 450.8 kB / 1.298 GB, free: 39.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.7768, allocations: 253.1 kB / 1.298 GB, free: 39.54 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.7782, allocations: 1.329 MB / 1.299 GB, free: 38.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.931e-06/0.7782, allocations: 3.469 kB / 1.299 GB, free: 38.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.113e-06/0.7782, allocations: 3.938 kB / 1.299 GB, free: 38.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.7782, allocations: 0 / 1.299 GB, free: 38.21 MB / 0.7292 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.001897/0.7801, allocations: 1.26 MB / 1.301 GB, free: 36.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.7802, allocations: 12.03 kB / 1.301 GB, free: 36.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.7818, allocations: 254.4 kB / 1.301 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.7831, allocations: 0.7179 MB / 1.302 GB, free: 35.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/0.7832, allocations: 70 kB / 1.302 GB, free: 35.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.7833, allocations: 92 kB / 1.302 GB, free: 35.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.7853, allocations: 1.176 MB / 1.303 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.7853, allocations: 7.938 kB / 1.303 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.7854, allocations: 36 kB / 1.303 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.7855, allocations: 38 kB / 1.303 GB, free: 34.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.7872, allocations: 0.9171 MB / 1.304 GB, free: 33.48 MB / 0.7292 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.005663/0.7929, allocations: 5.658 MB / 1.309 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009161/0.7938, allocations: 0.5488 MB / 1.31 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/0.7944, allocations: 330.7 kB / 1.31 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/0.795, allocations: 327.7 kB / 1.31 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.795, allocations: 46.95 kB / 1.311 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 3.311e-06/0.795, allocations: 0 / 1.311 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.001857/0.7969, allocations: 0.8222 MB / 1.311 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.7969, allocations: 85.55 kB / 1.311 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.7979, allocations: 0.7352 MB / 1.312 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.798, allocations: 41.7 kB / 1.312 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.7983, allocations: 498.8 kB / 1.313 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.7985, allocations: 181.4 kB / 1.313 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.7986, allocations: 16 kB / 1.313 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7987, allocations: 390.8 kB / 1.313 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.7992, allocations: 265.8 kB / 1.313 GB, free: 22.99 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/0.7999, allocations: 0.557 MB / 1.314 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006368/0.8005, allocations: 387.6 kB / 1.314 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.828e-06/0.8006, allocations: 3.938 kB / 1.314 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001622/0.8022, allocations: 0.9099 MB / 1.315 GB, free: 21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.8023, allocations: 45.64 kB / 1.315 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.8023, allocations: 8 kB / 1.315 GB, free: 20.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.8023, allocations: 14.91 kB / 1.315 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.803, allocations: 155.8 kB / 1.315 GB, free: 20.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/0.8031, allocations: 15.94 kB / 1.315 GB, free: 20.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.8041, allocations: 145.3 kB / 1.316 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-05/0.8042, allocations: 39.98 kB / 1.316 GB, free: 20.58 MB / 0.7292 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.0005202/0.8048, allocations: 337.4 kB / 1.316 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.805, allocations: 82.97 kB / 1.316 GB, free: 20.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.8061, allocations: 0.6216 MB / 1.317 GB, free: 19.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.724e-06/0.8062, allocations: 4 kB / 1.317 GB, free: 19.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.438e-06/0.8062, allocations: 8 kB / 1.317 GB, free: 19.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008483/0.807, allocations: 0.5211 MB / 1.317 GB, free: 19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.8102, allocations: 1.679 MB / 1.319 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.571e-06/0.8102, allocations: 0 / 1.319 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.811, allocations: 119.8 kB / 1.319 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.811, allocations: 4 kB / 1.319 GB, free: 17.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.8111, allocations: 19.98 kB / 1.319 GB, free: 17.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.683e-06/0.8111, allocations: 4 kB / 1.319 GB, free: 17.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.081e-06/0.8111, allocations: 4 kB / 1.319 GB, free: 17.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.8129, allocations: 1.157 MB / 1.32 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/0.8134, allocations: 235.9 kB / 1.32 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.8135, allocations: 15.98 kB / 1.32 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/0.8144, allocations: 67.84 kB / 1.32 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.8145, allocations: 35.89 kB / 1.32 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.8146, allocations: 20 kB / 1.32 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007525/0.8153, allocations: 0.5068 MB / 1.321 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.12e-07/0.8154, allocations: 0 / 1.321 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001115/0.8165, allocations: 299.4 kB / 1.321 GB, free: 14.72 MB / 0.7292 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.0004966/0.817, allocations: 217.8 kB / 1.321 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.8182, allocations: 0.6903 MB / 1.322 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.465e-06/0.8182, allocations: 0 / 1.322 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.8187, allocations: 287.2 kB / 1.322 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.8211, allocations: 439.3 kB / 1.323 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.8245, allocations: 2.356 MB / 1.325 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.8252, allocations: 1.141 MB / 1.326 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001206/0.8264, allocations: 262.6 kB / 1.326 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.8267, allocations: 71.42 kB / 1.327 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of SimCode: time 1.483e-06/0.8267, allocations: 0 / 1.327 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of Templates: time 0.03372/0.8604, allocations: 14.79 MB / 1.341 GB, free: 11.09 MB / 0.7448 GB