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_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005876/0.005875, allocations: 234.6 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.001176/0.001176, 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 4.277/4.277, allocations: 389.1 MB / 406.5 MB, free: 11.86 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 4.075/4.075, allocations: 472.3 MB / 0.9023 GB, free: 18.81 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009541/0.0009545, allocations: 12.22 kB / 1.008 GB, free: 13.42 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2263, allocations: 98.72 MB / 1.105 GB, free: 10.74 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.7129/0.9392, allocations: 64.4 MB / 1.167 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02866/0.968, allocations: 16.1 MB / 1.183 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.9711, allocations: 65.66 kB / 1.183 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003522/0.9747, allocations: 0.6425 MB / 1.184 GB, free: 29.52 MB / 0.6042 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.01013/0.9849, allocations: 2.341 MB / 1.186 GB, free: 28.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006235/0.9912, allocations: 1.379 MB / 1.188 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007197/0.9984, allocations: 4.487 MB / 1.192 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00361/1.002, allocations: 1.026 MB / 1.193 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/1.007, allocations: 1.302 MB / 1.194 GB, free: 24.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/1.011, allocations: 1.053 MB / 1.195 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006273/1.012, allocations: 55.88 kB / 1.195 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005304/1.017, allocations: 0.9034 MB / 1.196 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008638/1.018, allocations: 242.9 kB / 1.196 GB, free: 23.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/1.019, allocations: 373.9 kB / 1.197 GB, free: 23.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006813/1.026, allocations: 2.291 MB / 1.199 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/1.026, allocations: 0 / 1.199 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.926e-06/1.026, allocations: 0 / 1.199 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.357e-05/1.026, allocations: 0 / 1.199 GB, free: 22.95 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.007504/1.034, allocations: 1.727 MB / 1.201 GB, free: 21.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/1.034, allocations: 8.875 kB / 1.201 GB, free: 21.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/1.04, allocations: 0.494 MB / 1.201 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006712/1.046, allocations: 1.495 MB / 1.203 GB, free: 20.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/1.047, allocations: 145.8 kB / 1.203 GB, free: 20.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005668/1.048, allocations: 110.8 kB / 1.203 GB, free: 20.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007007/1.055, allocations: 1.309 MB / 1.204 GB, free: 20.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.283e-05/1.055, allocations: 1.719 kB / 1.204 GB, free: 20.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/1.055, allocations: 46.44 kB / 1.204 GB, free: 20.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/1.055, allocations: 25.53 kB / 1.204 GB, free: 20.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008132/1.064, allocations: 1.158 MB / 1.205 GB, free: 19.61 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.02042/1.084, allocations: 6.908 MB / 1.212 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006337/1.09, allocations: 0.9242 MB / 1.213 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/1.092, allocations: 280.7 kB / 1.213 GB, free: 14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/1.093, allocations: 1.717 MB / 1.215 GB, free: 12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/1.093, allocations: 41.75 kB / 1.215 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 4.187e-06/1.093, allocations: 0 / 1.215 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.009271/1.103, allocations: 1.433 MB / 1.216 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/1.103, allocations: 60.41 kB / 1.216 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/1.107, allocations: 1.54 MB / 1.218 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002172/1.107, allocations: 38.05 kB / 1.218 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007485/1.108, allocations: 0.6755 MB / 1.219 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/1.109, allocations: 170.3 kB / 1.219 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/1.109, allocations: 19.56 kB / 1.219 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/1.109, allocations: 332.5 kB / 1.219 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/1.111, allocations: 403.1 kB / 1.22 GB, free: 9.586 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/1.113, allocations: 0.6647 MB / 1.22 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/1.115, allocations: 449.6 kB / 1.221 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.115, allocations: 2.625 kB / 1.221 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005624/1.121, allocations: 1.236 MB / 1.222 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/1.121, allocations: 11.3 kB / 1.222 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/1.121, allocations: 7.344 kB / 1.222 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/1.123, allocations: 234 kB / 1.222 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.124, allocations: 204.9 kB / 1.222 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/1.126, allocations: 0.72 MB / 1.223 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/1.129, allocations: 273.3 kB / 1.223 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/1.129, allocations: 41.17 kB / 1.223 GB, free: 7.711 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 81 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.001134/1.131, allocations: 358.2 kB / 1.224 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005478/1.131, allocations: 145.6 kB / 1.224 GB, free: 7.371 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004408/1.136, allocations: 1.179 MB / 1.225 GB, free: 6.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/1.136, allocations: 4.703 kB / 1.225 GB, free: 6.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.136, allocations: 0 / 1.225 GB, free: 6.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.137, allocations: 366.6 kB / 1.225 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004286/1.137, allocations: 10.19 kB / 1.225 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.139, allocations: 109.9 kB / 1.225 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/1.14, allocations: 45.23 kB / 1.225 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00483/1.144, allocations: 1.048 MB / 1.226 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004746/1.149, allocations: 1.453 MB / 1.228 GB, free: 5.48 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001284/1.151, allocations: 357.5 kB / 1.228 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.005141/1.156, allocations: 1.081 MB / 1.229 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of Backend: time 1.433e-06/1.156, allocations: 0 / 1.229 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005801/1.162, allocations: 1.063 MB / 1.23 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of SimCode: time 0.01132/1.173, allocations: 3.566 MB / 1.234 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of Templates: time 0.08713/1.26, allocations: 31.09 MB / 1.264 GB, free: 12.11 MB / 0.6355 GB