Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.542/2.542, allocations: 287.9 MB / 302.9 MB, free: 8.332 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.00141/0.00141, allocations: 185.1 kB / 371.4 MB, free: 10.69 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.023/2.023, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001056/0.001056, allocations: 96.41 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.000462, allocations: 14.98 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1532, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.6638/0.817, allocations: 105.5 MB / 1.082 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02215/0.8392, allocations: 12.92 MB / 1.094 GB, free: 31.25 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.8423, allocations: 60.28 kB / 1.094 GB, free: 31.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.8458, allocations: 0.8262 MB / 1.095 GB, free: 31.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00895/0.8547, allocations: 2.224 MB / 1.097 GB, free: 31.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008128/0.8629, allocations: 1.979 MB / 1.099 GB, free: 31.18 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005922/0.8688, allocations: 2.728 MB / 1.102 GB, free: 31.17 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/0.8715, allocations: 1.234 MB / 1.103 GB, free: 31.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.8749, allocations: 1.314 MB / 1.104 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/0.8768, allocations: 0.8668 MB / 1.105 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.8771, allocations: 71.53 kB / 1.105 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004224/0.8814, allocations: 1.211 MB / 1.107 GB, free: 31 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006364/0.882, allocations: 344.2 kB / 1.107 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008104/0.8829, allocations: 412.3 kB / 1.107 GB, free: 30.86 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005058/0.8879, allocations: 2.571 MB / 1.11 GB, free: 30.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.47e-06/0.888, allocations: 0 / 1.11 GB, free: 30.67 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.322e-06/0.888, allocations: 0 / 1.11 GB, free: 30.67 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.569e-05/0.8881, allocations: 1.094 kB / 1.11 GB, free: 30.67 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004797/0.8929, allocations: 2.032 MB / 1.112 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.8929, allocations: 11.56 kB / 1.112 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006477/0.8994, allocations: 0.7493 MB / 1.113 GB, free: 29.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/0.9032, allocations: 1.538 MB / 1.114 GB, free: 28.99 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.9034, allocations: 135.5 kB / 1.114 GB, free: 28.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/0.9037, allocations: 126.8 kB / 1.114 GB, free: 28.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005232/0.909, allocations: 1.723 MB / 1.116 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.909, allocations: 3.938 kB / 1.116 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.9093, allocations: 56.86 kB / 1.116 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/0.9093, allocations: 40.56 kB / 1.116 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007118/0.9165, allocations: 1.526 MB / 1.118 GB, free: 28.61 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.01341/0.9299, allocations: 7.607 MB / 1.125 GB, free: 23.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005261/0.9352, allocations: 1.191 MB / 1.126 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.9365, allocations: 1.275 MB / 1.127 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002922/0.9394, allocations: 0.7009 MB / 1.128 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 5.992e-06/0.9395, allocations: 0 / 1.128 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.02062/0.9601, allocations: 3.23 MB / 1.131 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.9602, allocations: 138.2 kB / 1.131 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/0.9627, allocations: 1.306 MB / 1.133 GB, free: 18.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002875/0.963, allocations: 50.06 kB / 1.133 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006712/0.9637, allocations: 0.718 MB / 1.133 GB, free: 18.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.964, allocations: 278.2 kB / 1.134 GB, free: 18.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.9642, allocations: 19.75 kB / 1.134 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.9643, allocations: 346.5 kB / 1.134 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/0.9668, allocations: 0.5301 MB / 1.135 GB, free: 17.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.9696, allocations: 0.8054 MB / 1.135 GB, free: 16.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002577/0.9722, allocations: 0.5803 MB / 1.136 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.9722, allocations: 2.188 kB / 1.136 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006873/0.9791, allocations: 1.671 MB / 1.138 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004785/0.9796, allocations: 2.406 MB / 1.14 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.9796, allocations: 6 kB / 1.14 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/0.9822, allocations: 0.5722 MB / 1.14 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.984, allocations: 251.2 kB / 1.141 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.9865, allocations: 1.168 MB / 1.142 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.9893, allocations: 248.2 kB / 1.142 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/0.9895, allocations: 58.91 kB / 1.142 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9895, allocations: 3.156 kB / 1.142 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006217/0.9958, allocations: 1.508 MB / 1.144 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.9958, allocations: 10.78 kB / 1.144 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/0.9983, allocations: 0.5636 MB / 1.144 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1, allocations: 249.2 kB / 1.144 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/1.002, allocations: 1.188 MB / 1.146 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/1.005, allocations: 231.3 kB / 1.146 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.005, allocations: 56.7 kB / 1.146 GB, free: 9.812 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001112/1.006, allocations: 471.2 kB / 1.146 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/1.007, allocations: 150.7 kB / 1.146 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/1.021, allocations: 2.163 MB / 1.149 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/1.021, allocations: 13.84 kB / 1.149 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.913e-06/1.021, allocations: 0 / 1.149 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01359/1.035, allocations: 1.997 MB / 1.15 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.046, allocations: 3.68 MB / 1.154 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.046, allocations: 0 / 1.154 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/1.048, allocations: 185.3 kB / 1.154 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002779/1.051, allocations: 0.5561 MB / 1.155 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/1.051, allocations: 37.16 kB / 1.155 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/1.053, allocations: 1.161 MB / 1.156 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/1.054, allocations: 0 / 1.156 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00616/1.06, allocations: 1.705 MB / 1.158 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.061, allocations: 427.8 kB / 1.158 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/1.061, allocations: 18.53 kB / 1.158 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.063, allocations: 159.1 kB / 1.158 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.064, allocations: 56.67 kB / 1.158 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/1.064, allocations: 57.86 kB / 1.158 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001562/1.065, allocations: 0.8915 MB / 1.159 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.86e-07/1.065, allocations: 3.219 kB / 1.159 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003439/1.069, allocations: 0.9705 MB / 1.16 GB, free: 1.055 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002659/1.072, allocations: 0.8831 MB / 1.161 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008648/1.08, allocations: 2.041 MB / 1.163 GB, free: 14.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.918e-06/1.08, allocations: 384 / 1.163 GB, free: 14.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002891/1.083, allocations: 0.6396 MB / 1.164 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00454/1.088, allocations: 0.7366 MB / 1.164 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008303/1.096, allocations: 3.23 MB / 1.168 GB, free: 10.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/1.097, allocations: 1.29 MB / 1.169 GB, free: 8.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002689/1.1, allocations: 375.9 kB / 1.169 GB, free: 8.449 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/1.101, allocations: 139.3 kB / 1.169 GB, free: 8.312 MB / 0.698 GB Notification: Performance of SimCode: time 1.521e-06/1.101, allocations: 0 / 1.169 GB, free: 8.312 MB / 0.698 GB Notification: Performance of Templates: time 0.08957/1.19, allocations: 38.14 MB / 1.206 GB, free: 2.527 MB / 0.7292 GB