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.009464/0.009464, allocations: 107.8 kB / 15.06 MB, free: 5.602 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.00113/0.00113, allocations: 182.4 kB / 15.95 MB, free: 5.539 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 1.926/1.926, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.603/2.603, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004695, allocations: 12 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.538, allocations: 98.71 MB / 0.6833 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9868/1.525, allocations: 247 MB / 0.9245 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03971/1.565, allocations: 23.89 MB / 0.9479 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004265/1.569, allocations: 91.34 kB / 0.9479 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005865/1.575, allocations: 1.734 MB / 0.9496 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01965/1.595, allocations: 5.781 MB / 0.9553 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01072/1.605, allocations: 2.834 MB / 0.958 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01089/1.616, allocations: 5.271 MB / 0.9632 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005812/1.622, allocations: 2.613 MB / 0.9657 GB, free: 23.06 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007114/1.629, allocations: 2.704 MB / 0.9684 GB, free: 23.06 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004235/1.633, allocations: 1.932 MB / 0.9703 GB, free: 23.05 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0009087/1.634, allocations: 153 kB / 0.9704 GB, free: 23.05 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007927/1.642, allocations: 2.088 MB / 0.9725 GB, free: 23.05 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.002554/1.645, allocations: 1.341 MB / 0.9738 GB, free: 23.04 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.002275/1.647, allocations: 0.7722 MB / 0.9745 GB, free: 23.01 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.008275/1.656, allocations: 4.602 MB / 0.979 GB, free: 22.49 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 3.33e-06/1.656, allocations: 0 / 0.979 GB, free: 22.49 MB / 0.7449 GB Notification: Performance of FrontEnd: time 2.762e-06/1.656, allocations: 0 / 0.979 GB, free: 22.49 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 0.0001459/1.656, allocations: 0 / 0.979 GB, free: 22.49 MB / 0.7449 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.007557/1.663, allocations: 3.502 MB / 0.9824 GB, free: 20.31 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.663, allocations: 12.3 kB / 0.9825 GB, free: 20.3 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007523/1.671, allocations: 0.9473 MB / 0.9834 GB, free: 19.92 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005476/1.676, allocations: 2.159 MB / 0.9855 GB, free: 19 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003371/1.677, allocations: 279.6 kB / 0.9858 GB, free: 18.92 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006545/1.677, allocations: 299.4 kB / 0.986 GB, free: 18.91 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007789/1.685, allocations: 3.371 MB / 0.9893 GB, free: 17.99 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.903e-05/1.685, allocations: 4.516 kB / 0.9893 GB, free: 17.99 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003727/1.686, allocations: 116.9 kB / 0.9894 GB, free: 17.99 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/1.686, allocations: 115.1 kB / 0.9896 GB, free: 17.98 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006266/1.692, allocations: 2.822 MB / 0.9923 GB, free: 17.48 MB / 0.7449 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.02064/1.713, allocations: 13.31 MB / 1.005 GB, free: 8.27 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/1.716, allocations: 1.864 MB / 1.007 GB, free: 8 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/1.717, allocations: 64.12 kB / 1.007 GB, free: 7.988 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/1.717, allocations: 63.11 kB / 1.007 GB, free: 7.945 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=186): time 5.759e-06/1.717, allocations: 0 / 1.007 GB, free: 7.945 MB / 0.7449 GB Notification: Performance of matching and sorting (n=186): time 0.006754/1.724, allocations: 2.744 MB / 1.01 GB, free: 7.434 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/1.724, allocations: 70.78 kB / 1.01 GB, free: 7.367 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/1.727, allocations: 1.983 MB / 1.012 GB, free: 6.801 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 0.000441/1.728, allocations: 70.73 kB / 1.012 GB, free: 6.77 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/1.729, allocations: 1.404 MB / 1.013 GB, free: 6.098 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009193/1.73, allocations: 0.6473 MB / 1.014 GB, free: 5.621 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/1.73, allocations: 50.11 kB / 1.014 GB, free: 5.617 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.000253/1.73, allocations: 390.8 kB / 1.014 GB, free: 5.285 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/1.732, allocations: 0.8228 MB / 1.015 GB, free: 5.156 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/1.734, allocations: 1.445 MB / 1.017 GB, free: 4.316 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/1.737, allocations: 1.157 MB / 1.018 GB, free: 4.094 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.737, allocations: 3.281 kB / 1.018 GB, free: 4.094 MB / 0.7449 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.005595/1.742, allocations: 2.649 MB / 1.02 GB, free: 3.531 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.002952/1.745, allocations: 5.315 MB / 1.026 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/1.745, allocations: 12.19 kB / 1.026 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.877e-05/1.745, allocations: 27.69 kB / 1.026 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/1.749, allocations: 0.5593 MB / 1.026 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/1.752, allocations: 4.171 MB / 1.03 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/1.756, allocations: 384.3 kB / 1.031 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/1.756, allocations: 92.17 kB / 1.031 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.756, allocations: 3.312 kB / 1.031 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004805/1.761, allocations: 2.391 MB / 1.033 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/1.761, allocations: 13.12 kB / 1.033 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/1.761, allocations: 38.16 kB / 1.033 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/1.764, allocations: 485.6 kB / 1.034 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.331e-05/1.764, allocations: 26.16 kB / 1.034 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/1.768, allocations: 363 kB / 1.034 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/1.768, allocations: 90.27 kB / 1.034 GB, free: 8.797 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.002159/1.77, allocations: 0.8671 MB / 1.035 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007864/1.771, allocations: 271.7 kB / 1.035 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/1.776, allocations: 2.117 MB / 1.037 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/1.776, allocations: 16 kB / 1.037 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.776, allocations: 4 kB / 1.037 GB, free: 7.66 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003771/1.779, allocations: 1.892 MB / 1.039 GB, free: 6.289 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.791, allocations: 5.205 MB / 1.044 GB, free: 2.664 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.791, allocations: 4 kB / 1.044 GB, free: 2.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/1.795, allocations: 0.5147 MB / 1.045 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/1.795, allocations: 8 kB / 1.045 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/1.795, allocations: 55.78 kB / 1.045 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/1.798, allocations: 4.126 MB / 1.049 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.698e-06/1.798, allocations: 7.188 kB / 1.049 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007252/1.805, allocations: 3.618 MB / 1.052 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.807, allocations: 0.5843 MB / 1.053 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004467/1.807, allocations: 43.86 kB / 1.053 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002951/1.81, allocations: 266.5 kB / 1.053 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/1.811, allocations: 118.7 kB / 1.053 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/1.811, allocations: 74.58 kB / 1.053 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00261/1.814, allocations: 1.318 MB / 1.055 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.35e-07/1.814, allocations: 0 / 1.055 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00614/1.82, allocations: 1.758 MB / 1.056 GB, free: 7.676 MB / 0.7761 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.001164/1.821, allocations: 405.5 kB / 1.057 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009199/1.83, allocations: 3.733 MB / 1.06 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.83, allocations: 4.25 kB / 1.06 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/1.833, allocations: 1.045 MB / 1.061 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009025/1.842, allocations: 1.571 MB / 1.063 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.857, allocations: 7.873 MB / 1.071 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002981/1.86, allocations: 2.267 MB / 1.073 GB, free: 9.137 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00572/1.866, allocations: 1.076 MB / 1.074 GB, free: 8.055 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.867, allocations: 211.6 kB / 1.074 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of SimCode: time 3.486e-06/1.867, allocations: 0 / 1.074 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of Templates: time 0.1306/1.998, allocations: 53.06 MB / 1.126 GB, free: 3.898 MB / 0.8386 GB