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.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01038/0.01039, 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.001091/0.001091, 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.424/3.424, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.076/4.076, allocations: 472.3 MB / 0.9018 GB, free: 13.43 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004842, allocations: 12 kB / 1.008 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4792, allocations: 98.73 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1447/0.6239, allocations: 151 MB / 1.252 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.6266, allocations: 1.685 MB / 1.253 GB, free: 31.54 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.6269, allocations: 11.94 kB / 1.253 GB, free: 31.53 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.6274, allocations: 155 kB / 1.253 GB, free: 31.38 MB / 0.6823 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.001347/0.6288, allocations: 0.5789 MB / 1.254 GB, free: 30.79 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.6302, allocations: 0.5079 MB / 1.254 GB, free: 30.29 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007334/0.631, allocations: 0.8931 MB / 1.255 GB, free: 29.39 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.6313, allocations: 192.4 kB / 1.255 GB, free: 29.21 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006818/0.632, allocations: 370.4 kB / 1.256 GB, free: 28.85 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.6323, allocations: 227.1 kB / 1.256 GB, free: 28.62 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.6323, allocations: 16 kB / 1.256 GB, free: 28.61 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008313/0.6332, allocations: 387.5 kB / 1.256 GB, free: 28.23 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.6333, allocations: 95.69 kB / 1.256 GB, free: 28.14 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.6334, allocations: 85.52 kB / 1.257 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004957/0.6339, allocations: 412.3 kB / 1.257 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.684e-06/0.6339, allocations: 0 / 1.257 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.938e-06/0.6339, allocations: 0 / 1.257 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.6339, allocations: 0.5625 kB / 1.257 GB, free: 27.64 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007862/0.6347, allocations: 0.6038 MB / 1.258 GB, free: 26.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.6348, allocations: 8.031 kB / 1.258 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.6362, allocations: 173 kB / 1.258 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.6366, allocations: 298.9 kB / 1.258 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.6366, allocations: 16.52 kB / 1.258 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.6367, allocations: 29.06 kB / 1.258 GB, free: 26.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.6372, allocations: 277.2 kB / 1.258 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6372, allocations: 0 / 1.258 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.6373, allocations: 12 kB / 1.258 GB, free: 26.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.48e-06/0.6373, allocations: 4 kB / 1.258 GB, free: 26.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.6378, allocations: 217.5 kB / 1.259 GB, free: 25.93 MB / 0.6823 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.001331/0.6391, allocations: 1.073 MB / 1.26 GB, free: 24.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.6395, allocations: 158.5 kB / 1.26 GB, free: 24.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.6397, allocations: 103.1 kB / 1.26 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.6403, allocations: 319.2 kB / 1.26 GB, free: 24.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.6403, allocations: 38.52 kB / 1.26 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 2.27e-06/0.6404, allocations: 0 / 1.26 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0009189/0.6413, allocations: 318 kB / 1.26 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.6413, allocations: 55.39 kB / 1.261 GB, free: 23.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.6417, allocations: 316.5 kB / 1.261 GB, free: 23.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.6417, allocations: 29.7 kB / 1.261 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.6418, allocations: 176.2 kB / 1.261 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.6419, allocations: 59.11 kB / 1.261 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.6419, allocations: 4 kB / 1.261 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.642, allocations: 339.5 kB / 1.261 GB, free: 22.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.6422, allocations: 83.88 kB / 1.261 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.6425, allocations: 125.1 kB / 1.262 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.6427, allocations: 95.89 kB / 1.262 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.929e-06/0.6427, allocations: 0 / 1.262 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005718/0.6433, allocations: 268.8 kB / 1.262 GB, free: 22.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6433, allocations: 7.953 kB / 1.262 GB, free: 22.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.008e-06/0.6434, allocations: 4.844 kB / 1.262 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6434, allocations: 0 / 1.262 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.6436, allocations: 48.86 kB / 1.262 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.6437, allocations: 3.984 kB / 1.262 GB, free: 22.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.6439, allocations: 39.8 kB / 1.262 GB, free: 22.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.644, allocations: 8 kB / 1.262 GB, free: 22.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001454/0.6441, allocations: 157.7 kB / 1.262 GB, free: 21.92 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.6442, allocations: 27.62 kB / 1.262 GB, free: 21.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005557/0.6448, allocations: 251.1 kB / 1.262 GB, free: 21.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.6448, allocations: 4.516 kB / 1.262 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6448, allocations: 1 kB / 1.262 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.554e-06/0.6448, allocations: 3.984 kB / 1.262 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.646, allocations: 0.711 MB / 1.263 GB, free: 20.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.347e-06/0.646, allocations: 4 kB / 1.263 GB, free: 20.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.6462, allocations: 31.98 kB / 1.263 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.846e-06/0.6463, allocations: 4 kB / 1.263 GB, free: 20.81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.6463, allocations: 7.984 kB / 1.263 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.883e-06/0.6463, allocations: 9.188 kB / 1.263 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.211e-06/0.6463, allocations: 4.844 kB / 1.263 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.647, allocations: 468.9 kB / 1.264 GB, free: 20.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.6472, allocations: 124.7 kB / 1.264 GB, free: 20.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.6472, allocations: 9.484 kB / 1.264 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.6475, allocations: 16.06 kB / 1.264 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.6476, allocations: 15.97 kB / 1.264 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.6476, allocations: 8 kB / 1.264 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002301/0.6479, allocations: 235 kB / 1.264 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.17e-07/0.6479, allocations: 0 / 1.264 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004878/0.6484, allocations: 83.84 kB / 1.264 GB, free: 19.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.0003662/0.6487, allocations: 171.8 kB / 1.264 GB, free: 19.63 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.6493, allocations: 196.3 kB / 1.265 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.811e-06/0.6493, allocations: 0 / 1.265 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.6495, allocations: 99.81 kB / 1.265 GB, free: 19.35 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6506, allocations: 154.9 kB / 1.265 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.6516, allocations: 0.7461 MB / 1.265 GB, free: 18.42 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.6519, allocations: 0.7927 MB / 1.266 GB, free: 17.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000275/0.6522, allocations: 65.23 kB / 1.266 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.6522, allocations: 23.44 kB / 1.266 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of SimCode: time 1.321e-06/0.6523, allocations: 0 / 1.266 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.01219/0.6644, allocations: 5.374 MB / 1.272 GB, free: 12.35 MB / 0.6823 GB