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.004307/0.004313, allocations: 232.1 kB / 15.8 MB, free: 6.285 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.001163/0.001163, allocations: 178.8 kB / 16.69 MB, free: 5.449 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 4.134/4.134, allocations: 389.1 MB / 406.5 MB, free: 11.85 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 3.943/3.943, allocations: 472.3 MB / 0.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006358/0.0006359, allocations: 18.97 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1669, allocations: 98.73 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8069/0.9738, allocations: 175 MB / 1.276 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0254/0.9993, allocations: 13.21 MB / 1.288 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/1.001, allocations: 26.47 kB / 1.288 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002325/1.003, allocations: 448.1 kB / 1.289 GB, free: 3.02 MB / 0.6511 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.007021/1.01, allocations: 1.679 MB / 1.291 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004751/1.015, allocations: 0.9707 MB / 1.291 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00563/1.021, allocations: 3.155 MB / 1.295 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/1.023, allocations: 0.8177 MB / 1.295 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/1.027, allocations: 1.168 MB / 1.297 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/1.029, allocations: 0.8989 MB / 1.297 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002809/1.029, allocations: 49.81 kB / 1.297 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/1.032, allocations: 496.3 kB / 1.298 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008008/1.033, allocations: 450.3 kB / 1.298 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005977/1.033, allocations: 253.4 kB / 1.299 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002735/1.036, allocations: 1.334 MB / 1.3 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.036, allocations: 2.844 kB / 1.3 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.484e-06/1.036, allocations: 0 / 1.3 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.315e-05/1.036, allocations: 0 / 1.3 GB, free: 12.08 MB / 0.6667 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.003268/1.039, allocations: 1.256 MB / 1.301 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.04, allocations: 8.406 kB / 1.301 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/1.042, allocations: 246.2 kB / 1.301 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/1.044, allocations: 0.7218 MB / 1.302 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.766e-05/1.044, allocations: 69.03 kB / 1.302 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/1.044, allocations: 97.56 kB / 1.302 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/1.047, allocations: 1.178 MB / 1.303 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/1.047, allocations: 1.844 kB / 1.303 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/1.047, allocations: 42.81 kB / 1.303 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.427e-05/1.047, allocations: 32.47 kB / 1.303 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/1.05, allocations: 0.9126 MB / 1.304 GB, free: 9.121 MB / 0.6667 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.009285/1.059, allocations: 5.661 MB / 1.31 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.06, allocations: 0.5494 MB / 1.31 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/1.061, allocations: 337.4 kB / 1.311 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009009/1.062, allocations: 323.7 kB / 1.311 GB, free: 3.191 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/1.062, allocations: 44.14 kB / 1.311 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.426e-06/1.062, allocations: 0 / 1.311 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.002431/1.064, allocations: 0.8309 MB / 1.312 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/1.065, allocations: 80.42 kB / 1.312 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.066, allocations: 0.7344 MB / 1.313 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/1.066, allocations: 39.36 kB / 1.313 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000498/1.067, allocations: 498.9 kB / 1.313 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/1.067, allocations: 186 kB / 1.313 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/1.067, allocations: 21.41 kB / 1.313 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002079/1.067, allocations: 386.1 kB / 1.314 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/1.068, allocations: 263.9 kB / 1.314 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009374/1.069, allocations: 0.559 MB / 1.315 GB, free: 0.5547 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/1.07, allocations: 389.6 kB / 1.315 GB, free: 356 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.07, allocations: 6.906 kB / 1.315 GB, free: 352 kB / 0.6667 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002353/1.072, allocations: 0.9003 MB / 1.316 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/1.072, allocations: 41.69 kB / 1.316 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/1.072, allocations: 11.95 kB / 1.316 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/1.072, allocations: 13.31 kB / 1.316 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/1.073, allocations: 159.8 kB / 1.316 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.984e-05/1.073, allocations: 22.78 kB / 1.316 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.075, allocations: 139 kB / 1.316 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.075, allocations: 35.98 kB / 1.316 GB, free: 15.02 MB / 0.6823 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.0007456/1.076, allocations: 337.5 kB / 1.317 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/1.076, allocations: 82.97 kB / 1.317 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/1.078, allocations: 0.6216 MB / 1.317 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/1.079, allocations: 0.5172 MB / 1.318 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.079, allocations: 3.984 kB / 1.318 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008779/1.08, allocations: 235.4 kB / 1.318 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/1.08, allocations: 12 kB / 1.318 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.082, allocations: 67.5 kB / 1.318 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/1.083, allocations: 36.39 kB / 1.318 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003891/1.086, allocations: 0.7683 MB / 1.319 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004117/1.091, allocations: 1.207 MB / 1.32 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009383/1.092, allocations: 267.4 kB / 1.32 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001595/1.093, allocations: 0.499 MB / 1.321 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of Backend: time 1.062e-06/1.093, allocations: 0 / 1.321 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004588/1.098, allocations: 0.792 MB / 1.322 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of SimCode: time 0.01164/1.11, allocations: 2.915 MB / 1.324 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of Templates: time 0.04937/1.159, allocations: 16.56 MB / 1.341 GB, free: 6.336 MB / 0.698 GB