Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01036/0.01036, allocations: 223 kB / 15.17 MB, free: 5.996 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.001085/0.001085, allocations: 178.5 kB / 16.06 MB, free: 5.867 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.443/3.443, allocations: 389.1 MB / 405.9 MB, free: 67.69 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 3.989/3.989, allocations: 472.3 MB / 0.9018 GB, free: 87.66 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004823, allocations: 19.34 kB / 1.008 GB, free: 37.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1536, allocations: 98.72 MB / 1.104 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07528/0.229, allocations: 55.94 MB / 1.159 GB, free: 3.793 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.2481, allocations: 10.94 MB / 1.169 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.25, allocations: 51.62 kB / 1.169 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.2519, allocations: 0.5783 MB / 1.17 GB, free: 8.188 MB / 0.5886 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.007214/0.2591, allocations: 1.969 MB / 1.172 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.004516/0.2637, allocations: 1.154 MB / 1.173 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005222/0.2689, allocations: 3.5 MB / 1.176 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.2704, allocations: 0.8183 MB / 1.177 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.2726, allocations: 1.011 MB / 1.178 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.2739, allocations: 0.8283 MB / 1.179 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.274, allocations: 44 kB / 1.179 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.2766, allocations: 0.9195 MB / 1.18 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.2769, allocations: 195 kB / 1.18 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.2773, allocations: 293 kB / 1.18 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.2796, allocations: 1.586 MB / 1.182 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.979e-06/0.2796, allocations: 3.984 kB / 1.182 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2796, allocations: 0 / 1.182 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.2797, allocations: 0 / 1.182 GB, free: 11.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003246/0.2829, allocations: 1.504 MB / 1.183 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.283, allocations: 8.031 kB / 1.183 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.2858, allocations: 0.5174 MB / 1.184 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.2885, allocations: 1.117 MB / 1.185 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/0.2889, allocations: 121.9 kB / 1.185 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.2891, allocations: 88 kB / 1.185 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.2919, allocations: 1.021 MB / 1.186 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.292, allocations: 0 / 1.186 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.2921, allocations: 32 kB / 1.186 GB, free: 7.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.2921, allocations: 20 kB / 1.186 GB, free: 7.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/0.2955, allocations: 0.9915 MB / 1.187 GB, free: 6.242 MB / 0.6042 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.008301/0.3038, allocations: 4.676 MB / 1.192 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/0.3089, allocations: 1.116 MB / 1.193 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.3103, allocations: 413.9 kB / 1.193 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.3116, allocations: 1.026 MB / 1.194 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3116, allocations: 43 kB / 1.194 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 3.28e-06/0.3116, allocations: 0 / 1.194 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.009355/0.321, allocations: 2.088 MB / 1.196 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3211, allocations: 63.84 kB / 1.196 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.3228, allocations: 0.952 MB / 1.197 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.602e-05/0.3229, allocations: 37.7 kB / 1.197 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005865/0.3235, allocations: 0.5236 MB / 1.198 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.3237, allocations: 173.4 kB / 1.198 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.3238, allocations: 12 kB / 1.198 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.324, allocations: 326 kB / 1.198 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.3253, allocations: 368.9 kB / 1.199 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.3269, allocations: 0.538 MB / 1.199 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.3282, allocations: 390 kB / 1.2 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.988e-06/0.3283, allocations: 0 / 1.2 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003847/0.3321, allocations: 1.107 MB / 1.201 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.3323, allocations: 160.5 kB / 1.201 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3323, allocations: 4 kB / 1.201 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.3339, allocations: 334.3 kB / 1.201 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.3347, allocations: 135.8 kB / 1.201 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.3367, allocations: 0.9464 MB / 1.202 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.3381, allocations: 171.3 kB / 1.202 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.3383, allocations: 27.98 kB / 1.202 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3383, allocations: 8 kB / 1.202 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003478/0.3418, allocations: 0.9781 MB / 1.203 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.771e-06/0.3418, allocations: 4.281 kB / 1.203 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.3432, allocations: 315 kB / 1.204 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.344, allocations: 147.8 kB / 1.204 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.3459, allocations: 0.9347 MB / 1.205 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.3473, allocations: 171.4 kB / 1.205 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/0.3474, allocations: 27.98 kB / 1.205 GB, free: 3.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 53 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006826/0.3481, allocations: 349 kB / 1.205 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.3484, allocations: 118.6 kB / 1.205 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/0.3524, allocations: 1.182 MB / 1.207 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.3525, allocations: 16 kB / 1.207 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3525, allocations: 0 / 1.207 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3525, allocations: 3.984 kB / 1.207 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005773/0.3583, allocations: 2.207 MB / 1.209 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.463e-06/0.3583, allocations: 3.984 kB / 1.209 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006742/0.359, allocations: 111.9 kB / 1.209 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.3604, allocations: 314.2 kB / 1.209 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.3604, allocations: 11.98 kB / 1.209 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.3624, allocations: 0.9659 MB / 1.21 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.545e-06/0.3624, allocations: 4.031 kB / 1.21 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/0.3662, allocations: 1.192 MB / 1.211 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005903/0.3668, allocations: 279.5 kB / 1.212 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.367, allocations: 15.94 kB / 1.212 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.3681, allocations: 119.8 kB / 1.212 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.3682, allocations: 36.39 kB / 1.212 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/0.3683, allocations: 19.98 kB / 1.212 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001237/0.3696, allocations: 0.6642 MB / 1.212 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.116e-06/0.3696, allocations: 0 / 1.212 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001735/0.3714, allocations: 0.5574 MB / 1.213 GB, free: 10.96 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008498/0.3722, allocations: 360.3 kB / 1.213 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00483/0.3771, allocations: 1.346 MB / 1.215 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.01e-06/0.3771, allocations: 4.062 kB / 1.215 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.3788, allocations: 472.6 kB / 1.215 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.3819, allocations: 0.5111 MB / 1.216 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.3871, allocations: 2.293 MB / 1.218 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009246/0.3881, allocations: 1.093 MB / 1.219 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001418/0.3895, allocations: 216.6 kB / 1.219 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.3898, allocations: 79.41 kB / 1.219 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of SimCode: time 1.495e-06/0.3898, allocations: 4 kB / 1.219 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of Templates: time 0.4873/0.8771, allocations: 23 MB / 1.242 GB, free: 110.7 MB / 0.6355 GB