Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.606/2.606, allocations: 287.9 MB / 302.9 MB, free: 8.367 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.00143/0.00143, allocations: 190.9 kB / 371.4 MB, free: 10.67 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.073/2.073, allocations: 205.4 MB / 0.6301 GB, free: 10.32 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.001076/0.001075, allocations: 90.92 kB / 0.7434 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007986/0.000799, allocations: 11 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.195, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.7318/0.9269, allocations: 109.3 MB / 1.086 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03676/0.9637, allocations: 21.14 MB / 1.106 GB, free: 31.36 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005078/0.9688, allocations: 114.8 kB / 1.106 GB, free: 31.35 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005522/0.9744, allocations: 1.459 MB / 1.108 GB, free: 30.97 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.9903, allocations: 4.063 MB / 1.112 GB, free: 29.69 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01271/1.003, allocations: 3.16 MB / 1.115 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01073/1.014, allocations: 5.049 MB / 1.12 GB, free: 27.08 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004527/1.018, allocations: 2.268 MB / 1.122 GB, free: 26.31 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006146/1.024, allocations: 2.416 MB / 1.124 GB, free: 25.34 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003523/1.028, allocations: 1.57 MB / 1.126 GB, free: 24.72 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007709/1.029, allocations: 134.3 kB / 1.126 GB, free: 24.72 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007165/1.036, allocations: 1.744 MB / 1.128 GB, free: 24.33 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001182/1.037, allocations: 0.5696 MB / 1.128 GB, free: 24.07 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/1.039, allocations: 0.7252 MB / 1.129 GB, free: 23.66 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008105/1.047, allocations: 4.571 MB / 1.133 GB, free: 21.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.281e-06/1.047, allocations: 0 / 1.133 GB, free: 21.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.085e-06/1.047, allocations: 1.469 kB / 1.133 GB, free: 21.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001466/1.047, allocations: 0 / 1.133 GB, free: 21.4 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008307/1.055, allocations: 3.345 MB / 1.137 GB, free: 18.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.056, allocations: 13.34 kB / 1.137 GB, free: 18.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/1.068, allocations: 1.456 MB / 1.138 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006694/1.075, allocations: 2.694 MB / 1.141 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003802/1.076, allocations: 254.7 kB / 1.141 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007049/1.076, allocations: 240.5 kB / 1.141 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/1.087, allocations: 3.197 MB / 1.144 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/1.087, allocations: 13.97 kB / 1.144 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004124/1.087, allocations: 103.2 kB / 1.144 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/1.088, allocations: 66.52 kB / 1.144 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/1.1, allocations: 2.882 MB / 1.147 GB, free: 12.35 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.02567/1.126, allocations: 13.73 MB / 1.161 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005862/1.132, allocations: 1.52 MB / 1.162 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00245/1.134, allocations: 1.774 MB / 1.164 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00496/1.139, allocations: 1.212 MB / 1.165 GB, free: 13.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 6.103e-06/1.139, allocations: 0 / 1.165 GB, free: 13.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.06643/1.206, allocations: 11.83 MB / 1.177 GB, free: 4.215 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003637/1.206, allocations: 0.5766 MB / 1.177 GB, free: 3.504 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006453/1.213, allocations: 2.682 MB / 1.18 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004219/1.213, allocations: 65.64 kB / 1.18 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.215, allocations: 1.32 MB / 1.181 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008198/1.216, allocations: 453.6 kB / 1.182 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/1.216, allocations: 32 kB / 1.182 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002484/1.216, allocations: 369.9 kB / 1.182 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005219/1.221, allocations: 0.9993 MB / 1.183 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006671/1.228, allocations: 1.593 MB / 1.185 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005391/1.234, allocations: 1.124 MB / 1.186 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/1.234, allocations: 4 kB / 1.186 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02844/1.262, allocations: 4.233 MB / 1.19 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002964/1.265, allocations: 5.247 MB / 1.195 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.62e-05/1.265, allocations: 12 kB / 1.195 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005515/1.271, allocations: 1.163 MB / 1.196 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/1.274, allocations: 483.1 kB / 1.196 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/1.28, allocations: 2.391 MB / 1.199 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006094/1.286, allocations: 416.1 kB / 1.199 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005077/1.286, allocations: 107.9 kB / 1.199 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.287, allocations: 5.719 kB / 1.199 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02788/1.314, allocations: 3.957 MB / 1.203 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-05/1.314, allocations: 20.19 kB / 1.203 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005341/1.32, allocations: 1.149 MB / 1.204 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/1.323, allocations: 467.2 kB / 1.205 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/1.329, allocations: 2.388 MB / 1.207 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005582/1.334, allocations: 389.4 kB / 1.207 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004965/1.335, allocations: 99.91 kB / 1.208 GB, free: 3.559 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 (164): * Single equations (assignments): 161 * 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 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002098/1.337, allocations: 0.6923 MB / 1.208 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008611/1.338, allocations: 288.6 kB / 1.209 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/1.357, allocations: 3.038 MB / 1.211 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/1.357, allocations: 12 kB / 1.212 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.357, allocations: 4 kB / 1.212 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02628/1.383, allocations: 2.638 MB / 1.214 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05228/1.436, allocations: 7.046 MB / 1.221 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-05/1.436, allocations: 15.95 kB / 1.221 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004178/1.44, allocations: 280.2 kB / 1.221 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009364/1.449, allocations: 1.018 MB / 1.222 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004909/1.45, allocations: 55.88 kB / 1.222 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00856/1.458, allocations: 2.156 MB / 1.224 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.269e-05/1.459, allocations: 16 kB / 1.224 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08185/1.54, allocations: 5.018 MB / 1.229 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/1.543, allocations: 0.6848 MB / 1.23 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/1.544, allocations: 32 kB / 1.23 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004867/1.549, allocations: 299.5 kB / 1.23 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/1.549, allocations: 120.7 kB / 1.23 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002873/1.55, allocations: 75.92 kB / 1.23 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.005282/1.555, allocations: 1.886 MB / 1.232 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.072e-06/1.555, allocations: 0 / 1.232 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007445/1.563, allocations: 1.492 MB / 1.234 GB, free: 7.988 MB / 0.7605 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 (80): * Single equations (assignments): 74 * 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002384/1.565, allocations: 0.8188 MB / 1.235 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01713/1.582, allocations: 3.761 MB / 1.238 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/1.582, allocations: 4.438 kB / 1.238 GB, free: 3.395 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.005268/1.587, allocations: 1.102 MB / 1.239 GB, free: 2.293 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0089/1.596, allocations: 1.491 MB / 1.241 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/1.612, allocations: 5.805 MB / 1.246 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002112/1.614, allocations: 1.77 MB / 1.248 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004968/1.619, allocations: 0.6663 MB / 1.249 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/1.62, allocations: 231.3 kB / 1.249 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of SimCode: time 2.177e-06/1.621, allocations: 0 / 1.249 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of Templates: time 0.1741/1.795, allocations: 72.49 MB / 1.32 GB, free: 204 kB / 0.8386 GB