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.TemperatureDryBulb.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01046/0.01046, allocations: 220.8 kB / 15.17 MB, free: 5.93 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.001093/0.001093, allocations: 176.8 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.544/3.544, allocations: 389.1 MB / 405.9 MB, free: 13.23 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.679/3.679, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004674, allocations: 12 kB / 1.008 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5184, allocations: 98.7 MB / 1.104 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2209/0.7393, allocations: 163.5 MB / 1.264 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.007834/0.7472, allocations: 4.478 MB / 1.268 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.7477, allocations: 15.88 kB / 1.268 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.000861/0.7486, allocations: 250.4 kB / 1.268 GB, free: 2.031 MB / 0.6667 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.001963/0.7506, allocations: 0.6798 MB / 1.269 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.754, allocations: 1.001 MB / 1.27 GB, free: 352 kB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002073/0.7561, allocations: 1.512 MB / 1.271 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.7568, allocations: 356.8 kB / 1.272 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.7584, allocations: 0.6806 MB / 1.272 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000591/0.759, allocations: 402.4 kB / 1.273 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.744e-05/0.7591, allocations: 28 kB / 1.273 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.7608, allocations: 0.5336 MB / 1.273 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.7611, allocations: 167.5 kB / 1.274 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.7613, allocations: 125.5 kB / 1.274 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.7623, allocations: 0.6558 MB / 1.274 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.338e-06/0.7623, allocations: 3.938 kB / 1.274 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7624, allocations: 4 kB / 1.274 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.7624, allocations: 0 / 1.274 GB, free: 11.88 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001851/0.7642, allocations: 0.9007 MB / 1.275 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.7643, allocations: 8.031 kB / 1.275 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/0.7668, allocations: 290.9 kB / 1.275 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009651/0.7678, allocations: 437.8 kB / 1.276 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.7679, allocations: 33 kB / 1.276 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.768, allocations: 48 kB / 1.276 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.7694, allocations: 0.5585 MB / 1.277 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.7694, allocations: 0 / 1.277 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.7695, allocations: 16 kB / 1.277 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.7695, allocations: 12 kB / 1.277 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.771, allocations: 499.5 kB / 1.277 GB, free: 8.969 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.003504/0.7745, allocations: 2.139 MB / 1.279 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.7759, allocations: 450.6 kB / 1.28 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.7766, allocations: 248.7 kB / 1.28 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000832/0.7774, allocations: 408.3 kB / 1.28 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008061/0.7782, allocations: 306.9 kB / 1.28 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 3.426e-06/0.7783, allocations: 0 / 1.28 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.002463/0.7807, allocations: 0.7392 MB / 1.281 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.7808, allocations: 55.41 kB / 1.281 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.7816, allocations: 498 kB / 1.282 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.7817, allocations: 33.7 kB / 1.282 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.782, allocations: 256.1 kB / 1.282 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.7822, allocations: 130.2 kB / 1.282 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.7822, allocations: 12 kB / 1.282 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.7825, allocations: 366.7 kB / 1.282 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/0.7831, allocations: 212.8 kB / 1.283 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.784, allocations: 336 kB / 1.283 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.7847, allocations: 291.2 kB / 1.283 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7847, allocations: 0 / 1.283 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001841/0.7866, allocations: 0.6794 MB / 1.284 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.7867, allocations: 63.39 kB / 1.284 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.82e-06/0.7867, allocations: 0 / 1.284 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.7867, allocations: 8 kB / 1.284 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.7873, allocations: 99.88 kB / 1.284 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.7874, allocations: 12.25 kB / 1.284 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.7881, allocations: 95.33 kB / 1.284 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/0.7882, allocations: 27.98 kB / 1.284 GB, free: 1.223 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0003439/0.7885, allocations: 197.6 kB / 1.284 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.7886, allocations: 47.44 kB / 1.284 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.7903, allocations: 0.572 MB / 1.285 GB, free: 396 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7903, allocations: 8 kB / 1.285 GB, free: 388 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.215e-06/0.7903, allocations: 7.938 kB / 1.285 GB, free: 380 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.285e-06/0.7903, allocations: 0 / 1.285 GB, free: 380 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4422/1.233, allocations: 1.352 MB / 1.286 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.233, allocations: 5.375 kB / 1.286 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/1.233, allocations: 82.12 kB / 1.286 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/1.233, allocations: 6.797 kB / 1.286 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.548e-05/1.233, allocations: 17.31 kB / 1.286 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.628e-05/1.233, allocations: 9.516 kB / 1.286 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.142e-06/1.233, allocations: 4.25 kB / 1.286 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/1.236, allocations: 0.9743 MB / 1.287 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/1.236, allocations: 172.1 kB / 1.288 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.236, allocations: 16.55 kB / 1.288 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/1.237, allocations: 55.22 kB / 1.288 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/1.237, allocations: 52.92 kB / 1.288 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/1.237, allocations: 17.64 kB / 1.288 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006041/1.238, allocations: 339.9 kB / 1.288 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.4e-07/1.238, allocations: 0 / 1.288 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007812/1.239, allocations: 150.8 kB / 1.288 GB, free: 181.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004827/1.239, allocations: 203.1 kB / 1.288 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001599/1.241, allocations: 0.6067 MB / 1.289 GB, free: 181 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.471e-06/1.241, allocations: 1.375 kB / 1.289 GB, free: 181 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009567/1.242, allocations: 304.2 kB / 1.289 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.244, allocations: 277.3 kB / 1.29 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/1.246, allocations: 1.225 MB / 1.291 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/1.246, allocations: 0.8812 MB / 1.292 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000763/1.247, allocations: 127 kB / 1.292 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/1.247, allocations: 41.39 kB / 1.292 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.515e-06/1.247, allocations: 0.75 kB / 1.292 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.02284/1.27, allocations: 9.91 MB / 1.301 GB, free: 174.6 MB / 0.6823 GB