Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1685/0.1707, allocations: 80.83 MB / 0.5899 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.005852/0.1766, allocations: 4.724 MB / 0.5945 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005198/0.1818, allocations: 2.621 MB / 0.597 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008532/0.1827, allocations: 23.94 kB / 0.5971 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.1831, allocations: 71.2 kB / 0.5971 GB, free: 15.54 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:7:3-16:19:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource‘ contains a call to impure function ‘Modelica.Utilities.Files.fullPathName‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-80:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-92: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46: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.00225/0.1854, allocations: 410 kB / 0.5975 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007284/0.1861, allocations: 423.6 kB / 0.5979 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.1876, allocations: 1.408 MB / 0.5993 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007804/0.1884, allocations: 0.5479 MB / 0.5998 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.702/2.891, allocations: 171.1 MB / 0.767 GB, free: 44.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006772/2.892, allocations: 0.503 MB / 0.7674 GB, free: 43.81 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/2.893, allocations: 132 kB / 0.7676 GB, free: 43.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/2.893, allocations: 136 kB / 0.7677 GB, free: 43.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/2.893, allocations: 238.6 kB / 0.7679 GB, free: 43.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005198/2.894, allocations: 0.5644 MB / 0.7685 GB, free: 43.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/2.895, allocations: 1.403 MB / 0.7698 GB, free: 42.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/2.895, allocations: 0 / 0.7698 GB, free: 42.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.134e-06/2.895, allocations: 0 / 0.7698 GB, free: 42.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.372e-05/2.895, allocations: 0 / 0.7698 GB, free: 42.01 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00196/2.897, allocations: 1.39 MB / 0.7712 GB, free: 40.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/2.897, allocations: 8.031 kB / 0.7712 GB, free: 40.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/2.897, allocations: 119.5 kB / 0.7713 GB, free: 40.42 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/2.898, allocations: 0.727 MB / 0.772 GB, free: 39.67 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/2.898, allocations: 58 kB / 0.7721 GB, free: 39.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/2.898, allocations: 83.94 kB / 0.7722 GB, free: 39.53 MB / 0.5294 GB Error: An independent subset of the model has imbalanced number of equations (52) and variables (50). variables: winNor.zer.y winNor.max.y winNor.max.u2 winNor.max.u1 winNor.depth.y winNor.depInRoo.y winNor.depInRoo.u2 winNor.depInRoo.u1 winNor.proShaLen.zer.y winNor.proShaLen.switch1.y winNor.proShaLen.switch1.u3 winNor.proShaLen.switch1.u2 winNor.proShaLen.switch1.u1 winNor.proShaLen.lessThreshold.y winNor.proShaLen.lessThreshold.u winNor.proShaLen.solHouAng.solHouAng winNor.proShaLen.solHouAng.solTim winNor.proShaLen.proShaLen.y winNor.proShaLen.proShaLen.u2 winNor.proShaLen.proShaLen.u1 winNor.proShaLen.cos.y winNor.proShaLen.cos.u winNor.proShaLen.add.y winNor.proShaLen.add.u2 winNor.proShaLen.add.u1 winNor.proShaLen.surAzi.y winNor.proShaLen.solAzi.decAng winNor.proShaLen.solAzi.solAzi winNor.proShaLen.solAzi.solTim winNor.proShaLen.solAzi.zen winNor.proShaLen.shaLen.y winNor.proShaLen.shaLen.u winNor.proShaLen.tan.y winNor.proShaLen.tan.u winNor.proShaLen.zen.zen winNor.proShaLen.zen.decAng winNor.proShaLen.zen.solHouAng winNor.proShaLen.decAng.decAng winNor.proShaLen.decAng.nDay winNor.proShaLen.modTim.y winNor.proShaLen.solTim.solTim winNor.proShaLen.solTim.equTim winNor.proShaLen.solTim.locTim winNor.proShaLen.eqnTim.Bt winNor.proShaLen.eqnTim.eqnTim winNor.proShaLen.eqnTim.nDay winNor.proShaLen.locTim.locTim winNor.proShaLen.locTim.cloTim winNor.proShaLen.y winNor.y equations: 1 : algorithm if noEvent(winNor.proShaLen.solAzi.solTim - /*Real*/(integer(winNor.proShaLen.solAzi.solTim / 86400.0)) * 86400.0 < 43200.0) then winNor.proShaLen.solAzi.solAzi := -winNor.proShaLen.solAzi.solAzi; end if; 2 : winNor.proShaLen.lessThreshold.u = winNor.proShaLen.zen.zen 3 : winNor.proShaLen.lessThreshold.u = winNor.proShaLen.solAzi.zen 4 : winNor.proShaLen.lessThreshold.u = winNor.proShaLen.tan.u 5 : winNor.proShaLen.tan.y = winNor.proShaLen.shaLen.u 6 : winNor.proShaLen.add.u1 = winNor.proShaLen.surAzi.y 7 : winNor.proShaLen.solAzi.solAzi = winNor.proShaLen.add.u2 8 : winNor.proShaLen.add.y = winNor.proShaLen.cos.u 9 : winNor.proShaLen.shaLen.y = winNor.proShaLen.proShaLen.u2 10 : winNor.proShaLen.proShaLen.u1 = winNor.proShaLen.cos.y 11 : winNor.proShaLen.solHouAng.solHouAng = winNor.proShaLen.zen.solHouAng 12 : winNor.proShaLen.lessThreshold.y = winNor.proShaLen.switch1.u2 13 : winNor.proShaLen.switch1.u1 = winNor.proShaLen.proShaLen.y 14 : winNor.proShaLen.zer.y = winNor.proShaLen.switch1.u3 15 : winNor.proShaLen.switch1.y = winNor.proShaLen.y 16 : winNor.proShaLen.decAng.nDay = winNor.proShaLen.modTim.y 17 : winNor.proShaLen.decAng.nDay = winNor.proShaLen.eqnTim.nDay 18 : winNor.proShaLen.decAng.nDay = winNor.proShaLen.locTim.cloTim 19 : winNor.proShaLen.eqnTim.eqnTim = winNor.proShaLen.solTim.equTim 20 : winNor.proShaLen.locTim.locTim = winNor.proShaLen.solTim.locTim 21 : winNor.proShaLen.solAzi.solTim = winNor.proShaLen.solTim.solTim 22 : winNor.proShaLen.solAzi.solTim = winNor.proShaLen.solHouAng.solTim 23 : winNor.proShaLen.solAzi.decAng = winNor.proShaLen.decAng.decAng 24 : winNor.proShaLen.solAzi.decAng = winNor.proShaLen.zen.decAng 25 : winNor.proShaLen.y = winNor.depInRoo.u2 26 : winNor.depth.y = winNor.depInRoo.u1 27 : winNor.zer.y = winNor.max.u2 28 : winNor.max.u1 = winNor.depInRoo.y 29 : winNor.max.y = winNor.y 30 : winNor.proShaLen.locTim.locTim = 499.2000000000007 + winNor.proShaLen.locTim.cloTim 31 : winNor.proShaLen.eqnTim.Bt = 0.01726149809664721 * (-80.0 + 1.157407407407407e-05 * winNor.proShaLen.eqnTim.nDay) 32 : winNor.proShaLen.eqnTim.eqnTim = 60.0 * (9.869999999999999 * sin(2.0 * winNor.proShaLen.eqnTim.Bt) + (-7.53) * cos(winNor.proShaLen.eqnTim.Bt) + (-1.5) * sin(winNor.proShaLen.eqnTim.Bt)) 33 : winNor.proShaLen.solTim.solTim = winNor.proShaLen.solTim.locTim + winNor.proShaLen.solTim.equTim 34 : winNor.proShaLen.modTim.y = time 35 : winNor.proShaLen.decAng.decAng = asin((-0.3979486313076103) * cos((winNor.proShaLen.decAng.nDay / 86400.0 + 10.0) * 0.01720242383895848)) 36 : winNor.proShaLen.zen.zen = acos(0.743378350841816 * cos(winNor.proShaLen.zen.decAng) * cos(winNor.proShaLen.zen.solHouAng) + 0.6688711591178841 * sin(winNor.proShaLen.zen.decAng)) 37 : winNor.proShaLen.tan.y = tan(winNor.proShaLen.tan.u) 38 : winNor.proShaLen.shaLen.y = winNor.proShaLen.shaLen.k * winNor.proShaLen.shaLen.u 39 : winNor.proShaLen.surAzi.y = winNor.proShaLen.surAzi.k 40 : winNor.proShaLen.add.y = winNor.proShaLen.add.u1 - winNor.proShaLen.add.u2 41 : winNor.proShaLen.cos.y = cos(winNor.proShaLen.cos.u) 42 : winNor.proShaLen.proShaLen.y = winNor.proShaLen.proShaLen.u1 * winNor.proShaLen.proShaLen.u2 43 : winNor.proShaLen.solHouAng.solHouAng = 0.2617993877991494 * (-12.0 + 0.0002777777777777778 * winNor.proShaLen.solHouAng.solTim) 44 : winNor.proShaLen.lessThreshold.y = winNor.proShaLen.lessThreshold.u < 1.570796326794897 45 : winNor.proShaLen.switch1.y = if winNor.proShaLen.switch1.u2 then winNor.proShaLen.switch1.u1 else winNor.proShaLen.switch1.u3 46 : winNor.proShaLen.zer.y = 0.0 47 : winNor.depInRoo.y = winNor.depInRoo.k1 * winNor.depInRoo.u1 - winNor.depInRoo.u2 48 : winNor.depth.y = winNor.depth.k 49 : winNor.max.y = max(winNor.max.u1, winNor.max.u2) 50 : winNor.zer.y = 0.0 Notification: Performance of preOpt clockPartitioning (simulation) : time 0.001041/2.899, allocations: 0.783 MB / 0.7729 GB, free: 38.75 MB / 0.5294 GB Error: pre-optimization module clockPartitioning (simulation) failed.