Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.513/2.513, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 182.3 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.548/2.548, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 103 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004929, allocations: 11.84 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2279, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1694/0.3973, allocations: 109.3 MB / 1.006 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.06191/0.4593, allocations: 21.51 MB / 1.027 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0059/0.4653, allocations: 111.2 kB / 1.027 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00938/0.4747, allocations: 1.461 MB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02117/0.4959, allocations: 4.075 MB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01472/0.5107, allocations: 3.099 MB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01377/0.5245, allocations: 5.068 MB / 1.04 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006048/0.5306, allocations: 2.266 MB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008431/0.5391, allocations: 2.425 MB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004602/0.5437, allocations: 1.579 MB / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.545, allocations: 128 kB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008898/0.554, allocations: 1.861 MB / 1.048 GB, free: 8.223 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.5557, allocations: 0.5641 MB / 1.049 GB, free: 7.656 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.5579, allocations: 0.7266 MB / 1.049 GB, free: 6.922 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.5691, allocations: 4.614 MB / 1.054 GB, free: 2.297 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5692, allocations: 0 / 1.054 GB, free: 2.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.667e-06/0.5692, allocations: 0 / 1.054 GB, free: 2.297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001777/0.5694, allocations: 0 / 1.054 GB, free: 2.297 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.6186/1.188, allocations: 3.405 MB / 1.057 GB, free: 148.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.188, allocations: 8.656 kB / 1.057 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01907/1.207, allocations: 1.371 MB / 1.059 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008476/1.216, allocations: 2.672 MB / 1.061 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/1.216, allocations: 251 kB / 1.061 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008697/1.217, allocations: 243.4 kB / 1.062 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/1.232, allocations: 3.138 MB / 1.065 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/1.232, allocations: 6.875 kB / 1.065 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008385/1.233, allocations: 104 kB / 1.065 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/1.233, allocations: 71.41 kB / 1.065 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/1.252, allocations: 2.808 MB / 1.068 GB, free: 147.2 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.03502/1.287, allocations: 13.66 MB / 1.081 GB, free: 137.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007927/1.295, allocations: 1.441 MB / 1.082 GB, free: 137.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002364/1.298, allocations: 1.787 MB / 1.084 GB, free: 135.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006541/1.304, allocations: 1.126 MB / 1.085 GB, free: 134.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 7.494e-06/1.304, allocations: 2.938 kB / 1.085 GB, free: 134.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.06124/1.365, allocations: 9.718 MB / 1.095 GB, free: 128.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00022/1.366, allocations: 0.5803 MB / 1.095 GB, free: 127.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00714/1.373, allocations: 2.693 MB / 1.098 GB, free: 126.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005286/1.374, allocations: 65.16 kB / 1.098 GB, free: 126.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001663/1.375, allocations: 1.339 MB / 1.099 GB, free: 124.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008011/1.376, allocations: 455.4 kB / 1.1 GB, free: 124.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/1.376, allocations: 36.62 kB / 1.1 GB, free: 124.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.376, allocations: 373.7 kB / 1.1 GB, free: 124.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0069/1.383, allocations: 0.9492 MB / 1.101 GB, free: 123.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007491/1.391, allocations: 1.537 MB / 1.103 GB, free: 122.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007173/1.398, allocations: 1.087 MB / 1.104 GB, free: 121.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.398, allocations: 3.312 kB / 1.104 GB, free: 121.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01935/1.418, allocations: 3.092 MB / 1.107 GB, free: 119.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001127/1.419, allocations: 5.245 MB / 1.112 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/1.419, allocations: 15.75 kB / 1.112 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004793/1.424, allocations: 0.8945 MB / 1.113 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005117/1.429, allocations: 483.3 kB / 1.113 GB, free: 112.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004586/1.433, allocations: 2.191 MB / 1.115 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008975/1.442, allocations: 403.5 kB / 1.116 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005773/1.443, allocations: 103.9 kB / 1.116 GB, free: 109.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.443, allocations: 4 kB / 1.116 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01814/1.461, allocations: 2.809 MB / 1.119 GB, free: 106.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/1.461, allocations: 17 kB / 1.119 GB, free: 106.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00465/1.466, allocations: 0.8852 MB / 1.119 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005034/1.471, allocations: 475.2 kB / 1.12 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/1.476, allocations: 2.189 MB / 1.122 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00819/1.484, allocations: 371.6 kB / 1.122 GB, free: 102.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006403/1.485, allocations: 111.9 kB / 1.122 GB, free: 102.5 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 (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.00254/1.487, allocations: 0.6958 MB / 1.123 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.488, allocations: 280.6 kB / 1.123 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01573/1.504, allocations: 2.372 MB / 1.126 GB, free: 99.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-05/1.504, allocations: 19.98 kB / 1.126 GB, free: 99.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.504, allocations: 4 kB / 1.126 GB, free: 99.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01396/1.518, allocations: 1.987 MB / 1.128 GB, free: 97.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02599/1.544, allocations: 6.217 MB / 1.134 GB, free: 90.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-05/1.544, allocations: 8 kB / 1.134 GB, free: 90.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003576/1.548, allocations: 287.8 kB / 1.134 GB, free: 90.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004253/1.552, allocations: 0.7471 MB / 1.135 GB, free: 89.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003414/1.553, allocations: 59.89 kB / 1.135 GB, free: 89.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003837/1.557, allocations: 1.947 MB / 1.137 GB, free: 87.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/1.557, allocations: 11.94 kB / 1.137 GB, free: 87.56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02331/1.58, allocations: 4.318 MB / 1.141 GB, free: 82.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00275/1.583, allocations: 0.6652 MB / 1.142 GB, free: 82.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/1.584, allocations: 35.95 kB / 1.142 GB, free: 82.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006981/1.591, allocations: 286.3 kB / 1.142 GB, free: 81.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/1.592, allocations: 116.7 kB / 1.142 GB, free: 81.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002921/1.592, allocations: 71.92 kB / 1.142 GB, free: 81.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005406/1.597, allocations: 1.894 MB / 1.144 GB, free: 79.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.42e-07/1.597, allocations: 8 kB / 1.144 GB, free: 79.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008389/1.606, allocations: 1.545 MB / 1.145 GB, free: 78.28 MB / 0.698 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.002955/1.609, allocations: 0.8889 MB / 1.146 GB, free: 77.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02392/1.633, allocations: 3.649 MB / 1.15 GB, free: 73.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-05/1.633, allocations: 4 kB / 1.15 GB, free: 73.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00985/1.643, allocations: 1.059 MB / 1.151 GB, free: 72.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03008/1.673, allocations: 1.497 MB / 1.152 GB, free: 71.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04591/1.719, allocations: 6.012 MB / 1.158 GB, free: 65.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003508/1.722, allocations: 1.771 MB / 1.16 GB, free: 63.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00969/1.732, allocations: 0.6573 MB / 1.161 GB, free: 62.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.734, allocations: 235.3 kB / 1.161 GB, free: 62.54 MB / 0.698 GB Notification: Performance of SimCode: time 2.225e-06/1.734, allocations: 0 / 1.161 GB, free: 62.54 MB / 0.698 GB Notification: Performance of Templates: time 0.1748/1.909, allocations: 70.41 MB / 1.23 GB, free: 8.625 MB / 0.7136 GB