Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006126/0.006125, allocations: 233.1 kB / 15.8 MB, free: 6.285 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.001732/0.001732, allocations: 179.2 kB / 16.69 MB, free: 5.449 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.648/3.648, allocations: 389.1 MB / 406.5 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.516/4.516, allocations: 472.3 MB / 0.9023 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006958/0.0006961, allocations: 16 kB / 1.008 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2076, allocations: 98.7 MB / 1.105 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.07913/0.2868, allocations: 48.67 MB / 1.152 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.6531/0.9399, allocations: 16.34 MB / 1.168 GB, free: 215.4 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/0.9433, allocations: 78.69 kB / 1.168 GB, free: 215.4 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004346/0.9477, allocations: 0.8808 MB / 1.169 GB, free: 215.4 MB / 0.7917 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. Notification: Performance of NFTyping.typeBindings: time 0.01003/0.9577, allocations: 2.435 MB / 1.171 GB, free: 215.4 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01222/0.97, allocations: 2.917 MB / 1.174 GB, free: 215.3 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00939/0.9794, allocations: 5.198 MB / 1.179 GB, free: 214.6 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/0.9827, allocations: 1.23 MB / 1.181 GB, free: 214.4 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004967/0.9878, allocations: 1.477 MB / 1.182 GB, free: 214.1 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00363/0.9915, allocations: 1.263 MB / 1.183 GB, free: 213.8 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0007124/0.9922, allocations: 68.38 kB / 1.183 GB, free: 213.8 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005512/0.9977, allocations: 1.329 MB / 1.185 GB, free: 213.7 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.9991, allocations: 414.8 kB / 1.185 GB, free: 213.6 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/1, allocations: 403.7 kB / 1.185 GB, free: 213.5 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00648/1.007, allocations: 2.423 MB / 1.188 GB, free: 213.3 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.007, allocations: 3.562 kB / 1.188 GB, free: 213.3 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.845e-06/1.007, allocations: 0 / 1.188 GB, free: 213.3 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001052/1.007, allocations: 0 / 1.188 GB, free: 213.3 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007244/1.014, allocations: 2.233 MB / 1.19 GB, free: 212.1 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.014, allocations: 10.69 kB / 1.19 GB, free: 212.1 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/1.018, allocations: 487.6 kB / 1.19 GB, free: 211.9 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005616/1.024, allocations: 1.578 MB / 1.192 GB, free: 211.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006928/1.025, allocations: 158.3 kB / 1.192 GB, free: 211.5 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/1.025, allocations: 123.8 kB / 1.192 GB, free: 211.5 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004749/1.03, allocations: 1.385 MB / 1.194 GB, free: 211.2 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/1.03, allocations: 2.312 kB / 1.194 GB, free: 211.2 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/1.03, allocations: 46.75 kB / 1.194 GB, free: 211.2 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/1.03, allocations: 30.39 kB / 1.194 GB, free: 211.2 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004981/1.035, allocations: 1.134 MB / 1.195 GB, free: 211.2 MB / 0.7917 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.01589/1.051, allocations: 6.996 MB / 1.202 GB, free: 207.1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/1.056, allocations: 1.443 MB / 1.203 GB, free: 206.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/1.058, allocations: 431.4 kB / 1.203 GB, free: 206.4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007909/1.066, allocations: 3.063 MB / 1.206 GB, free: 204.5 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001848/1.067, allocations: 459.9 kB / 1.207 GB, free: 204.4 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001043/1.068, allocations: 92.31 kB / 1.207 GB, free: 204.4 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=59): time 4.96e-06/1.069, allocations: 0 / 1.207 GB, free: 204.4 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59): time 0.005768/1.074, allocations: 1.28 MB / 1.208 GB, free: 204.1 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/1.074, allocations: 136.1 kB / 1.208 GB, free: 204 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003549/1.078, allocations: 1.571 MB / 1.21 GB, free: 203.7 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002839/1.078, allocations: 39.2 kB / 1.21 GB, free: 203.7 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009911/1.079, allocations: 0.8901 MB / 1.211 GB, free: 203 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000316/1.08, allocations: 207.1 kB / 1.211 GB, free: 202.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/1.08, allocations: 20.59 kB / 1.211 GB, free: 202.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.08, allocations: 351 kB / 1.211 GB, free: 202.5 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/1.082, allocations: 394 kB / 1.212 GB, free: 202.4 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/1.084, allocations: 0.7937 MB / 1.212 GB, free: 201.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/1.086, allocations: 0.5274 MB / 1.213 GB, free: 201.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.237e-05/1.086, allocations: 2.5 kB / 1.213 GB, free: 201.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005302/1.091, allocations: 1.365 MB / 1.214 GB, free: 200.9 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002911/1.092, allocations: 477.7 kB / 1.215 GB, free: 200.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-05/1.092, allocations: 16.39 kB / 1.215 GB, free: 200.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.166e-05/1.092, allocations: 17.06 kB / 1.215 GB, free: 200.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/1.094, allocations: 257.6 kB / 1.215 GB, free: 200.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-05/1.094, allocations: 26.91 kB / 1.215 GB, free: 200.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/1.097, allocations: 146.3 kB / 1.215 GB, free: 200.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/1.097, allocations: 51.3 kB / 1.215 GB, free: 200.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.097, allocations: 3.469 kB / 1.215 GB, free: 200.3 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004257/1.102, allocations: 1.192 MB / 1.216 GB, free: 199.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.822e-05/1.102, allocations: 11.88 kB / 1.216 GB, free: 199.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.241e-05/1.102, allocations: 18.72 kB / 1.216 GB, free: 199.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/1.104, allocations: 262.4 kB / 1.217 GB, free: 199.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.997e-05/1.104, allocations: 22.42 kB / 1.217 GB, free: 199.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/1.106, allocations: 126.6 kB / 1.217 GB, free: 199.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/1.106, allocations: 53.75 kB / 1.217 GB, free: 199.8 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * 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.001303/1.108, allocations: 492.1 kB / 1.217 GB, free: 199.4 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/1.108, allocations: 165.9 kB / 1.217 GB, free: 199.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/1.113, allocations: 1.157 MB / 1.219 GB, free: 198.9 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003318/1.116, allocations: 0.9949 MB / 1.22 GB, free: 198.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.116, allocations: 1.344 kB / 1.22 GB, free: 198.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.117, allocations: 341.5 kB / 1.22 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/1.117, allocations: 13.19 kB / 1.22 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.119, allocations: 104.2 kB / 1.22 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.119, allocations: 51.14 kB / 1.22 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004727/1.124, allocations: 1.097 MB / 1.221 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005697/1.13, allocations: 1.656 MB / 1.223 GB, free: 197 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001587/1.131, allocations: 443.1 kB / 1.223 GB, free: 196.8 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002474/1.134, allocations: 1.043 MB / 1.224 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of Backend: time 8.92e-07/1.134, allocations: 0 / 1.224 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008571/1.143, allocations: 2.223 MB / 1.226 GB, free: 195.6 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01203/1.155, allocations: 4.469 MB / 1.231 GB, free: 193 MB / 0.7917 GB Notification: Performance of Templates: time 0.08449/1.239, allocations: 33.63 MB / 1.264 GB, free: 169.5 MB / 0.7917 GB