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.71/1.71, allocations: 288.4 MB / 303.7 MB, free: 8.113 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.0009918/0.0009921, allocations: 168.5 kB / 372.3 MB, free: 10.14 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.534/1.534, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0007357/0.0007357, allocations: 94.23 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.000396, allocations: 16.62 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2292, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.003525/0.2328, allocations: 3.843 MB / 0.9839 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004005/0.2368, allocations: 2.563 MB / 0.9864 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006121/0.2375, allocations: 23.88 kB / 0.9864 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2376, allocations: 63.28 kB / 0.9865 GB, free: 20.81 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.001453/0.2391, allocations: 389.4 kB / 0.9868 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.2396, allocations: 271.6 kB / 0.9871 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008594/0.2405, allocations: 1.108 MB / 0.9882 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005439/0.2411, allocations: 471.8 kB / 0.9886 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5222/0.7633, allocations: 54.58 MB / 1.042 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007178/0.764, allocations: 354.1 kB / 1.042 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.7643, allocations: 23.94 kB / 1.042 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.7646, allocations: 63.95 kB / 1.042 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.7647, allocations: 123.3 kB / 1.042 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.7652, allocations: 407.5 kB / 1.043 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.7664, allocations: 0.9818 MB / 1.044 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7664, allocations: 0 / 1.044 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7664, allocations: 0 / 1.044 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.57e-05/0.7665, allocations: 0 / 1.044 GB, free: 11.25 MB / 0.6667 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.002151/0.7687, allocations: 1.032 MB / 1.045 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7687, allocations: 8.031 kB / 1.045 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.7689, allocations: 107.6 kB / 1.045 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/0.7699, allocations: 0.696 MB / 1.046 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.7699, allocations: 58.38 kB / 1.046 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.7701, allocations: 76.12 kB / 1.046 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.7714, allocations: 0.7481 MB / 1.046 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.7714, allocations: 4 kB / 1.046 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/0.7715, allocations: 28 kB / 1.047 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.7715, allocations: 20 kB / 1.047 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.7727, allocations: 0.5612 MB / 1.047 GB, free: 7.809 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.7761, allocations: 2.268 MB / 1.049 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/0.7794, allocations: 0.9703 MB / 1.05 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/0.7801, allocations: 330.4 kB / 1.051 GB, free: 4.141 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.7805, allocations: 429.5 kB / 1.051 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.7806, allocations: 54.48 kB / 1.051 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=80): time 3.207e-06/0.7806, allocations: 0 / 1.051 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80): time 0.002014/0.7826, allocations: 0.8483 MB / 1.052 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.7827, allocations: 144.4 kB / 1.052 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/0.7834, allocations: 0.5589 MB / 1.053 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.7835, allocations: 37.7 kB / 1.053 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.7837, allocations: 364.6 kB / 1.053 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.7839, allocations: 256 kB / 1.053 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.784, allocations: 16 kB / 1.053 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7841, allocations: 386.7 kB / 1.054 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.7845, allocations: 205.8 kB / 1.054 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.785, allocations: 312.2 kB / 1.054 GB, free: 380 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.786, allocations: 0.5481 MB / 1.055 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.786, allocations: 0 / 1.055 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001244/0.7873, allocations: 0.6602 MB / 1.055 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.7873, allocations: 4 kB / 1.055 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7873, allocations: 4 kB / 1.055 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.7873, allocations: 4.125 kB / 1.055 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.7881, allocations: 155.8 kB / 1.055 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.7881, allocations: 7.938 kB / 1.055 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.7886, allocations: 63.36 kB / 1.055 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.7886, allocations: 35.91 kB / 1.055 GB, free: 14.87 MB / 0.6823 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.0003104/0.7889, allocations: 235.2 kB / 1.056 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.7891, allocations: 78.97 kB / 1.056 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.7911, allocations: 1.027 MB / 1.057 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.7911, allocations: 12 kB / 1.057 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7911, allocations: 4 kB / 1.057 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.7911, allocations: 7.984 kB / 1.057 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.7924, allocations: 0.9219 MB / 1.058 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7924, allocations: 7.984 kB / 1.058 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/0.7932, allocations: 203.7 kB / 1.058 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.7932, allocations: 4 kB / 1.058 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/0.7933, allocations: 27.98 kB / 1.058 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.7933, allocations: 11.94 kB / 1.058 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7933, allocations: 0 / 1.058 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.7949, allocations: 1.167 MB / 1.059 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.7952, allocations: 271.6 kB / 1.059 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.7953, allocations: 20 kB / 1.059 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.7958, allocations: 27.94 kB / 1.059 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.7959, allocations: 75.77 kB / 1.059 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.796, allocations: 35.98 kB / 1.059 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004893/0.7964, allocations: 407.1 kB / 1.06 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.275e-06/0.7965, allocations: 0 / 1.06 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007267/0.7972, allocations: 203.4 kB / 1.06 GB, free: 10.05 MB / 0.6823 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.0003774/0.7976, allocations: 154.9 kB / 1.06 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.7988, allocations: 0.6261 MB / 1.061 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7988, allocations: 8 kB / 1.061 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006322/0.7995, allocations: 425 kB / 1.061 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.8002, allocations: 78.98 kB / 1.061 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.803, allocations: 1.873 MB / 1.063 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.8036, allocations: 1.002 MB / 1.064 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000593/0.8042, allocations: 146 kB / 1.064 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.8044, allocations: 95.39 kB / 1.064 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of SimCode: time 9.31e-07/0.8044, allocations: 0 / 1.064 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.3905/1.195, allocations: 6.395 MB / 1.071 GB, free: 90.46 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)