Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.569/2.569, 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.001433/0.001432, allocations: 182.7 kB / 371.4 MB, free: 10.66 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.08/2.08, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001027/0.001027, allocations: 96.36 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004663, allocations: 15.91 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1526, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.6787/0.8314, allocations: 109.4 MB / 1.086 GB, free: 31.89 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0362/0.8676, allocations: 21.15 MB / 1.106 GB, free: 31.53 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005499/0.8732, allocations: 107.4 kB / 1.106 GB, free: 31.53 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005738/0.8789, allocations: 1.459 MB / 1.108 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01595/0.8949, allocations: 4.081 MB / 1.112 GB, free: 29.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01282/0.9078, allocations: 3.153 MB / 1.115 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.9188, allocations: 5.069 MB / 1.12 GB, free: 27.25 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004752/0.9235, allocations: 2.268 MB / 1.122 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006565/0.9302, allocations: 2.433 MB / 1.124 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003603/0.9338, allocations: 1.578 MB / 1.126 GB, free: 24.88 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009046/0.9347, allocations: 131.2 kB / 1.126 GB, free: 24.88 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007253/0.942, allocations: 1.749 MB / 1.128 GB, free: 24.48 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.9433, allocations: 0.5686 MB / 1.128 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.9449, allocations: 0.733 MB / 1.129 GB, free: 23.82 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008168/0.9531, allocations: 4.577 MB / 1.133 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.332e-06/0.9532, allocations: 0 / 1.133 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.782e-06/0.9532, allocations: 0 / 1.133 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001327/0.9533, allocations: 3.938 kB / 1.133 GB, free: 21.35 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.00813/0.9615, allocations: 3.359 MB / 1.137 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9615, allocations: 8.812 kB / 1.137 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.9743, allocations: 1.454 MB / 1.138 GB, free: 18.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006642/0.981, allocations: 2.711 MB / 1.141 GB, free: 16.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003717/0.9814, allocations: 254.9 kB / 1.141 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007226/0.9821, allocations: 235.4 kB / 1.141 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.9929, allocations: 3.205 MB / 1.144 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.78e-05/0.993, allocations: 6.156 kB / 1.144 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004227/0.9934, allocations: 99.19 kB / 1.145 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.9935, allocations: 70.53 kB / 1.145 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/1.006, allocations: 2.885 MB / 1.147 GB, free: 12.3 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.02641/1.033, allocations: 13.54 MB / 1.161 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005445/1.038, allocations: 1.524 MB / 1.162 GB, free: 12 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002393/1.041, allocations: 1.774 MB / 1.164 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005031/1.046, allocations: 1.243 MB / 1.165 GB, free: 13.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 5.867e-06/1.046, allocations: 0 / 1.165 GB, free: 13.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.04613/1.092, allocations: 5.986 MB / 1.171 GB, free: 10.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003542/1.092, allocations: 0.5766 MB / 1.171 GB, free: 9.438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006163/1.098, allocations: 2.582 MB / 1.174 GB, free: 6.836 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004307/1.099, allocations: 61.7 kB / 1.174 GB, free: 6.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/1.101, allocations: 1.357 MB / 1.175 GB, free: 5.398 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007965/1.102, allocations: 453.5 kB / 1.176 GB, free: 4.949 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/1.102, allocations: 36 kB / 1.176 GB, free: 4.914 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002513/1.102, allocations: 369.9 kB / 1.176 GB, free: 4.547 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005221/1.107, allocations: 1.019 MB / 1.177 GB, free: 3.527 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006107/1.114, allocations: 1.614 MB / 1.179 GB, free: 1.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005539/1.119, allocations: 1.148 MB / 1.18 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/1.119, allocations: 0 / 1.18 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02705/1.146, allocations: 4.147 MB / 1.184 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002738/1.149, allocations: 5.021 MB / 1.189 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-05/1.149, allocations: 12 kB / 1.189 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004789/1.154, allocations: 0.9536 MB / 1.19 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/1.158, allocations: 0.5147 MB / 1.19 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004665/1.162, allocations: 1.991 MB / 1.192 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006305/1.169, allocations: 0.5363 MB / 1.193 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005125/1.169, allocations: 103.9 kB / 1.193 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.169, allocations: 8 kB / 1.193 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02572/1.195, allocations: 3.864 MB / 1.197 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/1.195, allocations: 12.12 kB / 1.197 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00458/1.2, allocations: 0.9549 MB / 1.198 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/1.203, allocations: 0.507 MB / 1.198 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/1.208, allocations: 1.993 MB / 1.2 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005706/1.214, allocations: 485.6 kB / 1.2 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005227/1.214, allocations: 107.9 kB / 1.201 GB, free: 10.77 MB / 0.7292 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.002194/1.216, allocations: 0.6958 MB / 1.201 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009509/1.217, allocations: 272.8 kB / 1.202 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.232, allocations: 2.577 MB / 1.204 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.424e-05/1.232, allocations: 16 kB / 1.204 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/1.232, allocations: 4 kB / 1.204 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01309/1.245, allocations: 2.181 MB / 1.206 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03485/1.28, allocations: 7.607 MB / 1.214 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.634e-05/1.28, allocations: 8 kB / 1.214 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/1.283, allocations: 292.2 kB / 1.214 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004547/1.287, allocations: 0.9441 MB / 1.215 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003017/1.288, allocations: 51.94 kB / 1.215 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004536/1.292, allocations: 1.98 MB / 1.217 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/1.292, allocations: 8 kB / 1.217 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/1.309, allocations: 4.46 MB / 1.221 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/1.311, allocations: 0.6847 MB / 1.222 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009643/1.312, allocations: 43.94 kB / 1.222 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004744/1.317, allocations: 303.4 kB / 1.222 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/1.318, allocations: 124.7 kB / 1.222 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002914/1.318, allocations: 72.02 kB / 1.222 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004797/1.323, allocations: 1.813 MB / 1.224 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.056e-06/1.323, allocations: 0 / 1.224 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008944/1.332, allocations: 1.696 MB / 1.226 GB, free: 208 kB / 0.7448 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.003799/1.336, allocations: 0.8326 MB / 1.227 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02049/1.356, allocations: 3.759 MB / 1.23 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/1.356, allocations: 4.438 kB / 1.23 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.005276/1.361, allocations: 1.099 MB / 1.231 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008587/1.37, allocations: 1.392 MB / 1.233 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.386, allocations: 5.957 MB / 1.239 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/1.388, allocations: 1.777 MB / 1.24 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004996/1.393, allocations: 0.6892 MB / 1.241 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009647/1.394, allocations: 231.3 kB / 1.241 GB, free: 324 kB / 0.7605 GB Notification: Performance of SimCode: time 1.709e-06/1.394, allocations: 0 / 1.241 GB, free: 324 kB / 0.7605 GB Notification: Performance of Templates: time 0.1637/1.558, allocations: 68.65 MB / 1.308 GB, free: 12.12 MB / 0.8386 GB