Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.579/1.579, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001047/0.001047, allocations: 178.1 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.438/1.438, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008362/0.0008362, allocations: 106.8 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004252, allocations: 19.89 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.281, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.6411/0.9222, allocations: 109.3 MB / 1.086 GB, free: 32 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03545/0.9577, allocations: 21.21 MB / 1.107 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006704/0.9644, allocations: 107.4 kB / 1.107 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008019/0.9725, allocations: 1.461 MB / 1.108 GB, free: 30.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01981/0.9924, allocations: 4.074 MB / 1.112 GB, free: 29.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01456/1.007, allocations: 3.152 MB / 1.115 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01524/1.022, allocations: 5.087 MB / 1.12 GB, free: 27.09 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00515/1.027, allocations: 2.286 MB / 1.123 GB, free: 26.3 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01089/1.038, allocations: 2.438 MB / 1.125 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007593/1.046, allocations: 1.578 MB / 1.127 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001909/1.048, allocations: 134.4 kB / 1.127 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009486/1.058, allocations: 1.74 MB / 1.128 GB, free: 24.29 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001921/1.059, allocations: 0.5714 MB / 1.129 GB, free: 23.98 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003447/1.063, allocations: 0.7367 MB / 1.13 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01366/1.077, allocations: 4.577 MB / 1.134 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.077, allocations: 0 / 1.134 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.975e-06/1.077, allocations: 0 / 1.134 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003412/1.077, allocations: 0 / 1.134 GB, free: 20.8 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01249/1.09, allocations: 3.367 MB / 1.137 GB, free: 18.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.09, allocations: 9.844 kB / 1.137 GB, free: 18.33 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/1.101, allocations: 1.366 MB / 1.139 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007943/1.109, allocations: 2.701 MB / 1.141 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005146/1.11, allocations: 255.1 kB / 1.142 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/1.111, allocations: 243 kB / 1.142 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/1.122, allocations: 3.169 MB / 1.145 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001439/1.122, allocations: 9.719 kB / 1.145 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008291/1.123, allocations: 102.7 kB / 1.145 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/1.123, allocations: 70.52 kB / 1.145 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/1.134, allocations: 2.813 MB / 1.148 GB, free: 11.82 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.0253/1.159, allocations: 13.69 MB / 1.161 GB, free: 64 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004614/1.164, allocations: 1.437 MB / 1.163 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001999/1.166, allocations: 1.783 MB / 1.164 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003893/1.17, allocations: 1.153 MB / 1.166 GB, free: 12.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 7.153e-06/1.17, allocations: 0 / 1.166 GB, free: 12.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.04079/1.211, allocations: 9.718 MB / 1.175 GB, free: 5.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002699/1.211, allocations: 0.5766 MB / 1.176 GB, free: 5.082 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004833/1.216, allocations: 2.69 MB / 1.178 GB, free: 2.375 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005327/1.217, allocations: 69.64 kB / 1.178 GB, free: 2.301 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001286/1.218, allocations: 1.347 MB / 1.18 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007421/1.219, allocations: 457.5 kB / 1.18 GB, free: 500 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/1.219, allocations: 32 kB / 1.18 GB, free: 468 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.219, allocations: 373.9 kB / 1.18 GB, free: 88 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003592/1.222, allocations: 0.9447 MB / 1.181 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004014/1.227, allocations: 1.542 MB / 1.183 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/1.23, allocations: 1.089 MB / 1.184 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.23, allocations: 4 kB / 1.184 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01067/1.241, allocations: 3.094 MB / 1.187 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001954/1.243, allocations: 5.244 MB / 1.192 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.243, allocations: 12 kB / 1.192 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/1.246, allocations: 0.9421 MB / 1.193 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/1.249, allocations: 479.2 kB / 1.193 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/1.252, allocations: 2.183 MB / 1.196 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005612/1.257, allocations: 403.3 kB / 1.196 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003342/1.258, allocations: 107.9 kB / 1.196 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.258, allocations: 4 kB / 1.196 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009792/1.267, allocations: 2.801 MB / 1.199 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/1.268, allocations: 12 kB / 1.199 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/1.27, allocations: 0.9334 MB / 1.2 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/1.273, allocations: 475.2 kB / 1.2 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/1.277, allocations: 2.2 MB / 1.202 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005211/1.282, allocations: 367.3 kB / 1.203 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004278/1.282, allocations: 103.9 kB / 1.203 GB, free: 8.387 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (168): * Single equations (assignments): 165 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002331/1.285, allocations: 0.6961 MB / 1.203 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/1.286, allocations: 284.6 kB / 1.204 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009218/1.295, allocations: 2.364 MB / 1.206 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.218e-05/1.295, allocations: 28 kB / 1.206 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.295, allocations: 4 kB / 1.206 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007253/1.302, allocations: 1.986 MB / 1.208 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/1.32, allocations: 6.236 MB / 1.214 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/1.32, allocations: 12.03 kB / 1.214 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.321, allocations: 291.5 kB / 1.214 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002722/1.324, allocations: 0.7915 MB / 1.215 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.324, allocations: 55.94 kB / 1.215 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/1.327, allocations: 1.956 MB / 1.217 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.327, allocations: 8 kB / 1.217 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/1.341, allocations: 4.344 MB / 1.221 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/1.344, allocations: 0.673 MB / 1.222 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00213/1.346, allocations: 32 kB / 1.222 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005158/1.351, allocations: 287.5 kB / 1.222 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/1.352, allocations: 116.7 kB / 1.222 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003411/1.352, allocations: 79.91 kB / 1.223 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004758/1.357, allocations: 1.887 MB / 1.224 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.21e-07/1.357, allocations: 0 / 1.224 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008676/1.366, allocations: 1.503 MB / 1.226 GB, free: 48 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (84): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.002706/1.368, allocations: 0.8272 MB / 1.227 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.381, allocations: 3.657 MB / 1.23 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/1.381, allocations: 4.438 kB / 1.23 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003771/1.385, allocations: 1.059 MB / 1.231 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009278/1.395, allocations: 1.499 MB / 1.233 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/1.411, allocations: 6.013 MB / 1.239 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/1.414, allocations: 1.771 MB / 1.24 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004965/1.419, allocations: 0.6692 MB / 1.241 GB, free: 432 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.42, allocations: 231.3 kB / 1.241 GB, free: 200 kB / 0.7605 GB Notification: Performance of SimCode: time 1.954e-06/1.42, allocations: 0 / 1.241 GB, free: 200 kB / 0.7605 GB Notification: Performance of Templates: time 0.1242/1.544, allocations: 70.61 MB / 1.31 GB, free: 10.11 MB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)