Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.448/2.448, allocations: 287.9 MB / 302.9 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 171.9 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 93.27 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007866/0.0007869, allocations: 16.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1855, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.6762/0.8617, allocations: 109.3 MB / 1.085 GB, free: 31.52 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03804/0.8998, allocations: 21.21 MB / 1.106 GB, free: 31.13 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005777/0.9056, allocations: 110.4 kB / 1.106 GB, free: 31.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005841/0.9115, allocations: 1.463 MB / 1.108 GB, free: 30.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01631/0.9279, allocations: 4.081 MB / 1.112 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0135/0.9414, allocations: 3.146 MB / 1.115 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01129/0.9527, allocations: 5.079 MB / 1.12 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004873/0.9576, allocations: 2.288 MB / 1.122 GB, free: 26.08 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006702/0.9644, allocations: 2.439 MB / 1.124 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003714/0.9681, allocations: 1.578 MB / 1.126 GB, free: 24.48 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008487/0.969, allocations: 131.7 kB / 1.126 GB, free: 24.48 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007479/0.9765, allocations: 1.75 MB / 1.128 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.9778, allocations: 0.5684 MB / 1.128 GB, free: 23.83 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.9795, allocations: 0.7373 MB / 1.129 GB, free: 23.42 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00807/0.9875, allocations: 4.574 MB / 1.133 GB, free: 21.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.9876, allocations: 1.406 kB / 1.133 GB, free: 21.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.61e-06/0.9876, allocations: 0 / 1.133 GB, free: 21.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001134/0.9877, allocations: 0 / 1.133 GB, free: 21.39 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.008019/0.9958, allocations: 3.367 MB / 1.137 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.9958, allocations: 9.062 kB / 1.137 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/1.008, allocations: 1.369 MB / 1.138 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006307/1.014, allocations: 2.694 MB / 1.141 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/1.014, allocations: 255.4 kB / 1.141 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000651/1.015, allocations: 237.2 kB / 1.141 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/1.025, allocations: 3.166 MB / 1.144 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-05/1.025, allocations: 6.219 kB / 1.144 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004336/1.026, allocations: 107.6 kB / 1.144 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/1.026, allocations: 74.17 kB / 1.144 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/1.038, allocations: 2.812 MB / 1.147 GB, free: 12.42 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.02573/1.064, allocations: 13.69 MB / 1.161 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005383/1.069, allocations: 1.437 MB / 1.162 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002384/1.072, allocations: 1.787 MB / 1.164 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004725/1.077, allocations: 1.154 MB / 1.165 GB, free: 13.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 5.706e-06/1.077, allocations: 1.641 kB / 1.165 GB, free: 13.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.04195/1.119, allocations: 9.715 MB / 1.174 GB, free: 6.535 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003556/1.119, allocations: 0.5805 MB / 1.175 GB, free: 5.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006472/1.126, allocations: 2.69 MB / 1.178 GB, free: 3.113 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004014/1.126, allocations: 61.7 kB / 1.178 GB, free: 3.047 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.128, allocations: 1.349 MB / 1.179 GB, free: 1.684 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007143/1.128, allocations: 459.3 kB / 1.179 GB, free: 1.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/1.129, allocations: 36 kB / 1.179 GB, free: 1.195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002355/1.129, allocations: 369.9 kB / 1.18 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004748/1.134, allocations: 0.9485 MB / 1.181 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005627/1.139, allocations: 1.546 MB / 1.182 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005115/1.144, allocations: 1.084 MB / 1.183 GB, free: 13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/1.145, allocations: 4 kB / 1.183 GB, free: 13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01449/1.159, allocations: 3.093 MB / 1.186 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002802/1.162, allocations: 5.246 MB / 1.191 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.892e-05/1.162, allocations: 12 kB / 1.191 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004412/1.166, allocations: 0.9345 MB / 1.192 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/1.17, allocations: 475.2 kB / 1.193 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/1.174, allocations: 2.188 MB / 1.195 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005933/1.18, allocations: 401.3 kB / 1.195 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004848/1.181, allocations: 107.9 kB / 1.195 GB, free: 88 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.181, allocations: 5.562 kB / 1.195 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01301/1.194, allocations: 2.803 MB / 1.198 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.999e-05/1.194, allocations: 12.12 kB / 1.198 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004217/1.198, allocations: 0.9374 MB / 1.199 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/1.201, allocations: 471.2 kB / 1.2 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/1.206, allocations: 2.198 MB / 1.202 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005446/1.211, allocations: 375.3 kB / 1.202 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004954/1.212, allocations: 95.91 kB / 1.202 GB, free: 9.141 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.002242/1.214, allocations: 0.7009 MB / 1.203 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009306/1.215, allocations: 288.6 kB / 1.203 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/1.226, allocations: 2.372 MB / 1.205 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/1.226, allocations: 12 kB / 1.205 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.226, allocations: 7.938 kB / 1.205 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009617/1.236, allocations: 1.99 MB / 1.207 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02082/1.257, allocations: 6.245 MB / 1.213 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.257, allocations: 11.94 kB / 1.213 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/1.259, allocations: 283.8 kB / 1.214 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003746/1.263, allocations: 0.7962 MB / 1.215 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/1.263, allocations: 47.94 kB / 1.215 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003713/1.267, allocations: 1.957 MB / 1.216 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-05/1.267, allocations: 11.94 kB / 1.216 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/1.284, allocations: 4.35 MB / 1.221 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/1.286, allocations: 0.6652 MB / 1.221 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009503/1.287, allocations: 39.98 kB / 1.221 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00462/1.292, allocations: 287.5 kB / 1.222 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003643/1.292, allocations: 120.6 kB / 1.222 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002812/1.293, allocations: 75.91 kB / 1.222 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004763/1.297, allocations: 1.887 MB / 1.224 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.47e-07/1.297, allocations: 4 kB / 1.224 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007342/1.305, allocations: 1.503 MB / 1.225 GB, free: 0.793 MB / 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.002304/1.307, allocations: 0.8069 MB / 1.226 GB, free: 0 / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01586/1.323, allocations: 3.659 MB / 1.23 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-05/1.323, allocations: 5.766 kB / 1.23 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004867/1.328, allocations: 1.062 MB / 1.231 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00898/1.337, allocations: 1.494 MB / 1.232 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/1.354, allocations: 6 MB / 1.238 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/1.356, allocations: 1.775 MB / 1.24 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005085/1.361, allocations: 0.6611 MB / 1.24 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009973/1.362, allocations: 235.2 kB / 1.241 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of SimCode: time 1.726e-06/1.362, allocations: 4 kB / 1.241 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of Templates: time 0.1653/1.528, allocations: 70.59 MB / 1.309 GB, free: 10.89 MB / 0.8386 GB