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.01044/0.01045, allocations: 222.7 kB / 15.17 MB, free: 5.926 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.001147/0.001146, allocations: 180 kB / 16.06 MB, free: 5.828 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.383/3.383, allocations: 389 MB / 405.9 MB, free: 67.65 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 4.088/4.088, allocations: 472.3 MB / 0.9018 GB, free: 13.28 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004851, allocations: 15.98 kB / 1.008 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.499, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06071/0.5598, allocations: 64.4 MB / 1.167 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.5797, allocations: 16.09 MB / 1.183 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.5816, allocations: 63.56 kB / 1.183 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.5834, allocations: 0.6365 MB / 1.183 GB, free: 102.7 MB / 0.6823 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.006359/0.5897, allocations: 2.345 MB / 1.186 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004598/0.5944, allocations: 1.381 MB / 1.187 GB, free: 99.07 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005058/0.5994, allocations: 4.497 MB / 1.191 GB, free: 94.56 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.601, allocations: 1.024 MB / 1.192 GB, free: 93.57 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.6034, allocations: 1.307 MB / 1.194 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.6048, allocations: 1.052 MB / 1.195 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.605, allocations: 58.5 kB / 1.195 GB, free: 91.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.6079, allocations: 0.9018 MB / 1.196 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.6081, allocations: 242.8 kB / 1.196 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003603/0.6085, allocations: 372.9 kB / 1.196 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.6109, allocations: 2.294 MB / 1.198 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.403e-06/0.6109, allocations: 0 / 1.198 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.959e-06/0.6109, allocations: 0 / 1.198 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.6109, allocations: 0 / 1.198 GB, free: 87.35 MB / 0.6823 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.003034/0.614, allocations: 1.728 MB / 1.2 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.614, allocations: 8.031 kB / 1.2 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002514/0.6166, allocations: 0.4967 MB / 1.201 GB, free: 85.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.6195, allocations: 1.492 MB / 1.202 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003892/0.6199, allocations: 144.9 kB / 1.202 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.6201, allocations: 107.9 kB / 1.202 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.623, allocations: 1.307 MB / 1.204 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.623, allocations: 0 / 1.204 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.6232, allocations: 44 kB / 1.204 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.6232, allocations: 24 kB / 1.204 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.6264, allocations: 1.165 MB / 1.205 GB, free: 80.7 MB / 0.6823 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.008666/0.6351, allocations: 6.897 MB / 1.212 GB, free: 73.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/0.6388, allocations: 0.916 MB / 1.212 GB, free: 72.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/0.6396, allocations: 284.8 kB / 1.213 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009991/0.6406, allocations: 1.722 MB / 1.214 GB, free: 70.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.6406, allocations: 36.38 kB / 1.214 GB, free: 70.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.802e-06/0.6406, allocations: 4 kB / 1.214 GB, free: 70.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.005236/0.6459, allocations: 1.426 MB / 1.216 GB, free: 68.65 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.6459, allocations: 55.84 kB / 1.216 GB, free: 68.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.6486, allocations: 1.544 MB / 1.217 GB, free: 67.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.367e-05/0.6487, allocations: 37.7 kB / 1.217 GB, free: 67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/0.6492, allocations: 0.677 MB / 1.218 GB, free: 66.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.6494, allocations: 174.4 kB / 1.218 GB, free: 66.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.6494, allocations: 16 kB / 1.218 GB, free: 66.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.6495, allocations: 335.3 kB / 1.219 GB, free: 65.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.6507, allocations: 399.7 kB / 1.219 GB, free: 65.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.6521, allocations: 0.6631 MB / 1.22 GB, free: 64.65 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.6534, allocations: 455.8 kB / 1.22 GB, free: 64.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.647e-06/0.6534, allocations: 5.969 kB / 1.22 GB, free: 64.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003692/0.6571, allocations: 1.232 MB / 1.221 GB, free: 63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.6572, allocations: 8 kB / 1.221 GB, free: 63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.6572, allocations: 10.44 kB / 1.221 GB, free: 62.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.6583, allocations: 226.4 kB / 1.221 GB, free: 62.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.6593, allocations: 213.1 kB / 1.222 GB, free: 62.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008833/0.6602, allocations: 0.7211 MB / 1.222 GB, free: 61.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.6622, allocations: 270 kB / 1.223 GB, free: 61.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.6623, allocations: 43.98 kB / 1.223 GB, free: 61.55 MB / 0.6823 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.0007002/0.663, allocations: 353.6 kB / 1.223 GB, free: 61.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.6633, allocations: 146.2 kB / 1.223 GB, free: 61.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.6661, allocations: 1.181 MB / 1.224 GB, free: 59.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.6661, allocations: 15.98 kB / 1.224 GB, free: 59.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.969e-06/0.6662, allocations: 0 / 1.224 GB, free: 59.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6662, allocations: 3.984 kB / 1.224 GB, free: 59.85 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005714/0.6719, allocations: 2.524 MB / 1.227 GB, free: 57.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.058e-06/0.6719, allocations: 0 / 1.227 GB, free: 57.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.6724, allocations: 95.89 kB / 1.227 GB, free: 57.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009418/0.6734, allocations: 218.4 kB / 1.227 GB, free: 56.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.6735, allocations: 19.98 kB / 1.227 GB, free: 56.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.6748, allocations: 0.8011 MB / 1.228 GB, free: 56.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.887e-06/0.6748, allocations: 3.938 kB / 1.228 GB, free: 56.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.6786, allocations: 1.268 MB / 1.229 GB, free: 54.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/0.6793, allocations: 366.9 kB / 1.229 GB, free: 54.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.6795, allocations: 12 kB / 1.229 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.6807, allocations: 103.8 kB / 1.23 GB, free: 54.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.6808, allocations: 36.5 kB / 1.23 GB, free: 54.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.6809, allocations: 23.98 kB / 1.23 GB, free: 54.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002008/0.6829, allocations: 1.086 MB / 1.231 GB, free: 53.17 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.4e-07/0.6829, allocations: 3.938 kB / 1.231 GB, free: 53.17 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001392/0.6843, allocations: 431.4 kB / 1.231 GB, free: 52.75 MB / 0.6823 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.0008214/0.6852, allocations: 463 kB / 1.232 GB, free: 52.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002486/0.6877, allocations: 0.8756 MB / 1.232 GB, free: 51.44 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6877, allocations: 7.938 kB / 1.232 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.6892, allocations: 463.5 kB / 1.233 GB, free: 50.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/0.6929, allocations: 0.7296 MB / 1.234 GB, free: 50.28 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.6973, allocations: 2.687 MB / 1.236 GB, free: 47.56 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006967/0.698, allocations: 1.203 MB / 1.237 GB, free: 46.33 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0014/0.6994, allocations: 265.6 kB / 1.238 GB, free: 46.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.6998, allocations: 119.3 kB / 1.238 GB, free: 45.97 MB / 0.6823 GB Notification: Performance of SimCode: time 1.825e-06/0.6998, allocations: 0 / 1.238 GB, free: 45.97 MB / 0.6823 GB Notification: Performance of Templates: time 0.05886/0.7586, allocations: 29.48 MB / 1.267 GB, free: 17.13 MB / 0.6823 GB