Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01029/0.0103, allocations: 220.6 kB / 15.17 MB, free: 6 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.00108/0.00108, allocations: 177.8 kB / 16.06 MB, free: 5.871 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.271/3.271, allocations: 389.1 MB / 405.9 MB, free: 13.34 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.993/3.993, allocations: 472.3 MB / 0.9018 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.000494, allocations: 12 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5497/0.5502, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0289/0.5791, allocations: 26.67 MB / 1.13 GB, free: 194.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.59, allocations: 6.483 MB / 1.136 GB, free: 189.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.5913, allocations: 40.88 kB / 1.136 GB, free: 189.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.593, allocations: 0.6032 MB / 1.137 GB, free: 189.4 MB / 0.7292 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. [/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.003883/0.5969, allocations: 1.244 MB / 1.138 GB, free: 188.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.6009, allocations: 1.12 MB / 1.139 GB, free: 188.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.004062/0.605, allocations: 2.889 MB / 1.142 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.6061, allocations: 0.6417 MB / 1.143 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.6079, allocations: 0.9008 MB / 1.144 GB, free: 186.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.609, allocations: 0.7693 MB / 1.144 GB, free: 186.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.6092, allocations: 38.5 kB / 1.144 GB, free: 186.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.6111, allocations: 0.5214 MB / 1.145 GB, free: 186.1 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.6114, allocations: 229.9 kB / 1.145 GB, free: 186 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.6117, allocations: 235.5 kB / 1.145 GB, free: 185.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.6134, allocations: 1.063 MB / 1.146 GB, free: 185.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.473e-06/0.6134, allocations: 1.062 kB / 1.146 GB, free: 185.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.057e-06/0.6134, allocations: 0 / 1.146 GB, free: 185.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.6134, allocations: 0 / 1.146 GB, free: 185.5 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002684/0.6161, allocations: 1.558 MB / 1.148 GB, free: 184.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6162, allocations: 9.469 kB / 1.148 GB, free: 184.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003906/0.6201, allocations: 0.6353 MB / 1.149 GB, free: 184.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.6216, allocations: 0.7651 MB / 1.149 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.668e-05/0.6217, allocations: 64.61 kB / 1.149 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.6219, allocations: 77.8 kB / 1.149 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.6249, allocations: 1.104 MB / 1.151 GB, free: 183.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.625, allocations: 5.688 kB / 1.151 GB, free: 183.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.6251, allocations: 29.64 kB / 1.151 GB, free: 183.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.6251, allocations: 19.16 kB / 1.151 GB, free: 183.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/0.6289, allocations: 1.026 MB / 1.152 GB, free: 183 MB / 0.7292 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.006857/0.6358, allocations: 4.993 MB / 1.156 GB, free: 179.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/0.6393, allocations: 0.9021 MB / 1.157 GB, free: 179 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.6411, allocations: 466.9 kB / 1.158 GB, free: 178.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.6423, allocations: 1.601 MB / 1.159 GB, free: 177 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/0.6442, allocations: 0.5707 MB / 1.16 GB, free: 176.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=56): time 4.002e-06/0.6442, allocations: 0 / 1.16 GB, free: 176.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56): time 0.005669/0.6499, allocations: 1.468 MB / 1.161 GB, free: 176 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.6499, allocations: 57.72 kB / 1.161 GB, free: 176 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.6516, allocations: 1.125 MB / 1.163 GB, free: 175.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.6517, allocations: 48.53 kB / 1.163 GB, free: 175.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.6521, allocations: 0.5547 MB / 1.163 GB, free: 174.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.6523, allocations: 192.9 kB / 1.163 GB, free: 174.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.6524, allocations: 16.84 kB / 1.163 GB, free: 174.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.6525, allocations: 339.3 kB / 1.164 GB, free: 174.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.6543, allocations: 483.6 kB / 1.164 GB, free: 174.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.6564, allocations: 0.7699 MB / 1.165 GB, free: 173.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.6584, allocations: 0.6062 MB / 1.165 GB, free: 173.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.6584, allocations: 2.281 kB / 1.165 GB, free: 173.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.004571/0.663, allocations: 1.441 MB / 1.167 GB, free: 172.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.102e-05/0.6631, allocations: 108 kB / 1.167 GB, free: 172.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.6631, allocations: 8.406 kB / 1.167 GB, free: 172.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/0.6631, allocations: 12.31 kB / 1.167 GB, free: 172.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.6647, allocations: 281.9 kB / 1.167 GB, free: 172.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/0.6647, allocations: 16.19 kB / 1.167 GB, free: 172.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.6663, allocations: 219.8 kB / 1.167 GB, free: 172.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.6665, allocations: 54.62 kB / 1.168 GB, free: 172.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 3 * 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.0006074/0.6671, allocations: 295.7 kB / 1.168 GB, free: 172 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.6674, allocations: 121.9 kB / 1.168 GB, free: 172 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.6716, allocations: 1.35 MB / 1.169 GB, free: 170.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.6716, allocations: 11.98 kB / 1.169 GB, free: 170.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.657e-06/0.6716, allocations: 0 / 1.169 GB, free: 170.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.6717, allocations: 3.984 kB / 1.169 GB, free: 170.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/0.6771, allocations: 2.246 MB / 1.171 GB, free: 168.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.334e-06/0.6771, allocations: 4 kB / 1.171 GB, free: 168.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.6783, allocations: 190.5 kB / 1.172 GB, free: 168.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.399e-06/0.6784, allocations: 4 kB / 1.172 GB, free: 168.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.064e-05/0.6784, allocations: 26.73 kB / 1.172 GB, free: 168.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.439e-06/0.6785, allocations: 7.984 kB / 1.172 GB, free: 168.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.6785, allocations: 0 / 1.172 GB, free: 168.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/0.6841, allocations: 1.923 MB / 1.174 GB, free: 166.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005722/0.6847, allocations: 278.8 kB / 1.174 GB, free: 165.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.6849, allocations: 15.98 kB / 1.174 GB, free: 165.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.6861, allocations: 127.9 kB / 1.174 GB, free: 165.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.6862, allocations: 44.5 kB / 1.174 GB, free: 165.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.552e-05/0.6863, allocations: 31.97 kB / 1.174 GB, free: 165.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001029/0.6873, allocations: 0.7565 MB / 1.175 GB, free: 165 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.08e-07/0.6873, allocations: 0 / 1.175 GB, free: 165 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001336/0.6887, allocations: 367.6 kB / 1.175 GB, free: 164.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.003168/0.6919, allocations: 1.006 MB / 1.176 GB, free: 164.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00391/0.6958, allocations: 1.378 MB / 1.177 GB, free: 162.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.523e-06/0.6958, allocations: 0 / 1.177 GB, free: 162.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.6976, allocations: 0.5699 MB / 1.178 GB, free: 162.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/0.7001, allocations: 425.9 kB / 1.178 GB, free: 161.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/0.7054, allocations: 2.641 MB / 1.181 GB, free: 159.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.706, allocations: 1.127 MB / 1.182 GB, free: 157.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001395/0.7074, allocations: 234.6 kB / 1.182 GB, free: 157.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.7078, allocations: 99.38 kB / 1.182 GB, free: 157.6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.555e-06/0.7078, allocations: 0 / 1.182 GB, free: 157.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.03949/0.7473, allocations: 19.55 MB / 1.201 GB, free: 138.9 MB / 0.7292 GB