Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001688/0.001688, allocations: 189.5 kB / 16.13 MB, free: 6.66 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.376/1.376, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.6 MB / 0.5088 GB, free: 3.355 MB / 414.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.00126/0.00126, allocations: 59.91 kB / 0.6215 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4259, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.004913/0.4309, allocations: 4.516 MB / 0.7282 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003786/0.4347, allocations: 2.64 MB / 0.7308 GB, free: 5.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.435, allocations: 19.94 kB / 0.7308 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.4353, allocations: 67.27 kB / 0.7309 GB, free: 5.895 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.001134/0.4364, allocations: 405.4 kB / 0.7313 GB, free: 5.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.4369, allocations: 391.7 kB / 0.7316 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.09385/0.5307, allocations: 7.661 MB / 0.7391 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008986/0.5317, allocations: 483.7 kB / 0.7396 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5475/1.079, allocations: 35.88 MB / 0.7746 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008192/1.08, allocations: 445.7 kB / 0.775 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000284/1.08, allocations: 44 kB / 0.7751 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/1.081, allocations: 56 kB / 0.7751 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/1.081, allocations: 171.1 kB / 0.7753 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006258/1.082, allocations: 457.4 kB / 0.7757 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/1.083, allocations: 1.223 MB / 0.7769 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.083, allocations: 0 / 0.7769 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/1.083, allocations: 0 / 0.7769 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.94e-05/1.083, allocations: 4 kB / 0.7769 GB, free: 8.855 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003095/1.086, allocations: 1.269 MB / 0.7782 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.086, allocations: 8.031 kB / 0.7782 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/1.086, allocations: 103.7 kB / 0.7783 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/1.087, allocations: 0.692 MB / 0.7789 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/1.088, allocations: 181.4 kB / 0.7791 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.088, allocations: 75.94 kB / 0.7792 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/1.09, allocations: 0.7988 MB / 0.78 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/1.09, allocations: 0 / 0.78 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/1.09, allocations: 32 kB / 0.78 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/1.09, allocations: 16 kB / 0.78 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/1.092, allocations: 0.6392 MB / 0.7806 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/1.096, allocations: 2.264 MB / 0.7829 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/1.1, allocations: 1.058 MB / 0.7839 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.101, allocations: 363.3 kB / 0.7842 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.581e-05/1.101, allocations: 19.97 kB / 0.7843 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/1.101, allocations: 54.48 kB / 0.7843 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 4.328e-06/1.102, allocations: 0 / 0.7843 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.003483/1.105, allocations: 0.9682 MB / 0.7853 GB, free: 80 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.105, allocations: 140.5 kB / 0.7854 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/1.106, allocations: 0.5706 MB / 0.7859 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/1.106, allocations: 37.7 kB / 0.786 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/1.106, allocations: 356.5 kB / 0.7863 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/1.107, allocations: 260.1 kB / 0.7866 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/1.107, allocations: 138.5 kB / 0.7867 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002118/1.107, allocations: 386.7 kB / 0.7871 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008632/1.108, allocations: 241.8 kB / 0.7873 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009496/1.109, allocations: 356.1 kB / 0.7876 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/1.111, allocations: 0.6056 MB / 0.7882 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.111, allocations: 0 / 0.7882 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00206/1.113, allocations: 0.7279 MB / 0.7889 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.113, allocations: 11.88 kB / 0.789 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.113, allocations: 4.125 kB / 0.789 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.113, allocations: 11.98 kB / 0.789 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/1.114, allocations: 167.8 kB / 0.7891 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.114, allocations: 4 kB / 0.7891 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006634/1.115, allocations: 79.28 kB / 0.7892 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/1.115, allocations: 35.97 kB / 0.7892 GB, free: 11.86 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003272/1.115, allocations: 229.7 kB / 0.7895 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/1.115, allocations: 75.06 kB / 0.7895 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/1.118, allocations: 1.109 MB / 0.7906 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/1.118, allocations: 12 kB / 0.7906 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.118, allocations: 0 / 0.7906 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.118, allocations: 15.91 kB / 0.7906 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/1.12, allocations: 0.9298 MB / 0.7916 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.12, allocations: 3.938 kB / 0.7916 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/1.121, allocations: 219.7 kB / 0.7918 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/1.121, allocations: 4 kB / 0.7918 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/1.121, allocations: 27.98 kB / 0.7918 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/1.121, allocations: 11.98 kB / 0.7918 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.121, allocations: 4 kB / 0.7918 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/1.123, allocations: 1.238 MB / 0.793 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/1.123, allocations: 267.6 kB / 0.7933 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.123, allocations: 20 kB / 0.7933 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/1.124, allocations: 35.98 kB / 0.7933 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.124, allocations: 75.83 kB / 0.7934 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/1.124, allocations: 35.98 kB / 0.7934 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004654/1.125, allocations: 407.1 kB / 0.7938 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.125, allocations: 0 / 0.7938 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000731/1.125, allocations: 199.4 kB / 0.794 GB, free: 6.871 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003475/1.126, allocations: 158.8 kB / 0.7942 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001979/1.128, allocations: 0.7199 MB / 0.7949 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.128, allocations: 0 / 0.7949 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.129, allocations: 468.9 kB / 0.7953 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/1.13, allocations: 71 kB / 0.7954 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/1.133, allocations: 1.981 MB / 0.7973 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/1.133, allocations: 0.9977 MB / 0.7983 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005866/1.134, allocations: 138.1 kB / 0.7984 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/1.134, allocations: 99.38 kB / 0.7985 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/1.134, allocations: 0 / 0.7985 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.01234/1.146, allocations: 6.698 MB / 0.8051 GB, free: 11.52 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)