Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.75/1.75, allocations: 288.3 MB / 303.2 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 175.6 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 101.3 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.000406, allocations: 16.22 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.0514/0.2999, allocations: 58.55 MB / 1.037 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01892/0.3189, allocations: 12.16 MB / 1.048 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.3219, allocations: 59.56 kB / 1.049 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004245/0.3262, allocations: 0.785 MB / 1.049 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00983/0.3361, allocations: 2.177 MB / 1.051 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00661/0.3427, allocations: 1.916 MB / 1.053 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005846/0.3486, allocations: 2.659 MB / 1.056 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002605/0.3512, allocations: 1.18 MB / 1.057 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.3548, allocations: 1.273 MB / 1.058 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.3569, allocations: 0.8283 MB / 1.059 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005349/0.3575, allocations: 72 kB / 1.059 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003738/0.3612, allocations: 1.174 MB / 1.06 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006522/0.3619, allocations: 306.8 kB / 1.061 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009988/0.3629, allocations: 400.8 kB / 1.061 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.3673, allocations: 2.447 MB / 1.063 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3674, allocations: 4 kB / 1.063 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3674, allocations: 0 / 1.063 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001155/0.3675, allocations: 4 kB / 1.063 GB, free: 5.543 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004921/0.3724, allocations: 1.974 MB / 1.065 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3725, allocations: 12.03 kB / 1.065 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.3776, allocations: 0.6886 MB / 1.066 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.3811, allocations: 1.429 MB / 1.067 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.3813, allocations: 136 kB / 1.068 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/0.3817, allocations: 123.9 kB / 1.068 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4989/0.8806, allocations: 1.636 MB / 1.069 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.8807, allocations: 4.312 kB / 1.069 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.8809, allocations: 51.81 kB / 1.069 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.342e-05/0.881, allocations: 35.45 kB / 1.069 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005094/0.8861, allocations: 1.495 MB / 1.071 GB, free: 89.22 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.01086/0.897, allocations: 7.022 MB / 1.078 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.8995, allocations: 0.7892 MB / 1.078 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.9006, allocations: 1.267 MB / 1.08 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002091/0.9027, allocations: 0.6642 MB / 1.08 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.516e-06/0.9027, allocations: 0 / 1.08 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.01045/0.9132, allocations: 2.16 MB / 1.082 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.9133, allocations: 323.6 kB / 1.083 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.9161, allocations: 1.423 MB / 1.084 GB, free: 81.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.9162, allocations: 45.8 kB / 1.084 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/0.9169, allocations: 0.7027 MB / 1.085 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.9171, allocations: 237.3 kB / 1.085 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.9172, allocations: 23.78 kB / 1.085 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.9173, allocations: 341.7 kB / 1.085 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.9193, allocations: 0.5211 MB / 1.086 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.9215, allocations: 0.8254 MB / 1.087 GB, free: 79.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.9235, allocations: 0.6012 MB / 1.087 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.9235, allocations: 1.25 kB / 1.087 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007936/0.9315, allocations: 1.834 MB / 1.089 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005081/0.932, allocations: 2.525 MB / 1.092 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.932, allocations: 6.031 kB / 1.092 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.9335, allocations: 371.2 kB / 1.092 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.9352, allocations: 275.7 kB / 1.092 GB, free: 75.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.9363, allocations: 0.9017 MB / 1.093 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/0.9392, allocations: 301.4 kB / 1.093 GB, free: 74.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.9394, allocations: 55.84 kB / 1.093 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.9394, allocations: 4.062 kB / 1.093 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007166/0.9465, allocations: 1.682 MB / 1.095 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.9466, allocations: 7.844 kB / 1.095 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.9479, allocations: 371.8 kB / 1.095 GB, free: 74.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.9495, allocations: 276.8 kB / 1.096 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.9507, allocations: 0.9023 MB / 1.097 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/0.9533, allocations: 266.6 kB / 1.097 GB, free: 73.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.9535, allocations: 60.27 kB / 1.097 GB, free: 73.55 MB / 0.6823 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.001008/0.9545, allocations: 455.7 kB / 1.097 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.9549, allocations: 147.7 kB / 1.097 GB, free: 73.13 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/0.959, allocations: 1.283 MB / 1.099 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.9591, allocations: 8.094 kB / 1.099 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.9591, allocations: 1.125 kB / 1.099 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003219/0.9623, allocations: 1.082 MB / 1.1 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007186/0.9695, allocations: 3.35 MB / 1.103 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.9695, allocations: 3.812 kB / 1.103 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009655/0.9705, allocations: 171 kB / 1.103 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.9717, allocations: 365.1 kB / 1.104 GB, free: 69.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.9718, allocations: 26.66 kB / 1.104 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.9728, allocations: 0.8985 MB / 1.104 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.9728, allocations: 5.531 kB / 1.104 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005642/0.9785, allocations: 2.246 MB / 1.107 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009595/0.9795, allocations: 406.7 kB / 1.107 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.9797, allocations: 26.67 kB / 1.107 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.9813, allocations: 162.9 kB / 1.107 GB, free: 67.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.9815, allocations: 71.92 kB / 1.107 GB, free: 67.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.9816, allocations: 39.77 kB / 1.107 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001562/0.9831, allocations: 1.015 MB / 1.108 GB, free: 66.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9832, allocations: 0 / 1.108 GB, free: 66.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002849/0.986, allocations: 0.906 MB / 1.109 GB, free: 66.35 MB / 0.6823 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.001254/0.9873, allocations: 0.559 MB / 1.11 GB, free: 66.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006456/0.9937, allocations: 2.004 MB / 1.112 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.9938, allocations: 2.656 kB / 1.112 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.9957, allocations: 0.5711 MB / 1.112 GB, free: 64.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003841/0.9995, allocations: 0.7905 MB / 1.113 GB, free: 64.51 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/1.005, allocations: 3.155 MB / 1.116 GB, free: 62.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/1.006, allocations: 1.24 MB / 1.117 GB, free: 61.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002155/1.008, allocations: 377 kB / 1.118 GB, free: 61.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/1.009, allocations: 136.6 kB / 1.118 GB, free: 61.19 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/1.009, allocations: 0 / 1.118 GB, free: 61.19 MB / 0.6823 GB Notification: Performance of Templates: time 0.052/1.061, allocations: 36.96 MB / 1.154 GB, free: 29.92 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)