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.001404/0.001405, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001083/0.001083, allocations: 189.4 kB / 16.25 MB, free: 6.625 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.36/1.36, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.526/1.526, allocations: 251.7 MB / 0.5089 GB, free: 3.27 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.001464/0.001464, allocations: 59.91 kB / 0.6217 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4443, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.005672/0.45, allocations: 4.52 MB / 0.7284 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004663/0.4548, allocations: 2.629 MB / 0.731 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007625/0.4556, allocations: 19.94 kB / 0.731 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.4559, allocations: 67.27 kB / 0.731 GB, free: 5.84 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.001749/0.4577, allocations: 422 kB / 0.7314 GB, free: 5.426 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007164/0.4584, allocations: 391.6 kB / 0.7318 GB, free: 5.043 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0939/0.5523, allocations: 8.288 MB / 0.7399 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.5535, allocations: 0.4919 MB / 0.7404 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5533/1.107, allocations: 38.94 MB / 0.7784 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008533/1.108, allocations: 477.7 kB / 0.7789 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003836/1.108, allocations: 112 kB / 0.779 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/1.108, allocations: 136 kB / 0.7791 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/1.109, allocations: 251.1 kB / 0.7794 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007822/1.109, allocations: 0.5092 MB / 0.7798 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/1.111, allocations: 1.273 MB / 0.7811 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.111, allocations: 0 / 0.7811 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/1.111, allocations: 0 / 0.7811 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.39e-05/1.111, allocations: 0 / 0.7811 GB, free: 4.691 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.003376/1.115, allocations: 1.274 MB / 0.7823 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/1.115, allocations: 8.031 kB / 0.7823 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/1.115, allocations: 103.7 kB / 0.7824 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/1.116, allocations: 0.692 MB / 0.7831 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/1.117, allocations: 185.4 kB / 0.7833 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/1.117, allocations: 83.92 kB / 0.7834 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/1.119, allocations: 0.7871 MB / 0.7841 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.119, allocations: 0 / 0.7841 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/1.119, allocations: 32 kB / 0.7842 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/1.119, allocations: 16 kB / 0.7842 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/1.121, allocations: 0.6392 MB / 0.7848 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/1.125, allocations: 2.272 MB / 0.787 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004672/1.129, allocations: 1.037 MB / 0.788 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/1.13, allocations: 373.5 kB / 0.7884 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.976e-05/1.13, allocations: 27.89 kB / 0.7884 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.131, allocations: 46.5 kB / 0.7885 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.347e-06/1.131, allocations: 0 / 0.7885 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.003079/1.134, allocations: 0.9743 MB / 0.7894 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.134, allocations: 140.5 kB / 0.7896 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/1.135, allocations: 0.5706 MB / 0.7901 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/1.135, allocations: 41.7 kB / 0.7902 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/1.135, allocations: 348.6 kB / 0.7905 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/1.135, allocations: 260.1 kB / 0.7907 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/1.136, allocations: 138.5 kB / 0.7909 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001868/1.136, allocations: 382.7 kB / 0.7912 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008604/1.137, allocations: 241.9 kB / 0.7915 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009228/1.138, allocations: 360.1 kB / 0.7918 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/1.139, allocations: 0.5977 MB / 0.7924 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.139, allocations: 4 kB / 0.7924 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00222/1.142, allocations: 0.7395 MB / 0.7931 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/1.142, allocations: 4 kB / 0.7931 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.142, allocations: 4 kB / 0.7931 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.142, allocations: 4 kB / 0.7931 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/1.143, allocations: 171.9 kB / 0.7933 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/1.143, allocations: 7.938 kB / 0.7933 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007489/1.144, allocations: 79.28 kB / 0.7934 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/1.144, allocations: 31.97 kB / 0.7934 GB, free: 7.691 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.0004348/1.144, allocations: 237.7 kB / 0.7936 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/1.144, allocations: 75.06 kB / 0.7937 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/1.147, allocations: 1.113 MB / 0.7948 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.147, allocations: 12 kB / 0.7948 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/1.147, allocations: 0 / 0.7948 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.147, allocations: 15.91 kB / 0.7948 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/1.149, allocations: 0.9181 MB / 0.7957 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/1.149, allocations: 0 / 0.7957 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.15, allocations: 219.7 kB / 0.7959 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/1.15, allocations: 4 kB / 0.7959 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/1.15, allocations: 31.98 kB / 0.796 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/1.15, allocations: 11.94 kB / 0.796 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.15, allocations: 4 kB / 0.796 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/1.153, allocations: 1.241 MB / 0.7972 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/1.153, allocations: 267.6 kB / 0.7974 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.153, allocations: 23.98 kB / 0.7975 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/1.154, allocations: 35.98 kB / 0.7975 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.154, allocations: 71.83 kB / 0.7976 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/1.154, allocations: 39.98 kB / 0.7976 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004888/1.155, allocations: 407.1 kB / 0.798 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.8e-07/1.155, allocations: 7.938 kB / 0.798 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007681/1.156, allocations: 199.4 kB / 0.7982 GB, free: 2.691 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.0004432/1.156, allocations: 154.8 kB / 0.7983 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002512/1.159, allocations: 0.7666 MB / 0.7991 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.159, allocations: 0 / 0.7991 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/1.16, allocations: 468.9 kB / 0.7995 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/1.16, allocations: 75 kB / 0.7996 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/1.164, allocations: 1.971 MB / 0.8015 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/1.165, allocations: 1.001 MB / 0.8025 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008104/1.166, allocations: 138.1 kB / 0.8026 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/1.166, allocations: 99.38 kB / 0.8027 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/1.166, allocations: 0 / 0.8027 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of Templates: time 0.01518/1.181, allocations: 6.987 MB / 0.8096 GB, free: 7.016 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)