Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007948/0.0007948, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005188/0.005189, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003876, allocations: 11.78 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3805, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06375/0.4443, allocations: 68.3 MB / 1.141 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02077/0.4651, allocations: 14.53 MB / 1.155 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002657/0.4678, allocations: 63.56 kB / 1.155 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.4701, allocations: 0.7459 MB / 1.156 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007903/0.478, allocations: 2.364 MB / 1.158 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005493/0.4835, allocations: 1.793 MB / 1.16 GB, free: 15.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00809/0.4916, allocations: 5.951 MB / 1.166 GB, free: 9.531 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.4942, allocations: 1.301 MB / 1.167 GB, free: 8.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/0.4982, allocations: 1.443 MB / 1.168 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.5007, allocations: 1.201 MB / 1.17 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.5009, allocations: 68 kB / 1.17 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.5051, allocations: 1.739 MB / 1.171 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004205/0.5056, allocations: 330.5 kB / 1.172 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.5069, allocations: 0.9151 MB / 1.173 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005293/0.5122, allocations: 3.376 MB / 1.176 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5122, allocations: 0 / 1.176 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5122, allocations: 0 / 1.176 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.34e-05/0.5123, allocations: 0 / 1.176 GB, free: 15.1 MB / 0.9356 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.00398/0.5163, allocations: 1.997 MB / 1.178 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5163, allocations: 8.031 kB / 1.178 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/0.5215, allocations: 0.6934 MB / 1.178 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.5245, allocations: 1.561 MB / 1.18 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.5247, allocations: 128 kB / 1.18 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.5249, allocations: 128 kB / 1.18 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004127/0.529, allocations: 1.664 MB / 1.182 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.5291, allocations: 3.938 kB / 1.182 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.5293, allocations: 55.98 kB / 1.182 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/0.5293, allocations: 36 kB / 1.182 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004773/0.5341, allocations: 1.496 MB / 1.183 GB, free: 7.098 MB / 0.9356 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.01054/0.5446, allocations: 6.989 MB / 1.19 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.547, allocations: 0.7907 MB / 1.191 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.5487, allocations: 0.5176 MB / 1.191 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/0.5501, allocations: 1.27 MB / 1.193 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/0.5521, allocations: 0.6706 MB / 1.193 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=69): time 2.876e-06/0.5521, allocations: 0 / 1.193 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69): time 0.01074/0.5629, allocations: 2.181 MB / 1.196 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/0.5631, allocations: 317 kB / 1.196 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.5655, allocations: 1.387 MB / 1.197 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.5657, allocations: 45.7 kB / 1.197 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005968/0.5663, allocations: 0.7036 MB / 1.198 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.5666, allocations: 244.6 kB / 1.198 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.5667, allocations: 81.67 kB / 1.198 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5669, allocations: 341.9 kB / 1.199 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.5689, allocations: 0.525 MB / 1.199 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.5712, allocations: 0.8412 MB / 1.2 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/0.575, allocations: 1.212 MB / 1.201 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5751, allocations: 3.938 kB / 1.201 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006829/0.5819, allocations: 1.692 MB / 1.203 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002303/0.5822, allocations: 308.3 kB / 1.203 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5822, allocations: 8 kB / 1.203 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.5838, allocations: 368.4 kB / 1.203 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.5854, allocations: 283.5 kB / 1.204 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.5868, allocations: 0.9015 MB / 1.205 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.5898, allocations: 291.1 kB / 1.205 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.59, allocations: 55.95 kB / 1.205 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.59, allocations: 4 kB / 1.205 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006261/0.5963, allocations: 1.544 MB / 1.206 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.5964, allocations: 8 kB / 1.206 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.5977, allocations: 371.7 kB / 1.207 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.5992, allocations: 275.5 kB / 1.207 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.6005, allocations: 0.8977 MB / 1.208 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.6031, allocations: 262.8 kB / 1.208 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.6033, allocations: 55.95 kB / 1.208 GB, free: 12.52 MB / 0.9669 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 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001028/0.6043, allocations: 457.9 kB / 1.209 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/0.6048, allocations: 154.2 kB / 1.209 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.6093, allocations: 1.276 MB / 1.21 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.6094, allocations: 12 kB / 1.21 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6094, allocations: 0 / 1.21 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003601/0.613, allocations: 1.088 MB / 1.211 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008425/0.6214, allocations: 3.334 MB / 1.214 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.6215, allocations: 4 kB / 1.214 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6225, allocations: 172 kB / 1.214 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.6239, allocations: 367.7 kB / 1.215 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.985e-05/0.624, allocations: 31.89 kB / 1.215 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.6253, allocations: 0.892 MB / 1.216 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/0.6253, allocations: 11.94 kB / 1.216 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/0.6317, allocations: 1.973 MB / 1.218 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.6328, allocations: 390.9 kB / 1.218 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/0.6333, allocations: 24 kB / 1.218 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/0.6354, allocations: 163.7 kB / 1.218 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.6356, allocations: 68.23 kB / 1.218 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.6358, allocations: 43.95 kB / 1.218 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002173/0.6379, allocations: 0.9862 MB / 1.219 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.3e-07/0.638, allocations: 4 kB / 1.219 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003283/0.6412, allocations: 0.897 MB / 1.22 GB, free: 15.9 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/0.6428, allocations: 0.5483 MB / 1.221 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00711/0.6499, allocations: 2.019 MB / 1.223 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.65, allocations: 4 kB / 1.223 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.652, allocations: 0.5641 MB / 1.223 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005928/0.658, allocations: 0.8158 MB / 1.224 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.6654, allocations: 3.303 MB / 1.227 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.6666, allocations: 1.215 MB / 1.228 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002278/0.6688, allocations: 378.9 kB / 1.229 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.6694, allocations: 131.3 kB / 1.229 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of SimCode: time 1.313e-06/0.6694, allocations: 0 / 1.229 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of Templates: time 0.7197/1.389, allocations: 38.06 MB / 1.266 GB, free: 165.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)