Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.398/1.398, allocations: 252 MB / 268 MB, free: 10.86 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.001079/0.001079, allocations: 188.6 kB / 327.6 MB, free: 2.094 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.639/1.639, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.000758/0.0007579, allocations: 94.72 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 9.781 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1812, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1124/0.2936, allocations: 127.9 MB / 1.026 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03548/0.3291, allocations: 25.09 MB / 1.051 GB, free: 6.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005125/0.3343, allocations: 123.1 kB / 1.051 GB, free: 5.969 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005209/0.3396, allocations: 1.418 MB / 1.052 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01495/0.3545, allocations: 4.173 MB / 1.056 GB, free: 368 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4398/0.7944, allocations: 3.151 MB / 1.059 GB, free: 40.36 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01614/0.8105, allocations: 11.34 MB / 1.071 GB, free: 40.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005863/0.8164, allocations: 2.505 MB / 1.073 GB, free: 40.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00813/0.8246, allocations: 2.814 MB / 1.076 GB, free: 40.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005463/0.8301, allocations: 2.31 MB / 1.078 GB, free: 39.94 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.8313, allocations: 129.9 kB / 1.078 GB, free: 39.94 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008454/0.8398, allocations: 2.576 MB / 1.081 GB, free: 39.94 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.8415, allocations: 0.6165 MB / 1.081 GB, free: 39.81 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00496/0.8465, allocations: 1.708 MB / 1.083 GB, free: 39.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008363/0.8549, allocations: 4.889 MB / 1.088 GB, free: 39.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.8549, allocations: 0 / 1.088 GB, free: 39.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8549, allocations: 0 / 1.088 GB, free: 39.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002488/0.8552, allocations: 0 / 1.088 GB, free: 39.08 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.008773/0.864, allocations: 3.412 MB / 1.091 GB, free: 37.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.864, allocations: 10 kB / 1.091 GB, free: 37.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.874, allocations: 1.37 MB / 1.092 GB, free: 37.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006908/0.881, allocations: 2.899 MB / 1.095 GB, free: 36.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004195/0.8815, allocations: 258.6 kB / 1.095 GB, free: 36.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009868/0.8825, allocations: 235.7 kB / 1.096 GB, free: 36.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.8928, allocations: 3.177 MB / 1.099 GB, free: 35.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/0.8931, allocations: 9.969 kB / 1.099 GB, free: 35.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007448/0.8938, allocations: 104.2 kB / 1.099 GB, free: 35.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.894, allocations: 69.86 kB / 1.099 GB, free: 35.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.9049, allocations: 2.829 MB / 1.102 GB, free: 35.77 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.02273/0.9277, allocations: 13.59 MB / 1.115 GB, free: 27.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004272/0.932, allocations: 1.434 MB / 1.116 GB, free: 27.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/0.9349, allocations: 0.892 MB / 1.117 GB, free: 27.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/0.9365, allocations: 1.796 MB / 1.119 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003338/0.9399, allocations: 1.131 MB / 1.12 GB, free: 24.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 5.951e-06/0.9399, allocations: 3.469 kB / 1.12 GB, free: 24.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.03324/0.9731, allocations: 9.82 MB / 1.13 GB, free: 19.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.9734, allocations: 0.5735 MB / 1.13 GB, free: 19.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004639/0.978, allocations: 2.612 MB / 1.133 GB, free: 18.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004918/0.9785, allocations: 59.77 kB / 1.133 GB, free: 18.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.9796, allocations: 1.346 MB / 1.134 GB, free: 17.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005135/0.9801, allocations: 468.7 kB / 1.135 GB, free: 17.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.9803, allocations: 32.53 kB / 1.135 GB, free: 17.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.9804, allocations: 371.5 kB / 1.135 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00335/0.9837, allocations: 0.9629 MB / 1.136 GB, free: 17.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003747/0.9875, allocations: 1.562 MB / 1.137 GB, free: 16.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006416/0.994, allocations: 2.239 MB / 1.14 GB, free: 14.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.994, allocations: 4 kB / 1.14 GB, free: 14.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01292/1.007, allocations: 3.386 MB / 1.143 GB, free: 11.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003141/1.007, allocations: 0.4898 MB / 1.143 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/1.007, allocations: 12 kB / 1.143 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002755/1.01, allocations: 0.8862 MB / 1.144 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/1.013, allocations: 485.8 kB / 1.145 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/1.016, allocations: 2.194 MB / 1.147 GB, free: 8.262 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005411/1.021, allocations: 400.2 kB / 1.147 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003716/1.022, allocations: 106.1 kB / 1.147 GB, free: 7.812 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.022, allocations: 4 kB / 1.147 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01132/1.033, allocations: 3.095 MB / 1.15 GB, free: 5.574 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/1.033, allocations: 12 kB / 1.15 GB, free: 5.562 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/1.036, allocations: 0.8848 MB / 1.151 GB, free: 4.828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/1.038, allocations: 476.3 kB / 1.152 GB, free: 4.398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/1.041, allocations: 2.207 MB / 1.154 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004575/1.045, allocations: 367.3 kB / 1.154 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003319/1.046, allocations: 103.9 kB / 1.154 GB, free: 1.996 MB / 0.698 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 (170): * Single equations (assignments): 167 * 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 {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.00163/1.047, allocations: 0.7016 MB / 1.155 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006601/1.048, allocations: 284.5 kB / 1.155 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007235/1.055, allocations: 2.32 MB / 1.158 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/1.055, allocations: 16.25 kB / 1.158 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/1.055, allocations: 0 / 1.158 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006104/1.061, allocations: 1.93 MB / 1.159 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/1.076, allocations: 6.243 MB / 1.166 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/1.076, allocations: 8 kB / 1.166 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/1.078, allocations: 296.9 kB / 1.166 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/1.081, allocations: 0.7534 MB / 1.167 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/1.081, allocations: 51.94 kB / 1.167 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/1.083, allocations: 1.967 MB / 1.169 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/1.083, allocations: 11.38 kB / 1.169 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/1.095, allocations: 3.554 MB / 1.172 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/1.097, allocations: 0.6378 MB / 1.173 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005481/1.097, allocations: 36 kB / 1.173 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003254/1.101, allocations: 279.6 kB / 1.173 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/1.101, allocations: 119.9 kB / 1.173 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.101, allocations: 67.92 kB / 1.173 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003317/1.104, allocations: 1.843 MB / 1.175 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.104, allocations: 0 / 1.175 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005378/1.11, allocations: 1.519 MB / 1.176 GB, free: 11.18 MB / 0.7292 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 (86): * Single equations (assignments): 80 * 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), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002043/1.112, allocations: 0.8902 MB / 1.177 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.124, allocations: 3.692 MB / 1.181 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-05/1.124, allocations: 0 / 1.181 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003515/1.128, allocations: 1.011 MB / 1.182 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0109/1.139, allocations: 1.593 MB / 1.183 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.153, allocations: 6.348 MB / 1.19 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/1.154, allocations: 1.714 MB / 1.191 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.156, allocations: 291 kB / 1.192 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of SimCode: time 8.02e-07/1.156, allocations: 0 / 1.192 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.1082/1.264, allocations: 82.25 MB / 1.272 GB, free: 9.973 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)