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.856/4.856, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 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.00241/0.002409, allocations: 350.5 kB / 0.6447 GB, free: 185.6 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.124/4.124, allocations: 410.7 MB / 1.113 GB, free: 5.977 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.001796/0.001795, allocations: 179.8 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.000642, allocations: 12 kB / 1.349 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.7004, 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.07532/0.7758, allocations: 64.5 MB / 1.524 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02174/0.7976, allocations: 12.97 MB / 1.537 GB, free: 207 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.8002, allocations: 59.62 kB / 1.537 GB, free: 207 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003174/0.8034, allocations: 0.7331 MB / 1.538 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.00845/0.8119, allocations: 2.284 MB / 1.54 GB, free: 204 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.007609/0.8195, allocations: 1.888 MB / 1.542 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00708/0.8266, allocations: 5.129 MB / 1.547 GB, free: 197 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.8289, allocations: 1.146 MB / 1.548 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.8323, allocations: 1.349 MB / 1.549 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/0.8346, allocations: 1.137 MB / 1.55 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003844/0.835, allocations: 79.88 kB / 1.55 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.8389, allocations: 1.087 MB / 1.552 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004899/0.8394, allocations: 318.5 kB / 1.552 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000672/0.8401, allocations: 400.8 kB / 1.552 GB, free: 191.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.844, allocations: 2.466 MB / 1.555 GB, free: 189 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.8441, allocations: 4 kB / 1.555 GB, free: 189 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8441, allocations: 0 / 1.555 GB, free: 189 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.175e-05/0.8441, allocations: 0 / 1.555 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.004928/0.849, allocations: 1.97 MB / 1.557 GB, free: 187 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.8491, allocations: 11.62 kB / 1.557 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009126/0.8582, allocations: 0.6964 MB / 1.557 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.8617, allocations: 1.507 MB / 1.559 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.8619, allocations: 128 kB / 1.559 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/0.8622, allocations: 124 kB / 1.559 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005955/0.8682, allocations: 1.656 MB / 1.561 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.8682, allocations: 0 / 1.561 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.8685, allocations: 53.69 kB / 1.561 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.8685, allocations: 32 kB / 1.561 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007929/0.8765, 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.01389/0.8904, allocations: 6.99 MB / 1.569 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/0.8943, allocations: 0.7816 MB / 1.57 GB, free: 173 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002899/0.8972, allocations: 0.5061 MB / 1.57 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/0.8988, allocations: 1.277 MB / 1.571 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003278/0.9021, allocations: 0.6636 MB / 1.572 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=69): time 3.837e-06/0.9021, allocations: 0 / 1.572 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69): time 0.01831/0.9204, allocations: 2.166 MB / 1.574 GB, free: 168 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.9206, allocations: 321 kB / 1.575 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.9234, allocations: 1.371 MB / 1.576 GB, free: 166.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/0.9237, allocations: 45.7 kB / 1.576 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/0.9243, allocations: 0.6958 MB / 1.577 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.9246, allocations: 244.6 kB / 1.577 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.9248, allocations: 16 kB / 1.577 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.9249, allocations: 345.9 kB / 1.577 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/0.9285, allocations: 0.525 MB / 1.578 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/0.9323, allocations: 0.8286 MB / 1.578 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.9359, allocations: 0.606 MB / 1.579 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.9359, allocations: 0 / 1.579 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01308/0.949, allocations: 1.84 MB / 1.581 GB, free: 161 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.9492, allocations: 298.7 kB / 1.581 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.9492, allocations: 8 kB / 1.581 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.9512, allocations: 366.2 kB / 1.582 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/0.954, allocations: 291.4 kB / 1.582 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.9556, allocations: 0.9001 MB / 1.583 GB, free: 159 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/0.96, allocations: 290.5 kB / 1.583 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.9602, allocations: 59.94 kB / 1.583 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.9602, allocations: 3.75 kB / 1.583 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01266/0.9729, allocations: 1.68 MB / 1.585 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.9729, allocations: 11.94 kB / 1.585 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.9748, allocations: 365.2 kB / 1.585 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.9775, allocations: 275.5 kB / 1.585 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.9792, allocations: 0.9075 MB / 1.586 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/0.9831, allocations: 259.6 kB / 1.586 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.9833, allocations: 59.94 kB / 1.586 GB, free: 155.1 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.0009782/0.9843, allocations: 456.8 kB / 1.587 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.9846, allocations: 154.2 kB / 1.587 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006939/0.9915, allocations: 1.272 MB / 1.588 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0061/0.9977, allocations: 1.076 MB / 1.589 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.9977, allocations: 4 kB / 1.589 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.9988, allocations: 390.9 kB / 1.59 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.9992, allocations: 23.94 kB / 1.59 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/1.002, allocations: 155.7 kB / 1.59 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.002, allocations: 52.48 kB / 1.59 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01011/1.013, allocations: 1.738 MB / 1.592 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00952/1.022, allocations: 2.12 MB / 1.594 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002939/1.025, allocations: 496 kB / 1.594 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002246/1.027, allocations: 0.958 MB / 1.595 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of Backend: time 7.91e-07/1.027, allocations: 0 / 1.595 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01148/1.039, allocations: 2.204 MB / 1.597 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.009738/1.049, allocations: 3.973 MB / 1.601 GB, free: 140 MB / 0.8542 GB Notification: Performance of Templates: time 0.09326/1.142, allocations: 42.73 MB / 1.643 GB, free: 97.83 MB / 0.8542 GB