Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01043/0.01043, allocations: 222.3 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.001072/0.001072, allocations: 176 kB / 16.06 MB, free: 5.832 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.536/3.536, allocations: 389.1 MB / 405.9 MB, free: 14.22 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.845/3.845, allocations: 472.3 MB / 0.9018 GB, free: 40 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004756, allocations: 12 kB / 1.008 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.5795, allocations: 98.71 MB / 1.104 GB, free: 206.3 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7904/1.37, allocations: 270.7 MB / 1.368 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03597/1.406, allocations: 25.7 MB / 1.393 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003977/1.41, allocations: 97.19 kB / 1.394 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005053/1.415, allocations: 1.554 MB / 1.395 GB, free: 9.16 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. [/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.0195/1.435, allocations: 6.224 MB / 1.401 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0103/1.445, allocations: 2.794 MB / 1.404 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01377/1.459, allocations: 10.78 MB / 1.414 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004411/1.463, allocations: 2.573 MB / 1.417 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006917/1.47, allocations: 2.92 MB / 1.42 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005645/1.476, allocations: 2.862 MB / 1.423 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0009786/1.477, allocations: 154.4 kB / 1.423 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008044/1.485, allocations: 1.849 MB / 1.424 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002978/1.488, allocations: 1.452 MB / 1.426 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002233/1.49, allocations: 0.7764 MB / 1.427 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.007985/1.498, allocations: 4.63 MB / 1.431 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.54e-06/1.498, allocations: 0.75 kB / 1.431 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.532e-06/1.498, allocations: 4 kB / 1.431 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.068e-05/1.498, allocations: 0 / 1.431 GB, free: 3.848 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: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.007248/1.506, allocations: 3.512 MB / 1.435 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/1.506, allocations: 11.19 kB / 1.435 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007318/1.513, allocations: 0.9459 MB / 1.436 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005581/1.519, allocations: 2.158 MB / 1.438 GB, free: 368 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/1.519, allocations: 283.4 kB / 1.438 GB, free: 288 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007335/1.52, allocations: 297.4 kB / 1.438 GB, free: 284 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009101/1.529, allocations: 3.432 MB / 1.442 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.72e-05/1.529, allocations: 2.156 kB / 1.442 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003906/1.529, allocations: 118.5 kB / 1.442 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/1.529, allocations: 109.2 kB / 1.442 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006847/1.536, allocations: 2.831 MB / 1.445 GB, free: 14.96 MB / 0.7448 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.02171/1.558, allocations: 13.32 MB / 1.458 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/1.562, allocations: 1.87 MB / 1.459 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/1.564, allocations: 1.116 MB / 1.46 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/1.565, allocations: 329.8 kB / 1.461 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.56e-05/1.565, allocations: 66.45 kB / 1.461 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=186): time 5.628e-06/1.565, allocations: 0 / 1.461 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=186): time 0.006752/1.572, allocations: 2.739 MB / 1.464 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/1.572, allocations: 73.41 kB / 1.464 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/1.575, allocations: 1.988 MB / 1.466 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003435/1.575, allocations: 71.58 kB / 1.466 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.577, allocations: 1.406 MB / 1.467 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008877/1.578, allocations: 0.6492 MB / 1.468 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/1.578, allocations: 48.69 kB / 1.468 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002504/1.578, allocations: 389 kB / 1.468 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/1.58, allocations: 0.8206 MB / 1.469 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/1.582, allocations: 1.456 MB / 1.47 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/1.585, allocations: 1.156 MB / 1.471 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/1.585, allocations: 4 kB / 1.471 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.005777/1.591, allocations: 2.651 MB / 1.474 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004642/1.591, allocations: 0.5469 MB / 1.475 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/1.591, allocations: 12 kB / 1.475 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.45e-05/1.591, allocations: 24 kB / 1.475 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/1.594, allocations: 0.5664 MB / 1.475 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/1.598, allocations: 4.158 MB / 1.479 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/1.602, allocations: 388.2 kB / 1.48 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/1.602, allocations: 97.66 kB / 1.48 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.602, allocations: 4 kB / 1.48 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004968/1.607, allocations: 2.388 MB / 1.482 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/1.607, allocations: 12.22 kB / 1.482 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/1.607, allocations: 28 kB / 1.482 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.609, allocations: 478.6 kB / 1.482 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.28e-05/1.61, allocations: 30.89 kB / 1.482 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/1.613, allocations: 362.1 kB / 1.483 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/1.614, allocations: 93.28 kB / 1.483 GB, free: 0.918 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (265): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002064/1.616, allocations: 0.8767 MB / 1.484 GB, free: 344 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/1.616, allocations: 272.5 kB / 1.484 GB, free: 72 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/1.621, allocations: 2.123 MB / 1.486 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.621, allocations: 18.62 kB / 1.486 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.109e-06/1.621, allocations: 0 / 1.486 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003767/1.625, allocations: 1.888 MB / 1.488 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/1.637, allocations: 5.204 MB / 1.493 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.637, allocations: 0 / 1.493 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003158/1.64, allocations: 0.5111 MB / 1.494 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-05/1.64, allocations: 22.55 kB / 1.494 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.64, allocations: 49.98 kB / 1.494 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/1.643, allocations: 4.126 MB / 1.498 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.152e-06/1.643, allocations: 8.094 kB / 1.498 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/1.65, allocations: 3.381 MB / 1.501 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/1.652, allocations: 0.5921 MB / 1.502 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000448/1.652, allocations: 40.94 kB / 1.502 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002808/1.655, allocations: 269.7 kB / 1.502 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/1.655, allocations: 123.6 kB / 1.502 GB, free: 1.691 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/1.656, allocations: 74.02 kB / 1.502 GB, free: 1.633 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002479/1.658, allocations: 1.319 MB / 1.503 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.55e-07/1.658, allocations: 0 / 1.503 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006245/1.664, allocations: 1.757 MB / 1.505 GB, free: 14.98 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009543/1.665, allocations: 401.5 kB / 1.505 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008219/1.674, allocations: 3.743 MB / 1.509 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.674, allocations: 4.75 kB / 1.509 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002428/1.676, allocations: 1.037 MB / 1.51 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009241/1.685, allocations: 1.601 MB / 1.512 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/1.7, allocations: 7.893 MB / 1.519 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/1.702, allocations: 2.259 MB / 1.522 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005297/1.708, allocations: 1.077 MB / 1.523 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008085/1.709, allocations: 220.2 kB / 1.523 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of SimCode: time 1.494e-06/1.709, allocations: 0 / 1.523 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.127/1.836, allocations: 53.11 MB / 1.575 GB, free: 11.75 MB / 0.8542 GB