Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",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.0157/0.0157, allocations: 92.88 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.001201/0.001201, allocations: 173.5 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.131/2.131, allocations: 205.5 MB / 222.2 MB, free: 13.59 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.541/2.541, allocations: 252.8 MB / 0.511 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006512/0.0006513, allocations: 14.62 kB / 0.6243 GB, free: 21.29 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2634, allocations: 106.2 MB / 0.7281 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 1.022/1.286, allocations: 162 MB / 0.8862 GB, free: 0 / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02324/1.309, allocations: 12.24 MB / 0.8982 GB, free: 15 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/1.311, allocations: 27.38 kB / 0.8982 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002587/1.313, allocations: 0.4955 MB / 0.8987 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007969/1.321, allocations: 1.55 MB / 0.9002 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005098/1.326, allocations: 0.981 MB / 0.9012 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004422/1.331, allocations: 1.5 MB / 0.9026 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/1.333, allocations: 0.8322 MB / 0.9034 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/1.337, allocations: 1.115 MB / 0.9045 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/1.34, allocations: 0.6232 MB / 0.9051 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003629/1.34, allocations: 47.41 kB / 0.9052 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/1.343, allocations: 0.5408 MB / 0.9057 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001182/1.344, allocations: 411.6 kB / 0.9061 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/1.346, allocations: 253.6 kB / 0.9064 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003755/1.349, allocations: 1.321 MB / 0.9076 GB, free: 12 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.349, allocations: 0 / 0.9076 GB, free: 12 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.057e-06/1.349, allocations: 0 / 0.9076 GB, free: 12 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.981e-05/1.349, allocations: 2.781 kB / 0.9076 GB, free: 12 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.004048/1.354, allocations: 1.233 MB / 0.9088 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.354, allocations: 8.25 kB / 0.9089 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005342/1.354, allocations: 143 kB / 0.909 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/1.356, allocations: 253.7 kB / 0.9092 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/1.359, allocations: 0.7481 MB / 0.91 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.52e-05/1.359, allocations: 71.06 kB / 0.91 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/1.36, allocations: 91.66 kB / 0.9101 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/1.363, allocations: 1.169 MB / 0.9113 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/1.363, allocations: 7 kB / 0.9113 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.363, allocations: 39.66 kB / 0.9113 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/1.363, allocations: 40.88 kB / 0.9113 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/1.366, allocations: 0.901 MB / 0.9122 GB, free: 9.91 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.009925/1.376, allocations: 5.725 MB / 0.9178 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/1.377, allocations: 0.5459 MB / 0.9183 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/1.378, allocations: 143.8 kB / 0.9185 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/1.378, allocations: 43.98 kB / 0.9185 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=51): time 5.781e-06/1.378, allocations: 0 / 0.9185 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of matching and sorting (n=51): time 0.002685/1.381, allocations: 0.8125 MB / 0.9193 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/1.381, allocations: 90.41 kB / 0.9194 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.382, allocations: 0.7341 MB / 0.9201 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.00017/1.382, allocations: 39.95 kB / 0.9202 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005152/1.383, allocations: 0.4983 MB / 0.9206 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/1.383, allocations: 182.3 kB / 0.9208 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/1.383, allocations: 13.5 kB / 0.9208 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002497/1.384, allocations: 396.4 kB / 0.9212 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/1.384, allocations: 247.3 kB / 0.9214 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009686/1.385, allocations: 0.5582 MB / 0.922 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008603/1.386, allocations: 355.1 kB / 0.9223 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.386, allocations: 5.969 kB / 0.9223 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002254/1.388, allocations: 0.854 MB / 0.9232 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/1.388, allocations: 7.562 kB / 0.9232 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.388, allocations: 10.25 kB / 0.9232 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/1.389, allocations: 10.22 kB / 0.9232 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.39, allocations: 162.2 kB / 0.9234 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/1.39, allocations: 16.84 kB / 0.9234 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/1.391, allocations: 141.2 kB / 0.9235 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.392, allocations: 40.39 kB / 0.9235 GB, free: 2.988 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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 prepare postOptimizeDAE: time 0.0009019/1.393, allocations: 326.2 kB / 0.9239 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/1.393, allocations: 87.95 kB / 0.9239 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/1.395, allocations: 0.6319 MB / 0.9246 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.395, allocations: 5.438 kB / 0.9246 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.395, allocations: 1.859 kB / 0.9246 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001529/1.396, allocations: 0.522 MB / 0.9251 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/1.401, allocations: 1.765 MB / 0.9268 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.401, allocations: 0 / 0.9268 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.402, allocations: 113.6 kB / 0.9269 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.402, allocations: 5.156 kB / 0.9269 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/1.402, allocations: 19.66 kB / 0.9269 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/1.402, allocations: 3.094 kB / 0.9269 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/1.402, allocations: 6.469 kB / 0.9269 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/1.404, allocations: 1.163 MB / 0.9281 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007859/1.405, allocations: 236.4 kB / 0.9283 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/1.405, allocations: 12.91 kB / 0.9283 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.407, allocations: 75.92 kB / 0.9284 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.407, allocations: 35.77 kB / 0.9284 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/1.407, allocations: 20.41 kB / 0.9284 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001058/1.408, allocations: 0.5019 MB / 0.9289 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.51e-07/1.408, allocations: 0 / 0.9289 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001502/1.409, allocations: 305 kB / 0.9292 GB, free: 0.7656 MB / 0.6667 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 (51): * Single equations (assignments): 51 * 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.003533/1.413, allocations: 2.376 MB / 0.9315 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001605/1.415, allocations: 0.6103 MB / 0.9321 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.415, allocations: 0 / 0.9321 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006385/1.415, allocations: 277.6 kB / 0.9324 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/1.419, allocations: 431.2 kB / 0.9328 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/1.435, allocations: 10.69 MB / 0.9433 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.436, allocations: 1.136 MB / 0.9444 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001632/1.438, allocations: 283.2 kB / 0.9446 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008316/1.439, allocations: 361 kB / 0.945 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/1.439, allocations: 0 / 0.945 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08105/1.52, allocations: 23.08 MB / 0.9675 GB, free: 1.188 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00034/1.52, allocations: 223.5 kB / 0.9677 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/4.934, allocations: 0 / 0.9677 GB, free: 0.9453 MB / 0.698 GB