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 4.911/4.911, allocations: 0.5623 GB / 0.5775 GB, free: 3.383 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002517/0.002517, allocations: 358.7 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.225/4.225, allocations: 410.7 MB / 1.113 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001932/0.001931, allocations: 199.8 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005046/0.0005048, allocations: 20 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.7454, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.948, allocations: 426.5 MB / 1.878 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/1.948, allocations: 107.8 kB / 1.878 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.476/4.424, allocations: 0.5463 GB / 2.424 GB, free: 34.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.843e-06/4.424, allocations: 0 / 2.424 GB, free: 34.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002355/4.424, allocations: 43.98 kB / 2.424 GB, free: 34.01 MB / 0.948 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.00735/4.431, allocations: 2.243 MB / 2.426 GB, free: 31.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/4.431, allocations: 11.62 kB / 2.426 GB, free: 31.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009242/4.441, allocations: 0.6767 MB / 2.427 GB, free: 31.01 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005508/4.446, allocations: 1.834 MB / 2.429 GB, free: 29.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/4.446, allocations: 136.1 kB / 2.429 GB, free: 28.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/4.447, allocations: 124 kB / 2.429 GB, free: 28.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006859/4.454, allocations: 1.745 MB / 2.431 GB, free: 27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/4.454, allocations: 0 / 2.431 GB, free: 27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/4.454, allocations: 56 kB / 2.431 GB, free: 26.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/4.454, allocations: 32 kB / 2.431 GB, free: 26.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008942/4.463, allocations: 1.539 MB / 2.432 GB, free: 25.37 MB / 0.948 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.01653/4.479, allocations: 7.485 MB / 2.44 GB, free: 17.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007693/4.487, allocations: 1.245 MB / 2.441 GB, free: 16.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/4.491, allocations: 0.632 MB / 2.442 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/4.493, allocations: 1.271 MB / 2.443 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004089/4.497, allocations: 0.746 MB / 2.444 GB, free: 13.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.958e-06/4.497, allocations: 0 / 2.444 GB, free: 13.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.04547/4.542, allocations: 3.873 MB / 2.447 GB, free: 9.426 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/4.542, allocations: 162.9 kB / 2.447 GB, free: 9.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/4.545, allocations: 1.269 MB / 2.449 GB, free: 7.945 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003439/4.545, allocations: 49.7 kB / 2.449 GB, free: 7.891 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007603/4.546, allocations: 0.7272 MB / 2.449 GB, free: 7.156 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004669/4.547, allocations: 280 kB / 2.45 GB, free: 6.879 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/4.547, allocations: 20 kB / 2.45 GB, free: 6.859 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.879e-05/4.547, allocations: 341.9 kB / 2.45 GB, free: 6.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/4.551, allocations: 0.5445 MB / 2.451 GB, free: 5.977 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/4.555, allocations: 0.8595 MB / 2.451 GB, free: 5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004165/4.559, allocations: 0.5914 MB / 2.452 GB, free: 4.414 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/4.559, allocations: 4 kB / 2.452 GB, free: 4.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01037/4.569, allocations: 1.691 MB / 2.454 GB, free: 2.711 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/4.569, allocations: 277 kB / 2.454 GB, free: 2.355 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/4.569, allocations: 4 kB / 2.454 GB, free: 2.352 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/4.573, allocations: 0.5778 MB / 2.455 GB, free: 1.773 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/4.576, allocations: 247.6 kB / 2.455 GB, free: 1.531 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/4.579, allocations: 1.181 MB / 2.456 GB, free: 336 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004024/4.584, allocations: 234.8 kB / 2.456 GB, free: 100 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/4.584, allocations: 59.94 kB / 2.456 GB, free: 40 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/4.584, allocations: 4 kB / 2.456 GB, free: 36 kB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7386/5.322, allocations: 1.507 MB / 2.458 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/5.323, allocations: 7.344 kB / 2.458 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/5.326, allocations: 0.5674 MB / 2.458 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/5.328, allocations: 238 kB / 2.458 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/5.331, allocations: 1.179 MB / 2.46 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/5.335, allocations: 208.5 kB / 2.46 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/5.336, allocations: 57.47 kB / 2.46 GB, free: 175.5 MB / 0.948 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 (83): * Single equations (assignments): 82 * 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.001293/5.337, allocations: 475.4 kB / 2.46 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/5.337, allocations: 148.8 kB / 2.46 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009931/5.347, allocations: 1.679 MB / 2.462 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/5.347, allocations: 9.906 kB / 2.462 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-06/5.347, allocations: 3.281 kB / 2.462 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008442/5.356, allocations: 1.491 MB / 2.464 GB, free: 175.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/5.369, allocations: 3.817 MB / 2.467 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/5.369, allocations: 0 / 2.467 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/5.372, allocations: 199.6 kB / 2.468 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002993/5.375, allocations: 0.5575 MB / 2.468 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/5.375, allocations: 35.52 kB / 2.468 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002943/5.378, allocations: 1.181 MB / 2.469 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/5.378, allocations: 0 / 2.469 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00895/5.387, allocations: 1.714 MB / 2.471 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/5.388, allocations: 416.8 kB / 2.471 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/5.388, allocations: 17.28 kB / 2.471 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/5.392, allocations: 169 kB / 2.471 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/5.392, allocations: 57.28 kB / 2.472 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/5.392, allocations: 54.62 kB / 2.472 GB, free: 173.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001736/5.394, allocations: 0.8685 MB / 2.472 GB, free: 173.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/5.394, allocations: 0 / 2.472 GB, free: 173.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003975/5.398, allocations: 1.029 MB / 2.473 GB, free: 173.1 MB / 0.948 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 (58): * Single equations (assignments): 53 * 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.003138/5.401, allocations: 1.184 MB / 2.475 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01216/5.413, allocations: 2.09 MB / 2.477 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/5.413, allocations: 3.688 kB / 2.477 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/5.417, allocations: 0.6864 MB / 2.477 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006559/5.424, allocations: 0.7892 MB / 2.478 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009545/5.433, allocations: 3.329 MB / 2.481 GB, free: 171.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009007/5.434, allocations: 1.294 MB / 2.483 GB, free: 170.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003126/5.437, allocations: 393.3 kB / 2.483 GB, free: 170.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005938/5.438, allocations: 145.3 kB / 2.483 GB, free: 170.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/5.438, allocations: 0 / 2.483 GB, free: 170.7 MB / 0.948 GB Notification: Performance of Templates: time 0.1003/5.538, allocations: 41.26 MB / 2.523 GB, free: 169.7 MB / 0.948 GB