Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.647/2.647, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.002264/0.002263, allocations: 180.5 kB / 325.6 MB, free: 2.832 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.458/2.458, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001128/0.001128, allocations: 94.36 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004761, allocations: 12.78 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2027, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1573/0.36, allocations: 109.4 MB / 1.006 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0473/0.4074, allocations: 21.46 MB / 1.027 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00498/0.4124, allocations: 107.2 kB / 1.027 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00735/0.4198, allocations: 1.465 MB / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01844/0.4383, allocations: 4.081 MB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0144/0.4527, allocations: 3.099 MB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01331/0.4661, allocations: 5.054 MB / 1.04 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005704/0.4718, allocations: 2.258 MB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007989/0.4799, allocations: 2.417 MB / 1.045 GB, free: 11.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00424/0.4842, allocations: 1.567 MB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.4853, allocations: 132 kB / 1.046 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008393/0.4937, allocations: 1.861 MB / 1.048 GB, free: 8.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001601/0.4954, allocations: 0.5563 MB / 1.049 GB, free: 7.711 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.4973, allocations: 0.7343 MB / 1.049 GB, free: 6.969 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.5081, allocations: 4.61 MB / 1.054 GB, free: 2.348 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5081, allocations: 0 / 1.054 GB, free: 2.348 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.396e-06/0.5082, allocations: 0 / 1.054 GB, free: 2.348 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002064/0.5084, allocations: 0 / 1.054 GB, free: 2.348 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.6609/1.169, allocations: 3.393 MB / 1.057 GB, free: 148.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.169, allocations: 6.531 kB / 1.057 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0213/1.191, allocations: 1.453 MB / 1.059 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008362/1.199, allocations: 2.692 MB / 1.061 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004088/1.2, allocations: 257.8 kB / 1.062 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008644/1.2, allocations: 237.9 kB / 1.062 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/1.215, allocations: 3.173 MB / 1.065 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/1.215, allocations: 7.625 kB / 1.065 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005546/1.216, allocations: 102.5 kB / 1.065 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/1.216, allocations: 72.62 kB / 1.065 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01975/1.236, allocations: 2.882 MB / 1.068 GB, free: 147.3 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.03487/1.271, allocations: 13.5 MB / 1.081 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008593/1.279, allocations: 1.52 MB / 1.083 GB, free: 137.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002425/1.282, allocations: 1.789 MB / 1.084 GB, free: 135.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007527/1.289, allocations: 1.213 MB / 1.085 GB, free: 134.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 7.023e-06/1.289, allocations: 1.531 kB / 1.085 GB, free: 134.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.0796/1.369, allocations: 5.979 MB / 1.091 GB, free: 131.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/1.369, allocations: 0.5871 MB / 1.092 GB, free: 130.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007426/1.377, allocations: 2.58 MB / 1.094 GB, free: 129.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005304/1.377, allocations: 61.86 kB / 1.094 GB, free: 129.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001564/1.379, allocations: 1.343 MB / 1.096 GB, free: 128.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008334/1.38, allocations: 453.2 kB / 1.096 GB, free: 127.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/1.38, allocations: 35.75 kB / 1.096 GB, free: 127.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.38, allocations: 381.7 kB / 1.097 GB, free: 127.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00738/1.388, allocations: 1.019 MB / 1.098 GB, free: 126.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008129/1.396, allocations: 1.606 MB / 1.099 GB, free: 125.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007711/1.404, allocations: 1.158 MB / 1.1 GB, free: 125.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/1.404, allocations: 0 / 1.1 GB, free: 125.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.04258/1.446, allocations: 4.141 MB / 1.104 GB, free: 121.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/1.447, allocations: 5.027 MB / 1.109 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/1.447, allocations: 15.84 kB / 1.109 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005551/1.453, allocations: 0.913 MB / 1.11 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005479/1.459, allocations: 0.5078 MB / 1.111 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/1.464, allocations: 1.992 MB / 1.113 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009472/1.473, allocations: 0.5411 MB / 1.113 GB, free: 112.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006777/1.474, allocations: 103.9 kB / 1.113 GB, free: 112.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.474, allocations: 6.188 kB / 1.113 GB, free: 112.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04094/1.515, allocations: 3.861 MB / 1.117 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/1.515, allocations: 12 kB / 1.117 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00537/1.521, allocations: 0.9335 MB / 1.118 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005384/1.526, allocations: 0.5031 MB / 1.118 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005181/1.531, allocations: 1.987 MB / 1.12 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008361/1.54, allocations: 475.7 kB / 1.121 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005719/1.54, allocations: 108 kB / 1.121 GB, free: 104.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002079/1.542, allocations: 0.6975 MB / 1.122 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009962/1.543, allocations: 276.7 kB / 1.122 GB, free: 103.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02124/1.565, allocations: 2.566 MB / 1.124 GB, free: 100.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/1.565, allocations: 20.12 kB / 1.124 GB, free: 100.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.565, allocations: 7.938 kB / 1.124 GB, free: 100.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01945/1.584, allocations: 2.181 MB / 1.127 GB, free: 98.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04935/1.634, allocations: 7.574 MB / 1.134 GB, free: 90.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.381e-05/1.634, allocations: 12.03 kB / 1.134 GB, free: 90.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0036/1.637, allocations: 295.5 kB / 1.134 GB, free: 90.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005341/1.643, allocations: 0.9023 MB / 1.135 GB, free: 89.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003604/1.643, allocations: 51.95 kB / 1.135 GB, free: 89.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00515/1.648, allocations: 1.98 MB / 1.137 GB, free: 87.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.648, allocations: 11.94 kB / 1.137 GB, free: 87.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02211/1.67, allocations: 4.454 MB / 1.141 GB, free: 82.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/1.673, allocations: 0.6729 MB / 1.142 GB, free: 81.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/1.674, allocations: 39.98 kB / 1.142 GB, free: 81.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007093/1.681, allocations: 304 kB / 1.142 GB, free: 81.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004295/1.682, allocations: 116.7 kB / 1.143 GB, free: 81.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002924/1.682, allocations: 71.92 kB / 1.143 GB, free: 81.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004972/1.687, allocations: 1.817 MB / 1.144 GB, free: 79.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.91e-07/1.687, allocations: 0 / 1.144 GB, free: 79.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007744/1.695, allocations: 1.741 MB / 1.146 GB, free: 77.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (88): * Single equations (assignments): 82 * 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,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00276/1.697, allocations: 0.8814 MB / 1.147 GB, free: 77.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02302/1.721, allocations: 3.767 MB / 1.151 GB, free: 73.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/1.721, allocations: 4 kB / 1.151 GB, free: 73.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007125/1.728, allocations: 1.099 MB / 1.152 GB, free: 72.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01135/1.739, allocations: 1.39 MB / 1.153 GB, free: 70.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.758, allocations: 5.951 MB / 1.159 GB, free: 64.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/1.759, allocations: 1.773 MB / 1.161 GB, free: 62.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005655/1.765, allocations: 0.6874 MB / 1.161 GB, free: 62.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.766, allocations: 231.2 kB / 1.161 GB, free: 62 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/1.766, allocations: 4 kB / 1.161 GB, free: 62 MB / 0.698 GB Notification: Performance of Templates: time 0.1586/1.925, allocations: 68.44 MB / 1.228 GB, free: 10 MB / 0.7136 GB