Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000942/0.0009419, allocations: 89.89 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007455/0.007456, allocations: 171.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005263/0.0005266, allocations: 10.56 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3946, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1183/0.5129, allocations: 127.9 MB / 1.199 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03814/0.5511, allocations: 24.95 MB / 1.223 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00592/0.5571, allocations: 119.2 kB / 1.224 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005116/0.5622, allocations: 1.402 MB / 1.225 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01422/0.5765, allocations: 4.16 MB / 1.229 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00929/0.5858, allocations: 3.201 MB / 1.232 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01483/0.6006, allocations: 11.37 MB / 1.243 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004766/0.6054, allocations: 2.527 MB / 1.246 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007234/0.6127, allocations: 2.749 MB / 1.248 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004562/0.6173, allocations: 2.302 MB / 1.251 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005855/0.6179, allocations: 128 kB / 1.251 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7863/1.404, allocations: 2.47 MB / 1.253 GB, free: 52.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002135/1.406, allocations: 0.6162 MB / 1.254 GB, free: 52.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005842/1.412, allocations: 1.714 MB / 1.255 GB, free: 52.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01627/1.428, allocations: 6.024 MB / 1.261 GB, free: 52.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.429, allocations: 3.562 kB / 1.261 GB, free: 52.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.087e-06/1.429, allocations: 0.6875 kB / 1.261 GB, free: 52.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002286/1.429, allocations: 1.719 kB / 1.261 GB, free: 52.18 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01062/1.439, allocations: 3.365 MB / 1.265 GB, free: 50.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.439, allocations: 10.59 kB / 1.265 GB, free: 50.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/1.452, allocations: 1.454 MB / 1.266 GB, free: 50.31 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007398/1.459, allocations: 2.934 MB / 1.269 GB, free: 49.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003884/1.46, allocations: 253.2 kB / 1.269 GB, free: 49.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006898/1.46, allocations: 241.2 kB / 1.269 GB, free: 49.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/1.472, allocations: 3.241 MB / 1.273 GB, free: 49.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.271e-05/1.472, allocations: 6.406 kB / 1.273 GB, free: 49.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007016/1.473, allocations: 100.5 kB / 1.273 GB, free: 49.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/1.473, allocations: 72.33 kB / 1.273 GB, free: 49.12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/1.491, allocations: 2.895 MB / 1.276 GB, free: 49.06 MB / 0.9981 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.0437/1.534, allocations: 13.66 MB / 1.289 GB, free: 42.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009399/1.544, allocations: 1.513 MB / 1.29 GB, free: 42.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006945/1.551, allocations: 0.9486 MB / 1.291 GB, free: 42.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003281/1.554, allocations: 1.776 MB / 1.293 GB, free: 40.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008166/1.562, allocations: 1.212 MB / 1.294 GB, free: 40.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 1.77e-05/1.563, allocations: 0 / 1.294 GB, free: 40.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.1183/1.681, allocations: 11.92 MB / 1.306 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002608/1.681, allocations: 0.5874 MB / 1.306 GB, free: 36.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01168/1.693, allocations: 2.614 MB / 1.309 GB, free: 35.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009502/1.694, allocations: 61.27 kB / 1.309 GB, free: 35.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002343/1.696, allocations: 1.321 MB / 1.31 GB, free: 35.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001222/1.698, allocations: 463.3 kB / 1.311 GB, free: 35.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008561/1.698, allocations: 148.5 kB / 1.311 GB, free: 35.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/1.699, allocations: 302.4 kB / 1.311 GB, free: 34.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00755/1.706, allocations: 1.011 MB / 1.312 GB, free: 34.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008696/1.715, allocations: 1.612 MB / 1.314 GB, free: 34.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/1.729, allocations: 2.314 MB / 1.316 GB, free: 33.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-05/1.729, allocations: 2.938 kB / 1.316 GB, free: 33.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.04484/1.774, allocations: 4.266 MB / 1.32 GB, free: 33.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004616/1.774, allocations: 492.8 kB / 1.321 GB, free: 32.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.072e-05/1.774, allocations: 17.72 kB / 1.321 GB, free: 32.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007639/1.782, allocations: 1.162 MB / 1.322 GB, free: 32.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005133/1.787, allocations: 478.6 kB / 1.322 GB, free: 32.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00714/1.794, allocations: 2.393 MB / 1.325 GB, free: 31.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009085/1.803, allocations: 413.7 kB / 1.325 GB, free: 31.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007739/1.804, allocations: 111.1 kB / 1.325 GB, free: 31.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.804, allocations: 4.969 kB / 1.325 GB, free: 31.4 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04127/1.846, allocations: 3.97 MB / 1.329 GB, free: 31.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.941e-05/1.846, allocations: 14.62 kB / 1.329 GB, free: 31.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007226/1.853, allocations: 1.166 MB / 1.33 GB, free: 31.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004876/1.858, allocations: 471.8 kB / 1.331 GB, free: 31.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006864/1.865, allocations: 2.378 MB / 1.333 GB, free: 30.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007904/1.873, allocations: 383.7 kB / 1.333 GB, free: 30.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006934/1.873, allocations: 102 kB / 1.333 GB, free: 29.98 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.003443/1.877, allocations: 0.7039 MB / 1.334 GB, free: 29.76 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/1.879, allocations: 282.2 kB / 1.334 GB, free: 29.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/1.894, allocations: 2.467 MB / 1.337 GB, free: 29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-05/1.894, allocations: 26.8 kB / 1.337 GB, free: 28.99 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.894, allocations: 3.406 kB / 1.337 GB, free: 28.99 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01198/1.906, allocations: 2.068 MB / 1.339 GB, free: 28.37 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03934/1.946, allocations: 7.086 MB / 1.346 GB, free: 25.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-05/1.946, allocations: 9.531 kB / 1.346 GB, free: 25.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003001/1.949, allocations: 284 kB / 1.346 GB, free: 25.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0061/1.955, allocations: 1.024 MB / 1.347 GB, free: 25.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003757/1.955, allocations: 57.91 kB / 1.347 GB, free: 25.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0055/1.961, allocations: 2.151 MB / 1.349 GB, free: 23.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/1.961, allocations: 6.625 kB / 1.349 GB, free: 23.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02464/1.986, allocations: 3.843 MB / 1.353 GB, free: 22.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004362/1.99, allocations: 0.6547 MB / 1.354 GB, free: 22.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002231/1.992, allocations: 47.02 kB / 1.354 GB, free: 22.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007872/2, allocations: 295.3 kB / 1.354 GB, free: 22.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/2.001, allocations: 113.8 kB / 1.354 GB, free: 22.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004118/2.001, allocations: 72.89 kB / 1.354 GB, free: 22.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005974/2.007, allocations: 1.844 MB / 1.356 GB, free: 21.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.633e-06/2.007, allocations: 0 / 1.356 GB, free: 21.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01035/2.018, allocations: 1.484 MB / 1.357 GB, free: 20.99 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003156/2.021, allocations: 0.7985 MB / 1.358 GB, free: 20.65 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02178/2.043, allocations: 3.818 MB / 1.362 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.349e-05/2.043, allocations: 4.219 kB / 1.362 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006511/2.049, allocations: 1.119 MB / 1.363 GB, free: 18.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01443/2.064, allocations: 1.567 MB / 1.364 GB, free: 16.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/2.075, allocations: 6.141 MB / 1.37 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009769/2.076, allocations: 1.717 MB / 1.372 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003559/2.079, allocations: 0.6526 MB / 1.373 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006725/2.08, allocations: 247.3 kB / 1.373 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of SimCode: time 2.535e-06/2.08, allocations: 4 kB / 1.373 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.1319/2.212, allocations: 76.2 MB / 1.447 GB, free: 13.07 MB / 1.076 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)