Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01039/0.01039, allocations: 223.8 kB / 15.18 MB, free: 5.918 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.001109/0.001109, allocations: 176.4 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.724/3.724, allocations: 389.1 MB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.829/3.829, allocations: 472.3 MB / 0.9018 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005252/0.0005253, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1262, allocations: 98.72 MB / 1.104 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.516/0.6422, allocations: 68.65 MB / 1.171 GB, free: 45.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.6605, allocations: 11.6 MB / 1.182 GB, free: 45.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.6633, allocations: 57.12 kB / 1.182 GB, free: 45.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.6659, allocations: 0.6865 MB / 1.183 GB, free: 45.27 MB / 0.6198 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. Notification: Performance of NFTyping.typeBindings: time 0.008457/0.6744, allocations: 2.345 MB / 1.185 GB, free: 44.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005278/0.6797, allocations: 1.324 MB / 1.187 GB, free: 44.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006841/0.6865, allocations: 4.862 MB / 1.191 GB, free: 43.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.6885, allocations: 1.009 MB / 1.192 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.6913, allocations: 1.234 MB / 1.194 GB, free: 43.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.6932, allocations: 1.066 MB / 1.195 GB, free: 42.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.6934, allocations: 54.59 kB / 1.195 GB, free: 42.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.6962, allocations: 0.7531 MB / 1.195 GB, free: 42.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.6965, allocations: 264.7 kB / 1.196 GB, free: 42.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.6969, allocations: 355.6 kB / 1.196 GB, free: 42.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.6994, allocations: 2 MB / 1.198 GB, free: 42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.542e-06/0.6994, allocations: 0 / 1.198 GB, free: 42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.05e-06/0.6994, allocations: 0 / 1.198 GB, free: 42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.6994, allocations: 0 / 1.198 GB, free: 42 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003301/0.7027, allocations: 1.788 MB / 1.2 GB, free: 40.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.7028, allocations: 9.875 kB / 1.2 GB, free: 40.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008497/0.7037, allocations: 238 kB / 1.2 GB, free: 40.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.7064, allocations: 1.441 MB / 1.201 GB, free: 39.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/0.7065, allocations: 73.47 kB / 1.201 GB, free: 39.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.7067, allocations: 105.9 kB / 1.202 GB, free: 39.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.709, allocations: 1.096 MB / 1.203 GB, free: 39.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.709, allocations: 4.031 kB / 1.203 GB, free: 39.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.7092, allocations: 44.84 kB / 1.203 GB, free: 39.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/0.7092, allocations: 25.19 kB / 1.203 GB, free: 39.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.7115, allocations: 0.9146 MB / 1.204 GB, free: 39.09 MB / 0.6198 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.00637/0.7178, allocations: 4.859 MB / 1.208 GB, free: 35.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.7195, allocations: 0.6123 MB / 1.209 GB, free: 35.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000885/0.7204, allocations: 342.6 kB / 1.209 GB, free: 35.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.721, allocations: 0.8282 MB / 1.21 GB, free: 34.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.721, allocations: 38.16 kB / 1.21 GB, free: 34.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 4.054e-06/0.721, allocations: 2.25 kB / 1.21 GB, free: 34.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.008467/0.7295, allocations: 1.829 MB / 1.212 GB, free: 33.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.7295, allocations: 65.44 kB / 1.212 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.7316, allocations: 1.205 MB / 1.213 GB, free: 33.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.633e-05/0.7317, allocations: 36.86 kB / 1.213 GB, free: 33.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005057/0.7322, allocations: 0.6175 MB / 1.214 GB, free: 32.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.7324, allocations: 205 kB / 1.214 GB, free: 32.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.7325, allocations: 11.16 kB / 1.214 GB, free: 32.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.7326, allocations: 332.9 kB / 1.214 GB, free: 32.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008137/0.7334, allocations: 293.5 kB / 1.215 GB, free: 32.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009428/0.7344, allocations: 0.5029 MB / 1.215 GB, free: 32.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008589/0.7352, allocations: 352.9 kB / 1.215 GB, free: 31.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.998e-06/0.7353, allocations: 6.688 kB / 1.215 GB, free: 31.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005296/0.7406, allocations: 1.378 MB / 1.217 GB, free: 31.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-05/0.7407, allocations: 202.9 kB / 1.217 GB, free: 31.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7407, allocations: 3.188 kB / 1.217 GB, free: 31.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007321/0.7414, allocations: 146.9 kB / 1.217 GB, free: 31.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.7422, allocations: 160.2 kB / 1.217 GB, free: 31.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009242/0.7431, allocations: 0.7045 MB / 1.218 GB, free: 30.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.7448, allocations: 180.7 kB / 1.218 GB, free: 30.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.7449, allocations: 30.27 kB / 1.218 GB, free: 30.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.7449, allocations: 5.641 kB / 1.218 GB, free: 30.62 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005764/0.7507, allocations: 1.236 MB / 1.219 GB, free: 30.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7508, allocations: 3.391 kB / 1.219 GB, free: 30.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006842/0.7514, allocations: 148.5 kB / 1.22 GB, free: 30.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/0.7523, allocations: 162.4 kB / 1.22 GB, free: 30.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009364/0.7532, allocations: 0.7026 MB / 1.22 GB, free: 29.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.7548, allocations: 162.5 kB / 1.221 GB, free: 29.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.305e-05/0.7549, allocations: 34.7 kB / 1.221 GB, free: 29.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000744/0.7557, allocations: 415.7 kB / 1.221 GB, free: 29.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.756, allocations: 137.1 kB / 1.221 GB, free: 29.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005961/0.7619, allocations: 1.357 MB / 1.222 GB, free: 28.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.762, allocations: 11.27 kB / 1.222 GB, free: 28.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.233e-06/0.762, allocations: 0 / 1.222 GB, free: 28.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005441/0.7674, allocations: 1.193 MB / 1.224 GB, free: 28.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00776/0.7752, allocations: 2.597 MB / 1.226 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.7753, allocations: 2.594 kB / 1.226 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.776, allocations: 118.6 kB / 1.226 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006519/0.7767, allocations: 140.8 kB / 1.226 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.7767, allocations: 18.5 kB / 1.226 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/0.7821, allocations: 2.439 MB / 1.229 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.193e-06/0.7822, allocations: 3.469 kB / 1.229 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006365/0.7886, allocations: 1.764 MB / 1.23 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008408/0.7894, allocations: 322.8 kB / 1.231 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.7897, allocations: 18.3 kB / 1.231 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.7908, allocations: 93.03 kB / 1.231 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.791, allocations: 54.5 kB / 1.231 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/0.791, allocations: 23.34 kB / 1.231 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00167/0.7927, allocations: 0.8618 MB / 1.232 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.73e-07/0.7927, allocations: 1.25 kB / 1.232 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002409/0.7952, allocations: 0.7016 MB / 1.232 GB, free: 24.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (52): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000884/0.7961, allocations: 433.2 kB / 1.233 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003176/0.7993, allocations: 1.135 MB / 1.234 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.7993, allocations: 0 / 1.234 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.8011, allocations: 0.5743 MB / 1.235 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004286/0.8054, allocations: 0.7683 MB / 1.235 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.8102, allocations: 2.707 MB / 1.238 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.8111, allocations: 1.2 MB / 1.239 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001803/0.8129, allocations: 297.5 kB / 1.239 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/0.8133, allocations: 103 kB / 1.24 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.323e-06/0.8133, allocations: 0 / 1.24 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.06315/0.8764, allocations: 29.3 MB / 1.268 GB, free: 15.49 MB / 0.6355 GB