Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.31/2.31, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.002343/0.002343, allocations: 181.5 kB / 325.6 MB, free: 2.816 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.369/2.369, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.001174/0.001174, allocations: 103.8 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004664, allocations: 19.94 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1529/0.365, allocations: 105.5 MB / 1.002 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0293/0.3943, allocations: 13.19 MB / 1.015 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003264/0.3976, allocations: 59.56 kB / 1.015 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.402, allocations: 0.8278 MB / 1.016 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.4148, allocations: 2.222 MB / 1.018 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01215/0.427, allocations: 1.978 MB / 1.02 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.009071/0.4361, allocations: 2.719 MB / 1.022 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003833/0.44, allocations: 1.22 MB / 1.024 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/0.445, allocations: 1.304 MB / 1.025 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.448, allocations: 0.8555 MB / 1.026 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006086/0.4487, allocations: 79.94 kB / 1.026 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006701/0.4554, allocations: 1.299 MB / 1.027 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.4565, allocations: 342.6 kB / 1.027 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.4577, allocations: 416.8 kB / 1.028 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007896/0.4656, allocations: 2.607 MB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4657, allocations: 4 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4657, allocations: 3.938 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.263e-05/0.4658, allocations: 0 / 1.03 GB, free: 11 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.007875/0.4737, allocations: 2.069 MB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.4738, allocations: 12.03 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/0.4883, allocations: 0.7508 MB / 1.033 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/0.4936, allocations: 1.515 MB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.4939, allocations: 144.1 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004142/0.4943, allocations: 128 kB / 1.035 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00765/0.502, allocations: 1.714 MB / 1.037 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.014e-05/0.5021, allocations: 3.938 kB / 1.037 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.5024, allocations: 59.95 kB / 1.037 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.444e-05/0.5025, allocations: 32 kB / 1.037 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009404/0.5119, allocations: 1.531 MB / 1.038 GB, free: 2.809 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.01775/0.5297, allocations: 7.584 MB / 1.046 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008079/0.5378, allocations: 1.194 MB / 1.047 GB, free: 9.625 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002021/0.5399, allocations: 1.275 MB / 1.048 GB, free: 8.074 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004181/0.5441, allocations: 0.6874 MB / 1.049 GB, free: 7.375 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.078e-06/0.5441, allocations: 0 / 1.049 GB, free: 7.375 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.04209/0.5862, allocations: 3.222 MB / 1.052 GB, free: 4.121 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.5864, allocations: 141.2 kB / 1.052 GB, free: 3.953 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004336/0.5907, allocations: 1.309 MB / 1.053 GB, free: 2.629 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004083/0.5912, allocations: 45.7 kB / 1.053 GB, free: 2.578 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.5925, allocations: 0.7231 MB / 1.054 GB, free: 1.848 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006968/0.5933, allocations: 276 kB / 1.054 GB, free: 1.574 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.5935, allocations: 20 kB / 1.054 GB, free: 1.555 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002473/0.5938, allocations: 345.9 kB / 1.055 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006872/0.6007, allocations: 0.525 MB / 1.055 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.627/1.228, allocations: 0.806 MB / 1.056 GB, free: 150.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/1.232, allocations: 0.5797 MB / 1.056 GB, free: 150.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/1.232, allocations: 2.5 kB / 1.056 GB, free: 150.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01013/1.242, allocations: 1.666 MB / 1.058 GB, free: 150.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000503/1.243, allocations: 2.404 MB / 1.06 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/1.243, allocations: 10.77 kB / 1.06 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003324/1.246, allocations: 0.5538 MB / 1.061 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/1.249, allocations: 249.6 kB / 1.061 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/1.252, allocations: 1.167 MB / 1.062 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/1.256, allocations: 246.2 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/1.256, allocations: 56.97 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.256, allocations: 4.359 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009367/1.266, allocations: 1.512 MB / 1.064 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.266, allocations: 5.875 kB / 1.064 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003227/1.269, allocations: 0.5497 MB / 1.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002777/1.272, allocations: 246.7 kB / 1.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/1.275, allocations: 1.176 MB / 1.066 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003849/1.279, allocations: 230.9 kB / 1.066 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/1.28, allocations: 59.09 kB / 1.066 GB, free: 147.2 MB / 0.698 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.001243/1.281, allocations: 468.3 kB / 1.067 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000528/1.282, allocations: 156.7 kB / 1.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0251/1.307, allocations: 2.17 MB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-05/1.307, allocations: 7.656 kB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/1.307, allocations: 0.5 kB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02417/1.331, allocations: 1.998 MB / 1.071 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.346, allocations: 3.659 MB / 1.074 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.346, allocations: 3.375 kB / 1.075 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/1.349, allocations: 184.9 kB / 1.075 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/1.352, allocations: 0.5265 MB / 1.075 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002161/1.352, allocations: 37.09 kB / 1.075 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/1.355, allocations: 1.165 MB / 1.076 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.355, allocations: 2.531 kB / 1.076 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00937/1.365, allocations: 1.702 MB / 1.078 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/1.366, allocations: 412.9 kB / 1.078 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/1.367, allocations: 18.03 kB / 1.078 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003616/1.37, allocations: 160.3 kB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/1.371, allocations: 50.38 kB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/1.371, allocations: 51.5 kB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001948/1.373, allocations: 0.8927 MB / 1.08 GB, free: 143.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.51e-07/1.373, allocations: 0 / 1.08 GB, free: 143.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004212/1.377, allocations: 1.022 MB / 1.081 GB, free: 143.2 MB / 0.698 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.003169/1.38, allocations: 0.9554 MB / 1.081 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01839/1.399, allocations: 2.034 MB / 1.083 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.399, allocations: 4.125 kB / 1.083 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007029/1.406, allocations: 0.6432 MB / 1.084 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009833/1.416, allocations: 0.7483 MB / 1.085 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.428, allocations: 3.223 MB / 1.088 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/1.43, allocations: 1.285 MB / 1.089 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005191/1.435, allocations: 374.2 kB / 1.09 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009147/1.436, allocations: 139 kB / 1.09 GB, free: 138.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/1.436, allocations: 0 / 1.09 GB, free: 138.3 MB / 0.698 GB Notification: Performance of Templates: time 0.1294/1.565, allocations: 38.08 MB / 1.127 GB, free: 101.6 MB / 0.698 GB