Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01427/0.01428, allocations: 90.02 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001704/0.001703, allocations: 169.4 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.22/2.22, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.589/2.589, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006606/0.0006606, allocations: 14.12 kB / 0.6243 GB, free: 21.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2397, allocations: 106.2 MB / 0.7281 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.02/1.26, allocations: 247.8 MB / 0.9701 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.05449/1.315, allocations: 23.94 MB / 0.9934 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005162/1.32, allocations: 95.31 kB / 0.9935 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.008658/1.329, allocations: 1.73 MB / 0.9952 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02688/1.356, allocations: 5.8 MB / 1.001 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01335/1.369, allocations: 2.819 MB / 1.004 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01394/1.383, allocations: 5.227 MB / 1.009 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006268/1.389, allocations: 2.623 MB / 1.011 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009283/1.399, allocations: 2.691 MB / 1.014 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005335/1.404, allocations: 1.927 MB / 1.016 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.00133/1.405, allocations: 152 kB / 1.016 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009829/1.415, allocations: 2.091 MB / 1.018 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.003245/1.418, allocations: 1.344 MB / 1.019 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002443/1.421, allocations: 0.7694 MB / 1.02 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/1.432, allocations: 4.576 MB / 1.025 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.432, allocations: 0 / 1.025 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.687e-06/1.432, allocations: 3.938 kB / 1.025 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002342/1.432, allocations: 0 / 1.025 GB, free: 8.609 MB / 0.7605 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.0123/1.444, allocations: 3.417 MB / 1.028 GB, free: 5.121 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/1.444, allocations: 12.03 kB / 1.028 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001703/1.446, allocations: 395.9 kB / 1.028 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009457/1.455, allocations: 0.9477 MB / 1.029 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/1.466, allocations: 2.203 MB / 1.031 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000632/1.467, allocations: 289.5 kB / 1.032 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001471/1.468, allocations: 292 kB / 1.032 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02689/1.495, allocations: 3.368 MB / 1.035 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/1.495, allocations: 7.906 kB / 1.035 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007148/1.496, allocations: 123.9 kB / 1.035 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002628/1.496, allocations: 109.4 kB / 1.035 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/1.521, allocations: 2.808 MB / 1.038 GB, free: 10.39 MB / 0.7761 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.04367/1.565, allocations: 13.29 MB / 1.051 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004922/1.57, allocations: 1.834 MB / 1.053 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/1.571, allocations: 57.94 kB / 1.053 GB, free: 10 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.479e-05/1.571, allocations: 64.5 kB / 1.053 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=186): time 4.619e-06/1.571, allocations: 0 / 1.053 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of matching and sorting (n=186): time 0.009422/1.58, allocations: 2.742 MB / 1.056 GB, free: 7.188 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/1.58, allocations: 73.41 kB / 1.056 GB, free: 7.102 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004556/1.585, allocations: 1.969 MB / 1.058 GB, free: 5.113 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0006/1.585, allocations: 69.7 kB / 1.058 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.587, allocations: 1.399 MB / 1.059 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.588, allocations: 0.6546 MB / 1.06 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/1.589, allocations: 43.94 kB / 1.06 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002602/1.589, allocations: 389.9 kB / 1.06 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/1.592, allocations: 0.7926 MB / 1.061 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00348/1.595, allocations: 1.416 MB / 1.062 GB, free: 52 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/1.598, allocations: 1.052 MB / 1.063 GB, free: 15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/1.599, allocations: 4 kB / 1.063 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007869/1.606, allocations: 2.471 MB / 1.066 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002258/1.609, allocations: 5.224 MB / 1.071 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.238e-05/1.609, allocations: 15.94 kB / 1.071 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.173e-05/1.609, allocations: 24 kB / 1.071 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005652/1.615, allocations: 0.5578 MB / 1.071 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/1.618, allocations: 4.157 MB / 1.076 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005974/1.624, allocations: 380.4 kB / 1.076 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005677/1.624, allocations: 91.97 kB / 1.076 GB, free: 1.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.624, allocations: 4 kB / 1.076 GB, free: 1.406 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006959/1.631, allocations: 2.218 MB / 1.078 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.237e-05/1.632, allocations: 12 kB / 1.078 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-05/1.632, allocations: 24 kB / 1.078 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/1.635, allocations: 475.3 kB / 1.079 GB, free: 14.69 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.078e-05/1.636, allocations: 31.92 kB / 1.079 GB, free: 14.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/1.641, allocations: 368.1 kB / 1.079 GB, free: 14.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003668/1.641, allocations: 87.98 kB / 1.079 GB, free: 14.21 MB / 0.823 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 (261): * Single equations (assignments): 254 * 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 prepare postOptimizeDAE: time 0.00259/1.644, allocations: 0.8754 MB / 1.08 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009665/1.645, allocations: 268.8 kB / 1.08 GB, free: 13.06 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006133/1.651, allocations: 2.119 MB / 1.082 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/1.651, allocations: 27.98 kB / 1.082 GB, free: 10.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.651, allocations: 0 / 1.082 GB, free: 10.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004988/1.656, allocations: 1.882 MB / 1.084 GB, free: 8.969 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/1.671, allocations: 5.217 MB / 1.089 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.671, allocations: 7.938 kB / 1.089 GB, free: 3.645 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004842/1.676, allocations: 0.5072 MB / 1.09 GB, free: 3.137 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.064e-05/1.676, allocations: 12 kB / 1.09 GB, free: 3.125 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002645/1.676, allocations: 51.97 kB / 1.09 GB, free: 3.074 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/1.679, allocations: 4.13 MB / 1.094 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/1.679, allocations: 11.94 kB / 1.094 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008972/1.688, allocations: 3.618 MB / 1.097 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/1.69, allocations: 0.5911 MB / 1.098 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006554/1.691, allocations: 40 kB / 1.098 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004472/1.696, allocations: 267.5 kB / 1.098 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004859/1.696, allocations: 117.9 kB / 1.098 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/1.696, allocations: 75.95 kB / 1.098 GB, free: 9.922 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003195/1.7, allocations: 1.318 MB / 1.1 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.71e-07/1.7, allocations: 0 / 1.1 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006703/1.706, allocations: 1.737 MB / 1.101 GB, free: 6.852 MB / 0.8386 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.01051/1.717, allocations: 5.18 MB / 1.107 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.728, allocations: 3.309 MB / 1.11 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/1.728, allocations: 8 kB / 1.11 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003435/1.731, allocations: 1.04 MB / 1.111 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01393/1.745, allocations: 1.586 MB / 1.112 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/1.772, allocations: 18.73 MB / 1.131 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/1.775, allocations: 2.267 MB / 1.133 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00678/1.782, allocations: 1.1 MB / 1.134 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003267/1.785, allocations: 1.269 MB / 1.135 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of SimCode: time 1.512e-06/1.785, allocations: 0 / 1.135 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8405/2.626, allocations: 76.84 MB / 1.21 GB, free: 319.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/2.626, allocations: 262 kB / 1.21 GB, free: 319 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.927/8.553, allocations: 0 / 1.21 GB, free: 319 MB / 0.9011 GB