Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.306/2.306, 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.001564/0.001564, allocations: 183 kB / 325.6 MB, free: 2.793 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.703/2.703, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001163/0.001163, allocations: 94.12 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004627, allocations: 12.81 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1942/0.4031, allocations: 109.4 MB / 1.006 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.05035/0.4535, allocations: 21.46 MB / 1.027 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005264/0.4588, allocations: 107.2 kB / 1.027 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007517/0.4664, allocations: 1.457 MB / 1.028 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01946/0.4859, allocations: 4.069 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01545/0.5013, allocations: 3.101 MB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01366/0.515, allocations: 5.036 MB / 1.04 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005919/0.521, allocations: 2.247 MB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008542/0.5296, allocations: 2.402 MB / 1.045 GB, free: 11.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004452/0.5341, allocations: 1.563 MB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.5353, allocations: 128 kB / 1.046 GB, free: 10.17 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008498/0.5438, allocations: 1.857 MB / 1.048 GB, free: 8.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.5455, allocations: 0.5641 MB / 1.049 GB, free: 7.742 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.5476, allocations: 0.7266 MB / 1.049 GB, free: 7.008 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.5583, allocations: 4.598 MB / 1.054 GB, free: 2.398 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.5583, allocations: 0 / 1.054 GB, free: 2.398 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.955e-06/0.5583, allocations: 0 / 1.054 GB, free: 2.398 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001766/0.5585, allocations: 0 / 1.054 GB, free: 2.398 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.6049/1.163, allocations: 3.378 MB / 1.057 GB, free: 148.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.164, allocations: 9.031 kB / 1.057 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02098/1.185, allocations: 1.458 MB / 1.059 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008087/1.193, allocations: 2.679 MB / 1.061 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/1.193, allocations: 250.2 kB / 1.061 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007882/1.194, allocations: 239.2 kB / 1.062 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/1.208, allocations: 3.173 MB / 1.065 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/1.208, allocations: 7.094 kB / 1.065 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005277/1.209, allocations: 101.5 kB / 1.065 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/1.209, allocations: 75.08 kB / 1.065 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/1.228, allocations: 2.879 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.03366/1.262, allocations: 13.7 MB / 1.081 GB, free: 137.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008487/1.27, allocations: 1.508 MB / 1.083 GB, free: 137.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002451/1.273, allocations: 1.792 MB / 1.084 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00708/1.28, allocations: 1.184 MB / 1.085 GB, free: 134.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 5.631e-06/1.28, allocations: 0 / 1.085 GB, free: 134.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.1011/1.381, allocations: 11.81 MB / 1.097 GB, free: 127.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/1.381, allocations: 0.5802 MB / 1.098 GB, free: 126.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006792/1.388, allocations: 2.685 MB / 1.1 GB, free: 125.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004644/1.389, allocations: 61.81 kB / 1.1 GB, free: 125 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/1.39, allocations: 1.319 MB / 1.102 GB, free: 123.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006649/1.391, allocations: 455.6 kB / 1.102 GB, free: 123.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/1.391, allocations: 39.66 kB / 1.102 GB, free: 123.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.391, allocations: 377.6 kB / 1.102 GB, free: 123.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007201/1.398, allocations: 0.9869 MB / 1.103 GB, free: 122.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007927/1.406, allocations: 1.59 MB / 1.105 GB, free: 121 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007476/1.414, allocations: 1.136 MB / 1.106 GB, free: 119.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.414, allocations: 4 kB / 1.106 GB, free: 119.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.04348/1.457, allocations: 4.244 MB / 1.11 GB, free: 115.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001039/1.458, allocations: 5.242 MB / 1.115 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/1.459, allocations: 12 kB / 1.115 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006186/1.465, allocations: 1.123 MB / 1.116 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004918/1.47, allocations: 463.2 kB / 1.117 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/1.476, allocations: 2.394 MB / 1.119 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008893/1.485, allocations: 415.3 kB / 1.12 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004246/1.485, allocations: 103.9 kB / 1.12 GB, free: 105.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.485, allocations: 4 kB / 1.12 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04207/1.527, allocations: 3.958 MB / 1.124 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/1.527, allocations: 12 kB / 1.124 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006334/1.534, allocations: 1.125 MB / 1.125 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004892/1.539, allocations: 471.2 kB / 1.125 GB, free: 99.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006215/1.545, allocations: 2.385 MB / 1.127 GB, free: 97.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008122/1.553, allocations: 380 kB / 1.128 GB, free: 97.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005455/1.554, allocations: 103.9 kB / 1.128 GB, free: 96.93 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 (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.002022/1.556, allocations: 0.7038 MB / 1.129 GB, free: 96.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009888/1.557, allocations: 280.6 kB / 1.129 GB, free: 95.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02961/1.586, allocations: 3.037 MB / 1.132 GB, free: 92.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.204e-05/1.587, allocations: 16 kB / 1.132 GB, free: 92.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/1.587, allocations: 4 kB / 1.132 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02782/1.614, allocations: 2.639 MB / 1.134 GB, free: 90.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03748/1.652, allocations: 6.998 MB / 1.141 GB, free: 83.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-05/1.652, allocations: 8 kB / 1.141 GB, free: 83.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003402/1.655, allocations: 283.5 kB / 1.142 GB, free: 82.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005692/1.661, allocations: 0.9786 MB / 1.142 GB, free: 81.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003415/1.662, allocations: 55.94 kB / 1.143 GB, free: 81.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005597/1.667, allocations: 2.153 MB / 1.145 GB, free: 79.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/1.667, allocations: 8 kB / 1.145 GB, free: 79.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0365/1.704, allocations: 5.002 MB / 1.15 GB, free: 74.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002371/1.706, allocations: 0.6691 MB / 1.15 GB, free: 73.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.707, allocations: 32 kB / 1.15 GB, free: 73.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007076/1.714, allocations: 301.1 kB / 1.15 GB, free: 73.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004169/1.715, allocations: 112.7 kB / 1.151 GB, free: 72.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.715, allocations: 75.92 kB / 1.151 GB, free: 72.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00524/1.721, allocations: 1.886 MB / 1.153 GB, free: 71 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.11e-07/1.721, allocations: 0 / 1.153 GB, free: 71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008005/1.729, allocations: 1.542 MB / 1.154 GB, free: 69.54 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 (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.002969/1.732, allocations: 0.8742 MB / 1.155 GB, free: 68.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02326/1.755, allocations: 3.769 MB / 1.159 GB, free: 65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/1.755, allocations: 0 / 1.159 GB, free: 65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007137/1.762, allocations: 1.103 MB / 1.16 GB, free: 63.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01214/1.774, allocations: 1.481 MB / 1.161 GB, free: 62.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/1.793, allocations: 5.817 MB / 1.167 GB, free: 56.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/1.794, allocations: 1.762 MB / 1.168 GB, free: 54.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005318/1.8, allocations: 0.653 MB / 1.169 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/1.801, allocations: 235.3 kB / 1.169 GB, free: 53.84 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/1.801, allocations: 4 kB / 1.169 GB, free: 53.83 MB / 0.698 GB Notification: Performance of Templates: time 0.1687/1.97, allocations: 72.29 MB / 1.24 GB, free: 14.02 MB / 0.7292 GB