Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.788/4.788, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002453/0.002453, allocations: 356.8 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.113/4.113, allocations: 410.7 MB / 1.112 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001769/0.001769, allocations: 191.5 kB / 1.225 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004871, allocations: 12 kB / 1.348 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5708/0.5713, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.05844/0.6298, allocations: 64.5 MB / 1.524 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.6483, allocations: 12.97 MB / 1.536 GB, free: 207 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.6509, allocations: 59.62 kB / 1.536 GB, free: 207 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.6532, allocations: 0.7312 MB / 1.537 GB, free: 206.2 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007197/0.6604, allocations: 2.282 MB / 1.539 GB, free: 204 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006449/0.6669, allocations: 1.899 MB / 1.541 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005831/0.6727, allocations: 5.123 MB / 1.546 GB, free: 197 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.6746, allocations: 1.156 MB / 1.547 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.6772, allocations: 1.345 MB / 1.549 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.6788, allocations: 1.138 MB / 1.55 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.6791, allocations: 72 kB / 1.55 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.6822, allocations: 1.087 MB / 1.551 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003839/0.6826, allocations: 318.6 kB / 1.551 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005855/0.6832, allocations: 400.8 kB / 1.552 GB, free: 191.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.6862, allocations: 2.47 MB / 1.554 GB, free: 189 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.435e-06/0.6863, allocations: 0 / 1.554 GB, free: 189 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.081e-06/0.6863, allocations: 0 / 1.554 GB, free: 189 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.275e-05/0.6863, allocations: 0 / 1.554 GB, free: 189 MB / 0.8542 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.003713/0.69, allocations: 1.966 MB / 1.556 GB, free: 187 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.6901, allocations: 15.62 kB / 1.556 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006844/0.6969, allocations: 0.6925 MB / 1.557 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/0.7, allocations: 1.511 MB / 1.558 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.7002, allocations: 132 kB / 1.558 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.7004, allocations: 120 kB / 1.558 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004379/0.7048, allocations: 1.655 MB / 1.56 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.7049, allocations: 4 kB / 1.56 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.7051, allocations: 51.98 kB / 1.56 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/0.7051, allocations: 35.94 kB / 1.56 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005526/0.7107, allocations: 1.503 MB / 1.562 GB, free: 181.1 MB / 0.8542 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.01101/0.7217, allocations: 6.995 MB / 1.568 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/0.7245, allocations: 0.7847 MB / 1.569 GB, free: 173 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.7264, allocations: 0.4983 MB / 1.57 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.7276, allocations: 1.271 MB / 1.571 GB, free: 171 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002251/0.7299, allocations: 0.6652 MB / 1.571 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=69): time 4.209e-06/0.7299, allocations: 0 / 1.571 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69): time 0.01152/0.7414, allocations: 2.17 MB / 1.574 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.7416, allocations: 328.9 kB / 1.574 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.744, allocations: 1.371 MB / 1.575 GB, free: 166.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.7442, allocations: 45.7 kB / 1.575 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005832/0.7448, allocations: 0.6881 MB / 1.576 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.745, allocations: 244.6 kB / 1.576 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.7451, allocations: 16 kB / 1.576 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.7452, allocations: 349.9 kB / 1.577 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.7475, allocations: 0.525 MB / 1.577 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.7501, allocations: 0.8286 MB / 1.578 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.7525, allocations: 0.602 MB / 1.578 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.158e-06/0.7525, allocations: 8 kB / 1.578 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.008579/0.7611, allocations: 1.83 MB / 1.58 GB, free: 161 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.7613, allocations: 313.8 kB / 1.581 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.7613, allocations: 4 kB / 1.581 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.763, allocations: 371.6 kB / 1.581 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.7648, allocations: 280.1 kB / 1.581 GB, free: 160 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.7662, allocations: 0.9038 MB / 1.582 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.7691, allocations: 290.5 kB / 1.582 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.7693, allocations: 55.95 kB / 1.582 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.7693, allocations: 4 kB / 1.582 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008115/0.7774, allocations: 1.688 MB / 1.584 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.7775, allocations: 4 kB / 1.584 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.779, allocations: 364.8 kB / 1.584 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.7808, allocations: 283.5 kB / 1.585 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.7821, allocations: 0.9036 MB / 1.586 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.7848, allocations: 258.8 kB / 1.586 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.785, allocations: 55.94 kB / 1.586 GB, free: 155.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (98): * Single equations (assignments): 96 * 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.0008454/0.7858, allocations: 460.8 kB / 1.586 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.7861, allocations: 154.2 kB / 1.586 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/0.7909, allocations: 1.27 MB / 1.588 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.7909, allocations: 8 kB / 1.588 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.876e-06/0.7909, allocations: 0 / 1.588 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004064/0.795, allocations: 1.084 MB / 1.589 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008361/0.8034, allocations: 3.318 MB / 1.592 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.8034, allocations: 8.031 kB / 1.592 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.8047, allocations: 171.8 kB / 1.592 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.8062, allocations: 363.4 kB / 1.593 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.221e-05/0.8063, allocations: 31.97 kB / 1.593 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.8077, allocations: 0.9 MB / 1.593 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.058e-06/0.8077, allocations: 8.062 kB / 1.593 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00673/0.8144, allocations: 1.973 MB / 1.595 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009486/0.8154, allocations: 398.8 kB / 1.596 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/0.8157, allocations: 20 kB / 1.596 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/0.8179, allocations: 155.9 kB / 1.596 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.8181, allocations: 72.23 kB / 1.596 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.8182, allocations: 39.95 kB / 1.596 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001881/0.8201, allocations: 0.9743 MB / 1.597 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.24e-07/0.8201, allocations: 4 kB / 1.597 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002964/0.8231, allocations: 0.9007 MB / 1.598 GB, free: 142.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 46 * 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.001233/0.8243, allocations: 0.5113 MB / 1.598 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00768/0.832, allocations: 2.011 MB / 1.6 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.734e-06/0.8321, allocations: 0 / 1.6 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.8345, allocations: 0.5719 MB / 1.601 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/0.8392, allocations: 0.7995 MB / 1.602 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006465/0.8457, allocations: 3.164 MB / 1.605 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/0.8465, allocations: 1.247 MB / 1.606 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00241/0.8489, allocations: 378.3 kB / 1.606 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.8493, allocations: 131.3 kB / 1.606 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.957e-06/0.8493, allocations: 0 / 1.606 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.06911/0.9184, allocations: 36.25 MB / 1.642 GB, free: 98.11 MB / 0.8542 GB