Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.671/1.671, allocations: 288.4 MB / 304.3 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 172.5 kB / 372.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.4 MB / 0.6316 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007445/0.0007445, allocations: 100.1 kB / 0.745 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 16.78 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1892, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.6859/0.8751, allocations: 269.1 MB / 1.244 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.06089/0.936, allocations: 39.81 MB / 1.282 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008499/0.9446, allocations: 170.9 kB / 1.283 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00797/0.9526, allocations: 1.899 MB / 1.284 GB, free: 8.309 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.01872/0.9713, allocations: 5.832 MB / 1.29 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01279/0.9841, allocations: 3.89 MB / 1.294 GB, free: 14.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.02506/1.009, allocations: 18.97 MB / 1.312 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/1.019, allocations: 5.956 MB / 1.318 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/1.03, allocations: 5.053 MB / 1.323 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00824/1.039, allocations: 4.496 MB / 1.328 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002013/1.041, allocations: 268 kB / 1.328 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/1.053, allocations: 4.52 MB / 1.332 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003795/1.057, allocations: 1.49 MB / 1.334 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.007951/1.065, allocations: 3.298 MB / 1.337 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01479/1.08, allocations: 9.746 MB / 1.346 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.08, allocations: 0 / 1.346 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.465e-06/1.08, allocations: 0 / 1.346 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003883/1.08, allocations: 7.938 kB / 1.346 GB, free: 8.562 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1169 * Number of variables: 1169 Notification: Performance of Generate backend data structure: time 0.0156/1.096, allocations: 6.86 MB / 1.353 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.096, allocations: 12.03 kB / 1.353 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01414/1.11, allocations: 2.251 MB / 1.355 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/1.124, allocations: 6.387 MB / 1.362 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009657/1.125, allocations: 0.527 MB / 1.362 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/1.127, allocations: 479.9 kB / 1.363 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/1.141, allocations: 6.16 MB / 1.369 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/1.141, allocations: 15.88 kB / 1.369 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006073/1.141, allocations: 188 kB / 1.369 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/1.142, allocations: 184.8 kB / 1.369 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/1.156, allocations: 5.826 MB / 1.375 GB, free: 11.24 MB / 0.9011 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.04644/1.203, allocations: 24.98 MB / 1.399 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/1.214, allocations: 4.668 MB / 1.404 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005006/1.219, allocations: 2.088 MB / 1.406 GB, free: 10.24 MB / 0.9323 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 evalFunc (simulation): time 0.02154/1.241, allocations: 10.43 MB / 1.416 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005316/1.246, allocations: 2.348 MB / 1.418 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00287/1.249, allocations: 0.6335 MB / 1.419 GB, free: 12.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=302): time 8.836e-06/1.249, allocations: 0 / 1.419 GB, free: 12.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=306): time 0.4408/1.69, allocations: 13.04 MB / 1.431 GB, free: 337.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.69, allocations: 369.7 kB / 1.432 GB, free: 337 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008875/1.699, allocations: 4.859 MB / 1.437 GB, free: 335.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008751/1.7, allocations: 104.5 kB / 1.437 GB, free: 335.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002819/1.703, allocations: 2.767 MB / 1.439 GB, free: 334.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001503/1.704, allocations: 1.032 MB / 1.44 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/1.704, allocations: 75.19 kB / 1.44 GB, free: 333.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002713/1.705, allocations: 459.5 kB / 1.441 GB, free: 333.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006098/1.711, allocations: 1.955 MB / 1.443 GB, free: 332.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006745/1.718, allocations: 2.978 MB / 1.446 GB, free: 331.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/1.729, allocations: 4.595 MB / 1.45 GB, free: 328.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-05/1.729, allocations: 6.469 kB / 1.45 GB, free: 328.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.02661/1.756, allocations: 6.924 MB / 1.457 GB, free: 326.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004241/1.756, allocations: 0.7969 MB / 1.458 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/1.756, allocations: 23.69 kB / 1.458 GB, free: 325.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009121/1.765, allocations: 1.74 MB / 1.459 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/1.77, allocations: 0.9506 MB / 1.46 GB, free: 325.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007883/1.778, allocations: 5.59 MB / 1.466 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007256/1.785, allocations: 0.5837 MB / 1.466 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.786, allocations: 202.2 kB / 1.467 GB, free: 320.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.786, allocations: 4.094 kB / 1.467 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01698/1.803, allocations: 5.747 MB / 1.472 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.251e-05/1.804, allocations: 30.27 kB / 1.472 GB, free: 318.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008646/1.812, allocations: 1.763 MB / 1.474 GB, free: 318.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004463/1.817, allocations: 0.916 MB / 1.475 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007629/1.824, allocations: 5.597 MB / 1.48 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006573/1.831, allocations: 0.5564 MB / 1.481 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006619/1.832, allocations: 205.7 kB / 1.481 GB, free: 313.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition3,$PRE.timTab.nextTimeEvent,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y,$PRE.hysteresis.y,hysteresis.y,and1.y,and2.y,$PRE.tesConHea.y,tesConHea.y,$PRE.tesEvaPum.y,tesEvaPum.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (445): * Single equations (assignments): 439 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 3 {2 19,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003291/1.835, allocations: 1.568 MB / 1.483 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/1.836, allocations: 0.5447 MB / 1.483 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/1.85, allocations: 5.425 MB / 1.488 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.012/1.862, allocations: 4.274 MB / 1.493 GB, free: 307.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.863, allocations: 8 kB / 1.493 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003518/1.866, allocations: 1.142 MB / 1.494 GB, free: 306.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.867, allocations: 72.44 kB / 1.494 GB, free: 306.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00474/1.872, allocations: 498.1 kB / 1.494 GB, free: 306.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004587/1.873, allocations: 259.9 kB / 1.495 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0151/1.888, allocations: 5.313 MB / 1.5 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01452/1.902, allocations: 6.947 MB / 1.507 GB, free: 299.2 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004097/1.906, allocations: 1.996 MB / 1.508 GB, free: 297.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00454/1.911, allocations: 3.264 MB / 1.512 GB, free: 294 MB / 0.948 GB Notification: Performance of Backend: time 6.21e-07/1.911, allocations: 0 / 1.512 GB, free: 294 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02425/1.935, allocations: 8.777 MB / 1.52 GB, free: 285.8 MB / 0.948 GB Notification: Performance of SimCode: time 0.02353/1.959, allocations: 15.28 MB / 1.535 GB, free: 270.5 MB / 0.948 GB Notification: Performance of Templates: time 0.1909/2.15, allocations: 146.7 MB / 1.678 GB, free: 124.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)