Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01051/0.01051, allocations: 221.4 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.001074/0.001074, allocations: 176 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.409/3.409, 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.01/4.01, allocations: 472.3 MB / 0.9018 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004724, allocations: 19.94 kB / 1.008 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.5533, allocations: 98.71 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06936/0.6227, allocations: 63.81 MB / 1.166 GB, free: 168.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02029/0.643, allocations: 13.23 MB / 1.179 GB, free: 158.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.6462, allocations: 65.09 kB / 1.179 GB, free: 158.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.6489, allocations: 0.7335 MB / 1.18 GB, free: 158 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/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008299/0.6573, allocations: 2.273 MB / 1.182 GB, free: 156.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006855/0.6642, allocations: 1.784 MB / 1.184 GB, free: 155 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006756/0.6709, allocations: 5.145 MB / 1.189 GB, free: 151.4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.6727, allocations: 1.141 MB / 1.19 GB, free: 150.3 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/0.675, allocations: 1.336 MB / 1.191 GB, free: 148.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.6764, allocations: 1.135 MB / 1.193 GB, free: 147.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.6766, allocations: 68 kB / 1.193 GB, free: 147.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003241/0.6798, allocations: 1.168 MB / 1.194 GB, free: 146.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.6802, allocations: 303.5 kB / 1.194 GB, free: 146.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004316/0.6806, allocations: 400.8 kB / 1.194 GB, free: 145.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.6835, allocations: 2.495 MB / 1.197 GB, free: 143.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.894e-06/0.6835, allocations: 0 / 1.197 GB, free: 143.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.825e-06/0.6835, allocations: 0 / 1.197 GB, free: 143.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.6835, allocations: 0.5938 kB / 1.197 GB, free: 143.4 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003539/0.6871, allocations: 2.005 MB / 1.199 GB, free: 141.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.6871, allocations: 11.97 kB / 1.199 GB, free: 141.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005342/0.6925, allocations: 0.6914 MB / 1.199 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.6953, allocations: 1.52 MB / 1.201 GB, free: 139 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.6955, allocations: 126.1 kB / 1.201 GB, free: 138.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.6957, allocations: 131.4 kB / 1.201 GB, free: 138.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004132/0.6999, allocations: 1.62 MB / 1.203 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.6999, allocations: 12.34 kB / 1.203 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.7001, allocations: 48 kB / 1.203 GB, free: 137 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.7002, allocations: 32.59 kB / 1.203 GB, free: 137 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00527/0.7055, allocations: 1.489 MB / 1.204 GB, free: 135.5 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.01015/0.7156, allocations: 6.906 MB / 1.211 GB, free: 128.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.718, allocations: 0.7462 MB / 1.212 GB, free: 127.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.7196, allocations: 474.6 kB / 1.212 GB, free: 127.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.7208, allocations: 1.275 MB / 1.214 GB, free: 125.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/0.7227, allocations: 0.6231 MB / 1.214 GB, free: 124.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=67): time 4.018e-06/0.7227, allocations: 0.7188 kB / 1.214 GB, free: 124.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=67): time 0.01124/0.734, allocations: 2.153 MB / 1.216 GB, free: 122.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.7341, allocations: 384.2 kB / 1.217 GB, free: 122.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.7363, allocations: 1.286 MB / 1.218 GB, free: 121 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.7364, allocations: 49.7 kB / 1.218 GB, free: 120.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000575/0.737, allocations: 0.7259 MB / 1.219 GB, free: 120.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.7373, allocations: 244.6 kB / 1.219 GB, free: 120 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.7374, allocations: 16 kB / 1.219 GB, free: 119.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.7375, allocations: 349.9 kB / 1.219 GB, free: 119.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.7394, allocations: 0.4977 MB / 1.22 GB, free: 119.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.7415, allocations: 0.8526 MB / 1.221 GB, free: 118.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.7435, allocations: 0.5865 MB / 1.221 GB, free: 117.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.432e-06/0.7435, allocations: 4 kB / 1.221 GB, free: 117.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007541/0.7511, allocations: 1.805 MB / 1.223 GB, free: 115.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.7512, allocations: 357.1 kB / 1.223 GB, free: 115.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.7513, allocations: 8 kB / 1.223 GB, free: 115.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.7528, allocations: 356.1 kB / 1.224 GB, free: 114.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.7543, allocations: 259.6 kB / 1.224 GB, free: 114.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.7556, allocations: 0.9034 MB / 1.225 GB, free: 113.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.7581, allocations: 274.3 kB / 1.225 GB, free: 113.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.7583, allocations: 51.98 kB / 1.225 GB, free: 113.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.7583, allocations: 4 kB / 1.225 GB, free: 113.4 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007304/0.7656, allocations: 1.664 MB / 1.227 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.7657, allocations: 12.06 kB / 1.227 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.7672, allocations: 348.2 kB / 1.227 GB, free: 111.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.7686, allocations: 259.6 kB / 1.227 GB, free: 111.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.77, allocations: 0.9078 MB / 1.228 GB, free: 110.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.7722, allocations: 238.3 kB / 1.228 GB, free: 109.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.7724, allocations: 59.97 kB / 1.228 GB, free: 109.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0008385/0.7732, allocations: 461.4 kB / 1.229 GB, free: 109.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.7735, allocations: 142.3 kB / 1.229 GB, free: 109.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00657/0.7801, allocations: 1.291 MB / 1.23 GB, free: 108 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.7802, allocations: 11.98 kB / 1.23 GB, free: 108 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.494e-06/0.7802, allocations: 4 kB / 1.23 GB, free: 108 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005829/0.786, allocations: 1.107 MB / 1.231 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008254/0.7943, allocations: 3.432 MB / 1.235 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.7943, allocations: 8 kB / 1.235 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.7955, allocations: 163.9 kB / 1.235 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.7972, allocations: 353 kB / 1.235 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/0.7973, allocations: 23.98 kB / 1.235 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.7987, allocations: 0.9001 MB / 1.236 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.838e-06/0.7987, allocations: 7.938 kB / 1.236 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006421/0.8051, allocations: 1.956 MB / 1.238 GB, free: 99.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008477/0.806, allocations: 367 kB / 1.238 GB, free: 99.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003658/0.8064, allocations: 26.81 kB / 1.238 GB, free: 99.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/0.8085, allocations: 159.3 kB / 1.239 GB, free: 99.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.8087, allocations: 80.19 kB / 1.239 GB, free: 99.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-05/0.8088, allocations: 35.98 kB / 1.239 GB, free: 99.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001612/0.8104, allocations: 0.886 MB / 1.239 GB, free: 98.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.26e-07/0.8104, allocations: 0 / 1.239 GB, free: 98.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002779/0.8132, allocations: 0.9434 MB / 1.24 GB, free: 97.21 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.8145, allocations: 0.5848 MB / 1.241 GB, free: 96.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006248/0.8208, allocations: 1.976 MB / 1.243 GB, free: 94.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.8208, allocations: 0.9375 kB / 1.243 GB, free: 94.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002985/0.8238, allocations: 0.5876 MB / 1.243 GB, free: 94.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007558/0.8314, allocations: 0.7285 MB / 1.244 GB, free: 93.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.8415, allocations: 3.218 MB / 1.247 GB, free: 90.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.8428, allocations: 1.249 MB / 1.249 GB, free: 88.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004213/0.847, allocations: 373.1 kB / 1.249 GB, free: 88.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/0.8477, allocations: 119.3 kB / 1.249 GB, free: 88.34 MB / 0.7292 GB Notification: Performance of SimCode: time 2.265e-06/0.8478, allocations: 4 kB / 1.249 GB, free: 88.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.1181/0.9658, allocations: 34.3 MB / 1.283 GB, free: 55.29 MB / 0.7292 GB