Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009924/0.0009922, allocations: 178 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008594/0.0008594, allocations: 87.88 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002977, allocations: 11.78 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.09938/0.2953, allocations: 127.9 MB / 1.026 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03583/0.3311, allocations: 25.09 MB / 1.051 GB, free: 5.887 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006071/0.3373, allocations: 123.2 kB / 1.051 GB, free: 5.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005778/0.3431, allocations: 1.41 MB / 1.052 GB, free: 4.348 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01542/0.3585, allocations: 4.144 MB / 1.056 GB, free: 196 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4533/0.8119, allocations: 3.147 MB / 1.059 GB, free: 40.61 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01607/0.828, allocations: 11.36 MB / 1.071 GB, free: 40.6 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00598/0.834, allocations: 2.498 MB / 1.073 GB, free: 40.28 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008083/0.8421, allocations: 2.793 MB / 1.076 GB, free: 40.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005586/0.8477, allocations: 2.297 MB / 1.078 GB, free: 40.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.8489, allocations: 131.7 kB / 1.078 GB, free: 40.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00826/0.8572, allocations: 2.573 MB / 1.081 GB, free: 40.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.8588, allocations: 0.6098 MB / 1.081 GB, free: 40.05 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004081/0.8629, allocations: 1.701 MB / 1.083 GB, free: 39.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008242/0.8712, allocations: 4.865 MB / 1.088 GB, free: 39.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8712, allocations: 3.312 kB / 1.088 GB, free: 39.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8712, allocations: 0 / 1.088 GB, free: 39.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002097/0.8715, allocations: 0 / 1.088 GB, free: 39.32 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.00846/0.8799, allocations: 3.388 MB / 1.091 GB, free: 37.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.88, allocations: 10.41 kB / 1.091 GB, free: 37.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009914/0.8899, allocations: 1.368 MB / 1.092 GB, free: 37.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/0.896, allocations: 2.895 MB / 1.095 GB, free: 36.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.8963, allocations: 249.7 kB / 1.095 GB, free: 36.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005996/0.897, allocations: 236.8 kB / 1.096 GB, free: 36.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008125/0.9051, allocations: 3.142 MB / 1.099 GB, free: 36.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.043e-05/0.9052, allocations: 5.281 kB / 1.099 GB, free: 36.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/0.9055, allocations: 99.91 kB / 1.099 GB, free: 36.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.11e-05/0.9056, allocations: 68.78 kB / 1.099 GB, free: 36.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009899/0.9155, allocations: 2.792 MB / 1.102 GB, free: 36.04 MB / 0.698 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.01896/0.9345, allocations: 13.26 MB / 1.114 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/0.9383, allocations: 1.435 MB / 1.116 GB, free: 27.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.941, allocations: 0.9089 MB / 1.117 GB, free: 27.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.9425, allocations: 1.794 MB / 1.119 GB, free: 25.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003132/0.9456, allocations: 1.145 MB / 1.12 GB, free: 25.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 3.767e-06/0.9457, allocations: 0 / 1.12 GB, free: 25.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.02025/0.9659, allocations: 4.278 MB / 1.124 GB, free: 23.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.9661, allocations: 0.5776 MB / 1.124 GB, free: 23.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.9703, allocations: 2.509 MB / 1.127 GB, free: 22.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004065/0.9707, allocations: 59.89 kB / 1.127 GB, free: 22.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009611/0.9717, allocations: 1.341 MB / 1.128 GB, free: 21.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/0.9722, allocations: 445 kB / 1.129 GB, free: 21.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.9724, allocations: 31.47 kB / 1.129 GB, free: 21.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.9725, allocations: 372.1 kB / 1.129 GB, free: 21.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/0.9758, allocations: 0.9747 MB / 1.13 GB, free: 21.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003778/0.9796, allocations: 1.571 MB / 1.131 GB, free: 20.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006261/0.9859, allocations: 2.221 MB / 1.134 GB, free: 19.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.9859, allocations: 3.062 kB / 1.134 GB, free: 19.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01134/0.9972, allocations: 3.137 MB / 1.137 GB, free: 17.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002522/0.9975, allocations: 481.2 kB / 1.137 GB, free: 17.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.9976, allocations: 12 kB / 1.137 GB, free: 17.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.9998, allocations: 0.6836 MB / 1.138 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/1.003, allocations: 0.5043 MB / 1.138 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/1.005, allocations: 1.799 MB / 1.14 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/1.01, allocations: 0.5173 MB / 1.141 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/1.01, allocations: 107.1 kB / 1.141 GB, free: 14.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.01, allocations: 4 kB / 1.141 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01055/1.021, allocations: 2.858 MB / 1.143 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/1.021, allocations: 8 kB / 1.144 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/1.023, allocations: 0.6786 MB / 1.144 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/1.026, allocations: 0.4949 MB / 1.145 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/1.028, allocations: 1.801 MB / 1.146 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/1.032, allocations: 455.6 kB / 1.147 GB, free: 9.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004016/1.033, allocations: 104.3 kB / 1.147 GB, free: 9.086 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.002022/1.035, allocations: 0.6992 MB / 1.148 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008924/1.036, allocations: 275.5 kB / 1.148 GB, free: 8.398 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.046, allocations: 2.583 MB / 1.15 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/1.047, allocations: 12 kB / 1.15 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.047, allocations: 4 kB / 1.15 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00921/1.056, allocations: 2.214 MB / 1.153 GB, free: 4.043 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/1.073, allocations: 6.455 MB / 1.159 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/1.073, allocations: 11.98 kB / 1.159 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.075, allocations: 300.3 kB / 1.159 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/1.077, allocations: 0.6655 MB / 1.16 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/1.077, allocations: 51.95 kB / 1.16 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/1.08, allocations: 1.796 MB / 1.162 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/1.08, allocations: 11.47 kB / 1.162 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/1.091, allocations: 3.565 MB / 1.165 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/1.094, allocations: 0.6417 MB / 1.166 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007727/1.094, allocations: 43.98 kB / 1.166 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/1.098, allocations: 289.7 kB / 1.166 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/1.098, allocations: 112.5 kB / 1.166 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.098, allocations: 75.88 kB / 1.166 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003332/1.102, allocations: 1.755 MB / 1.168 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/1.102, allocations: 0 / 1.168 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005733/1.107, allocations: 1.711 MB / 1.17 GB, free: 2.391 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,17), (2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002115/1.11, allocations: 0.8623 MB / 1.17 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.122, allocations: 3.616 MB / 1.174 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/1.122, allocations: 6.969 kB / 1.174 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003424/1.125, allocations: 0.987 MB / 1.175 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01037/1.136, allocations: 1.452 MB / 1.176 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/1.151, allocations: 6.452 MB / 1.183 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/1.152, allocations: 1.699 MB / 1.184 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/1.154, allocations: 283.2 kB / 1.185 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of SimCode: time 1.173e-06/1.154, allocations: 0 / 1.185 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of Templates: time 0.1101/1.264, allocations: 80.65 MB / 1.263 GB, free: 3 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)