Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 288.4 MB / 303.4 MB, free: 8.215 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.0008971/0.0008973, allocations: 175.6 kB / 372 MB, free: 10.27 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.498/1.498, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0009709/0.0009713, allocations: 104.3 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.000387, allocations: 19.16 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.003463/0.1935, allocations: 3.851 MB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003555/0.197, allocations: 2.555 MB / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000687/0.1978, allocations: 23.94 kB / 0.9859 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.198, allocations: 63.28 kB / 0.9859 GB, free: 21.16 MB / 0.6198 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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.001387/0.1994, allocations: 396.4 kB / 0.9863 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.1999, allocations: 267.6 kB / 0.9865 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006771/0.2006, allocations: 1.104 MB / 0.9876 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.2009, allocations: 354.6 kB / 0.988 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04789/0.2488, allocations: 39.28 MB / 1.026 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006877/0.2496, allocations: 354 kB / 1.027 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.2498, allocations: 24 kB / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.2501, allocations: 55.98 kB / 1.027 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.2502, allocations: 127.2 kB / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.2505, allocations: 189.2 kB / 1.027 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.2517, allocations: 0.9974 MB / 1.028 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2517, allocations: 0 / 1.028 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2517, allocations: 0 / 1.028 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.814e-05/0.2517, allocations: 0 / 1.028 GB, free: 9.973 MB / 0.6511 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.002154/0.2539, allocations: 1.036 MB / 1.029 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.254, allocations: 12.03 kB / 1.029 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.2541, allocations: 102.7 kB / 1.029 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009999/0.2551, allocations: 0.668 MB / 1.03 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/0.2552, allocations: 58 kB / 1.03 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.66e-05/0.2553, allocations: 75.98 kB / 1.03 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.2567, allocations: 0.7481 MB / 1.031 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.2567, allocations: 3.938 kB / 1.031 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.322e-05/0.2568, allocations: 31.95 kB / 1.031 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.2568, allocations: 20 kB / 1.031 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.2579, allocations: 0.5612 MB / 1.031 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/0.2613, allocations: 2.264 MB / 1.033 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.2647, allocations: 0.9643 MB / 1.034 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.2653, allocations: 328.7 kB / 1.035 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/0.2658, allocations: 433.4 kB / 1.035 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.2659, allocations: 50.55 kB / 1.035 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 3.126e-06/0.2659, allocations: 4 kB / 1.035 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.001818/0.2677, allocations: 0.8543 MB / 1.036 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.2678, allocations: 136.5 kB / 1.036 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.2686, allocations: 0.5628 MB / 1.037 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/0.2687, allocations: 41.7 kB / 1.037 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.269, allocations: 352.6 kB / 1.037 GB, free: 328 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.2693, allocations: 264.1 kB / 1.037 GB, free: 60 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.2693, allocations: 12 kB / 1.037 GB, free: 48 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002187/0.2695, allocations: 394.6 kB / 1.038 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.27, allocations: 201.9 kB / 1.038 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/0.2706, allocations: 324.1 kB / 1.038 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.2711, allocations: 248.3 kB / 1.038 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2711, allocations: 0 / 1.038 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001255/0.2724, allocations: 0.6628 MB / 1.039 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.2725, allocations: 8 kB / 1.039 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2725, allocations: 0 / 1.039 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.2725, allocations: 8 kB / 1.039 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.2732, allocations: 155.7 kB / 1.039 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.2733, allocations: 4 kB / 1.039 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.2738, allocations: 63.36 kB / 1.039 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.2739, allocations: 32.09 kB / 1.039 GB, free: 13.93 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003937/0.2743, allocations: 241.7 kB / 1.04 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.2745, allocations: 75.06 kB / 1.04 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.2768, allocations: 1.042 MB / 1.041 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.2768, allocations: 12 kB / 1.041 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2768, allocations: 4 kB / 1.041 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.2768, allocations: 3.984 kB / 1.041 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.2781, allocations: 0.9297 MB / 1.042 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.2782, allocations: 0 / 1.042 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/0.279, allocations: 203.7 kB / 1.042 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.279, allocations: 4 kB / 1.042 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.2791, allocations: 23.98 kB / 1.042 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.2791, allocations: 4 kB / 1.042 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2791, allocations: 8 kB / 1.042 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.2807, allocations: 1.17 MB / 1.043 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.2811, allocations: 267.6 kB / 1.043 GB, free: 9.852 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.2812, allocations: 28 kB / 1.043 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/0.2817, allocations: 20 kB / 1.043 GB, free: 9.805 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.2818, allocations: 71.89 kB / 1.043 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.2819, allocations: 35.98 kB / 1.043 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004971/0.2824, allocations: 403.1 kB / 1.044 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2824, allocations: 3.938 kB / 1.044 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007421/0.2831, allocations: 195.5 kB / 1.044 GB, free: 9.117 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004022/0.2835, allocations: 165.7 kB / 1.044 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.2849, allocations: 0.6335 MB / 1.045 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2849, allocations: 0 / 1.045 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000688/0.2856, allocations: 425 kB / 1.045 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.2863, allocations: 79.94 kB / 1.045 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.2893, allocations: 1.873 MB / 1.047 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.2899, allocations: 0.9977 MB / 1.048 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000602/0.2905, allocations: 142 kB / 1.048 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.2908, allocations: 99.39 kB / 1.048 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of SimCode: time 6.11e-07/0.2908, allocations: 4 kB / 1.048 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of Templates: time 0.01311/0.3039, allocations: 6.399 MB / 1.054 GB, free: 14.31 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)