Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01064/0.01064, allocations: 220.3 kB / 15.17 MB, free: 6 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.001114/0.001114, allocations: 175.6 kB / 16.06 MB, free: 5.871 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.465/3.465, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.018/4.018, allocations: 472.3 MB / 0.9017 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004752, allocations: 12 kB / 1.008 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5573/0.5578, allocations: 98.7 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06047/0.6183, allocations: 55.93 MB / 1.159 GB, free: 173.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01684/0.6352, allocations: 10.93 MB / 1.169 GB, free: 165.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.6375, allocations: 53 kB / 1.169 GB, free: 165.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.6396, allocations: 0.576 MB / 1.17 GB, free: 165.4 MB / 0.7292 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.007574/0.6472, allocations: 1.971 MB / 1.172 GB, free: 164.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.004629/0.6519, allocations: 1.154 MB / 1.173 GB, free: 163.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00516/0.657, allocations: 3.498 MB / 1.176 GB, free: 161.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.6586, allocations: 0.7951 MB / 1.177 GB, free: 161.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.661, allocations: 1.018 MB / 1.178 GB, free: 160.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.6623, allocations: 0.8132 MB / 1.179 GB, free: 160.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.6625, allocations: 43.47 kB / 1.179 GB, free: 160.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.6652, allocations: 0.9148 MB / 1.18 GB, free: 159.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.6654, allocations: 197.9 kB / 1.18 GB, free: 159.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.6659, allocations: 287.3 kB / 1.18 GB, free: 159.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.6681, allocations: 1.58 MB / 1.182 GB, free: 158.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.464e-06/0.6681, allocations: 0 / 1.182 GB, free: 158.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.868e-06/0.6681, allocations: 0 / 1.182 GB, free: 158.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.44e-05/0.6681, allocations: 2.438 kB / 1.182 GB, free: 158.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002834/0.671, allocations: 1.478 MB / 1.183 GB, free: 157.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.671, allocations: 12.03 kB / 1.183 GB, free: 157.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.6734, allocations: 476.6 kB / 1.184 GB, free: 156.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.6758, allocations: 1.108 MB / 1.185 GB, free: 155.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/0.6762, allocations: 124.8 kB / 1.185 GB, free: 155.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.6764, allocations: 88.8 kB / 1.185 GB, free: 155.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.6787, allocations: 0.9911 MB / 1.186 GB, free: 154.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.6787, allocations: 1.5 kB / 1.186 GB, free: 154.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.6788, allocations: 32 kB / 1.186 GB, free: 154.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.6788, allocations: 20 kB / 1.186 GB, free: 154.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.6816, allocations: 0.9276 MB / 1.187 GB, free: 153.3 MB / 0.7292 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.006815/0.6884, allocations: 4.606 MB / 1.192 GB, free: 148.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003911/0.6924, allocations: 0.9259 MB / 1.192 GB, free: 147.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009127/0.6933, allocations: 310.6 kB / 1.193 GB, free: 147.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005375/0.6939, allocations: 0.9087 MB / 1.194 GB, free: 146.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.6939, allocations: 43.22 kB / 1.194 GB, free: 146.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 3.243e-06/0.6939, allocations: 0 / 1.194 GB, free: 146.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.008986/0.7029, allocations: 2.014 MB / 1.196 GB, free: 144.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.703, allocations: 59.41 kB / 1.196 GB, free: 144 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.7047, allocations: 1.064 MB / 1.197 GB, free: 142.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-05/0.7048, allocations: 37.7 kB / 1.197 GB, free: 142.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.7052, allocations: 0.5352 MB / 1.197 GB, free: 142.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.7054, allocations: 157.8 kB / 1.197 GB, free: 142.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.7054, allocations: 8 kB / 1.197 GB, free: 142.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/0.7055, allocations: 330 kB / 1.198 GB, free: 141.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.7066, allocations: 328.9 kB / 1.198 GB, free: 141.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.7078, allocations: 0.5283 MB / 1.199 GB, free: 140.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.7089, allocations: 372.5 kB / 1.199 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-06/0.7089, allocations: 4 kB / 1.199 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004349/0.7133, allocations: 1.227 MB / 1.2 GB, free: 139.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.527e-05/0.7134, allocations: 209.3 kB / 1.2 GB, free: 139.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7134, allocations: 4 kB / 1.2 GB, free: 139 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.7149, allocations: 338.9 kB / 1.201 GB, free: 138.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.7156, allocations: 131.8 kB / 1.201 GB, free: 138.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.7174, allocations: 0.9425 MB / 1.202 GB, free: 137.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.7193, allocations: 187.3 kB / 1.202 GB, free: 137.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.7194, allocations: 31.98 kB / 1.202 GB, free: 137.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.7194, allocations: 4 kB / 1.202 GB, free: 137.4 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003913/0.7233, allocations: 1.091 MB / 1.203 GB, free: 136.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7234, allocations: 7.938 kB / 1.203 GB, free: 136.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.7247, allocations: 328.4 kB / 1.203 GB, free: 136 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.7254, allocations: 131.8 kB / 1.203 GB, free: 135.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.727, allocations: 0.9347 MB / 1.204 GB, free: 134.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.7285, allocations: 174.2 kB / 1.204 GB, free: 134.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.7286, allocations: 31.98 kB / 1.205 GB, free: 134.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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.0005773/0.7292, allocations: 357.5 kB / 1.205 GB, free: 134.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.7294, allocations: 110.6 kB / 1.205 GB, free: 134.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/0.7337, allocations: 1.234 MB / 1.206 GB, free: 133 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.7338, allocations: 4 kB / 1.206 GB, free: 133 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.7338, allocations: 0 / 1.206 GB, free: 133 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.7338, allocations: 3.984 kB / 1.206 GB, free: 133 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006379/0.7402, allocations: 2.216 MB / 1.208 GB, free: 130.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.7403, allocations: 0 / 1.208 GB, free: 130.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.7407, allocations: 67.89 kB / 1.208 GB, free: 130.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.7421, allocations: 320 kB / 1.209 GB, free: 130.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.7422, allocations: 15.92 kB / 1.209 GB, free: 130.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.744, allocations: 0.9656 MB / 1.21 GB, free: 129.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.961e-06/0.744, allocations: 7.984 kB / 1.21 GB, free: 129.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/0.7481, allocations: 1.232 MB / 1.211 GB, free: 128 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/0.7488, allocations: 278.9 kB / 1.211 GB, free: 127.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.749, allocations: 15.98 kB / 1.211 GB, free: 127.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.7501, allocations: 107.9 kB / 1.211 GB, free: 127.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.7502, allocations: 35.91 kB / 1.211 GB, free: 127.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/0.7503, allocations: 19.98 kB / 1.211 GB, free: 127.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001303/0.7516, allocations: 0.7395 MB / 1.212 GB, free: 126.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.58e-07/0.7516, allocations: 0 / 1.212 GB, free: 126.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001769/0.7534, allocations: 0.5613 MB / 1.213 GB, free: 126.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (33): * Single equations (assignments): 28 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007071/0.7541, allocations: 354.9 kB / 1.213 GB, free: 125.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003675/0.7578, allocations: 1.19 MB / 1.214 GB, free: 124.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.715e-06/0.7578, allocations: 8.062 kB / 1.214 GB, free: 124.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.7589, allocations: 370.5 kB / 1.214 GB, free: 124.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/0.7619, allocations: 0.5142 MB / 1.215 GB, free: 123.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/0.7677, allocations: 2.461 MB / 1.217 GB, free: 121.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.7682, allocations: 1.085 MB / 1.218 GB, free: 120.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001312/0.7696, allocations: 226.1 kB / 1.219 GB, free: 120.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.7698, allocations: 79.42 kB / 1.219 GB, free: 120 MB / 0.7292 GB Notification: Performance of SimCode: time 2.031e-06/0.7698, allocations: 4 kB / 1.219 GB, free: 120 MB / 0.7292 GB Notification: Performance of Templates: time 0.0465/0.8163, allocations: 23.49 MB / 1.242 GB, free: 97.34 MB / 0.7292 GB