Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 106.5 kB / 16.38 MB, free: 6.484 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.001022/0.001022, allocations: 190.7 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 74.25 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1958, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.6379/0.8338, allocations: 294.2 MB / 1.072 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.06133/0.8951, allocations: 42.36 MB / 1.114 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007548/0.9027, allocations: 202.8 kB / 1.114 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.008395/0.9112, allocations: 2.62 MB / 1.116 GB, free: 6.121 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.02035/0.9316, allocations: 6.961 MB / 1.123 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0144/0.946, allocations: 5.265 MB / 1.128 GB, free: 9.934 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.4704/1.416, allocations: 17.77 MB / 1.146 GB, free: 29.86 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01672/1.433, allocations: 7.341 MB / 1.153 GB, free: 29.22 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01981/1.453, allocations: 6.508 MB / 1.159 GB, free: 29.22 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01421/1.467, allocations: 5.136 MB / 1.164 GB, free: 28.95 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00428/1.472, allocations: 0.7681 MB / 1.165 GB, free: 28.95 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01608/1.488, allocations: 5.271 MB / 1.17 GB, free: 28.95 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004674/1.492, allocations: 2.114 MB / 1.172 GB, free: 28.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.009243/1.502, allocations: 4.076 MB / 1.176 GB, free: 27.6 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01879/1.52, allocations: 12.83 MB / 1.189 GB, free: 26.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.521, allocations: 4.812 kB / 1.189 GB, free: 26.25 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.134e-06/1.521, allocations: 2.25 kB / 1.189 GB, free: 26.25 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003611/1.521, allocations: 0.9375 kB / 1.189 GB, free: 26.25 MB / 0.92 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.0212/1.542, allocations: 8.242 MB / 1.197 GB, free: 22.87 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/1.542, allocations: 9.531 kB / 1.197 GB, free: 22.87 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/1.557, allocations: 2.131 MB / 1.199 GB, free: 22.48 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/1.572, allocations: 6.218 MB / 1.205 GB, free: 21.4 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005038/1.572, allocations: 404.9 kB / 1.205 GB, free: 21.36 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/1.574, allocations: 483.2 kB / 1.206 GB, free: 21.36 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/1.587, allocations: 6.102 MB / 1.212 GB, free: 20.64 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/1.587, allocations: 19.95 kB / 1.212 GB, free: 20.64 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005166/1.588, allocations: 197.2 kB / 1.212 GB, free: 20.64 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/1.588, allocations: 179.9 kB / 1.212 GB, free: 20.62 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/1.6, allocations: 5.681 MB / 1.218 GB, free: 20.55 MB / 0.92 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.04108/1.642, allocations: 24.84 MB / 1.242 GB, free: 8.078 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009489/1.651, allocations: 4.455 MB / 1.246 GB, free: 6.934 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004208/1.655, allocations: 2 MB / 1.248 GB, free: 6.59 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02007/1.675, allocations: 10.32 MB / 1.258 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005473/1.681, allocations: 2.238 MB / 1.26 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002673/1.684, allocations: 270.2 kB / 1.261 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=300): time 8.706e-06/1.684, allocations: 0 / 1.261 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=304): time 0.06332/1.747, allocations: 13.35 MB / 1.274 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002037/1.747, allocations: 374.4 kB / 1.274 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.758, allocations: 4.988 MB / 1.279 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.001161/1.759, allocations: 101.7 kB / 1.279 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002992/1.762, allocations: 2.78 MB / 1.282 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.764, allocations: 1.026 MB / 1.283 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00165/1.765, allocations: 0.8174 MB / 1.283 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.766, allocations: 305.1 kB / 1.284 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005928/1.772, allocations: 1.952 MB / 1.286 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007096/1.779, allocations: 2.949 MB / 1.289 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/1.791, allocations: 4.558 MB / 1.293 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.391e-05/1.791, allocations: 8 kB / 1.293 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=482) (initialization): time 0.02303/1.814, allocations: 6.195 MB / 1.299 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/1.814, allocations: 19.94 kB / 1.299 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.485e-05/1.814, allocations: 24 kB / 1.299 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009913/1.824, allocations: 1.632 MB / 1.301 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00536/1.829, allocations: 0.9155 MB / 1.302 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/1.841, allocations: 5.901 MB / 1.307 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007393/1.848, allocations: 373.7 kB / 1.308 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/1.85, allocations: 207.9 kB / 1.308 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00946/1.859, allocations: 3.162 MB / 1.311 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007184/1.866, allocations: 2.863 MB / 1.314 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0122/1.878, allocations: 4.393 MB / 1.318 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.697e-05/1.878, allocations: 8 kB / 1.318 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=482) (initialization_lambda0): time 0.02277/1.901, allocations: 6.025 MB / 1.324 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/1.901, allocations: 12 kB / 1.324 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-05/1.901, allocations: 24 kB / 1.324 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/1.911, allocations: 1.638 MB / 1.326 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/1.917, allocations: 0.9 MB / 1.326 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/1.927, allocations: 5.896 MB / 1.332 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007524/1.935, allocations: 397.9 kB / 1.333 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/1.936, allocations: 200.1 kB / 1.333 GB, free: 7.195 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.timTab.nextTimeEvent,$whenCondition3,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,tesEvaPum.y,$PRE.tesEvaPum.y,tesConHea.y,$PRE.tesConHea.y,and2.y,and1.y,hysteresis.y,$PRE.hysteresis.y,heaPum.temPro.hysdTConEva.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.on.y,heaPum.temPro.hysLow.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysHig.y,heaPum.com.isOn,$PRE.heaPum.com.isOn,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (443): * Single equations (assignments): 437 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,19), (5,6), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002068/1.938, allocations: 432.7 kB / 1.333 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002404/1.941, allocations: 0.5441 MB / 1.334 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01898/1.96, allocations: 5.214 MB / 1.339 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01409/1.974, allocations: 4.129 MB / 1.343 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.974, allocations: 4 kB / 1.343 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003704/1.978, allocations: 1.099 MB / 1.344 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001699/1.979, allocations: 75.19 kB / 1.344 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005614/1.985, allocations: 324.7 kB / 1.344 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006972/1.986, allocations: 262.3 kB / 1.345 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01855/2.004, allocations: 5.069 MB / 1.35 GB, free: 6.023 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01857/2.023, allocations: 6.725 MB / 1.356 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005304/2.028, allocations: 1.934 MB / 1.358 GB, free: 13.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.008482/2.037, allocations: 3.374 MB / 1.361 GB, free: 9.949 MB / 1.029 GB Notification: Performance of Backend: time 1.152e-06/2.037, allocations: 0 / 1.361 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.03466/2.071, allocations: 8.693 MB / 1.37 GB, free: 1.973 MB / 1.029 GB Notification: Performance of SimCode: time 0.03353/2.105, allocations: 13.36 MB / 1.383 GB, free: 4.758 MB / 1.045 GB Notification: Performance of Templates: time 0.2386/2.344, allocations: 151.6 MB / 1.531 GB, free: 15.05 MB / 1.201 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)