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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 178.9 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.4 MB / 0.5783 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008456/0.0008456, allocations: 90.05 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003538, allocations: 8.719 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3331, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.00395/0.3371, allocations: 3.855 MB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004/0.3411, allocations: 2.532 MB / 0.9071 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005471/0.3417, allocations: 23.88 kB / 0.9071 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.3419, allocations: 67.27 kB / 0.9071 GB, free: 57.4 MB / 0.6042 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.001409/0.3433, allocations: 391.6 kB / 0.9075 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.3438, allocations: 263.6 kB / 0.9078 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00846/0.3523, allocations: 7.118 MB / 0.9147 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.353, allocations: 358.6 kB / 0.9151 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03852/0.3915, allocations: 33.28 MB / 0.9476 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/0.3922, allocations: 354.1 kB / 0.9479 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.3923, allocations: 20 kB / 0.9479 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.3925, allocations: 39.98 kB / 0.948 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.3926, allocations: 131.2 kB / 0.9481 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.3929, allocations: 189.2 kB / 0.9483 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008905/0.3938, allocations: 0.9702 MB / 0.9492 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.3938, allocations: 0 / 0.9492 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3938, allocations: 0 / 0.9492 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.3938, allocations: 0 / 0.9492 GB, free: 14.25 MB / 0.6042 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.002282/0.3961, allocations: 1.083 MB / 0.9503 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3962, allocations: 8.031 kB / 0.9503 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.3963, allocations: 106.8 kB / 0.9504 GB, free: 13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/0.3972, allocations: 0.668 MB / 0.951 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.3975, allocations: 180.8 kB / 0.9512 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.3976, allocations: 76 kB / 0.9513 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.3992, allocations: 0.7949 MB / 0.9521 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.3993, allocations: 0 / 0.9521 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.3994, allocations: 36 kB / 0.9521 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.3994, allocations: 16 kB / 0.9521 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.4011, allocations: 0.6392 MB / 0.9527 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.4042, allocations: 2.287 MB / 0.955 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/0.4082, allocations: 1.048 MB / 0.956 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009229/0.4091, allocations: 367.3 kB / 0.9563 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/0.4092, allocations: 35.84 kB / 0.9564 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4092, allocations: 42.56 kB / 0.9564 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=80): time 4.689e-06/0.4093, allocations: 0 / 0.9564 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80): time 0.002789/0.4121, allocations: 0.9706 MB / 0.9574 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.4121, allocations: 136.5 kB / 0.9575 GB, free: 5.492 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.4127, allocations: 0.5745 MB / 0.958 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.4128, allocations: 41.7 kB / 0.9581 GB, free: 4.859 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.413, allocations: 352.5 kB / 0.9584 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.4131, allocations: 264.1 kB / 0.9587 GB, free: 4.246 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.4132, allocations: 12 kB / 0.9587 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4133, allocations: 386.7 kB / 0.9591 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008275/0.4141, allocations: 241.9 kB / 0.9593 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008256/0.4149, allocations: 360.1 kB / 0.9596 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.416, allocations: 292 kB / 0.9599 GB, free: 2.938 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.416, allocations: 0 / 0.9599 GB, free: 2.938 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001847/0.4178, allocations: 0.7347 MB / 0.9606 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.4179, allocations: 8 kB / 0.9606 GB, free: 2.191 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4179, allocations: 4 kB / 0.9606 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.4179, allocations: 4 kB / 0.9606 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/0.4188, allocations: 175.7 kB / 0.9608 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.4188, allocations: 4 kB / 0.9608 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.4197, allocations: 91.31 kB / 0.9609 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/0.4198, allocations: 31.97 kB / 0.9609 GB, free: 1.887 MB / 0.6042 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.0004474/0.4203, allocations: 237.7 kB / 0.9612 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.4205, allocations: 75.06 kB / 0.9612 GB, free: 1.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.4232, allocations: 1.115 MB / 0.9623 GB, free: 452 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.4232, allocations: 16 kB / 0.9623 GB, free: 436 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4232, allocations: 0 / 0.9623 GB, free: 436 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.4232, allocations: 11.97 kB / 0.9623 GB, free: 424 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.4245, allocations: 0.9297 MB / 0.9633 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4245, allocations: 0 / 0.9633 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.4256, allocations: 223.7 kB / 0.9635 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/0.4257, allocations: 4 kB / 0.9635 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.4257, allocations: 31.98 kB / 0.9635 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.4258, allocations: 4 kB / 0.9635 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4258, allocations: 0 / 0.9635 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.4282, allocations: 1.249 MB / 0.9647 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.4286, allocations: 271.6 kB / 0.965 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-05/0.4287, allocations: 20 kB / 0.965 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/0.4294, allocations: 39.98 kB / 0.965 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.4295, allocations: 71.89 kB / 0.9651 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.4296, allocations: 35.98 kB / 0.9651 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005375/0.4302, allocations: 403.1 kB / 0.9655 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4302, allocations: 0 / 0.9655 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007517/0.4309, allocations: 195.5 kB / 0.9657 GB, free: 12.88 MB / 0.6198 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.0003715/0.4313, allocations: 156.3 kB / 0.9659 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.4334, allocations: 0.7079 MB / 0.9666 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4335, allocations: 0 / 0.9666 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.4346, allocations: 468.4 kB / 0.967 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.4353, allocations: 75 kB / 0.9671 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.4388, allocations: 1.957 MB / 0.969 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.4394, allocations: 0.9938 MB / 0.97 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.4398, allocations: 115.4 kB / 0.9701 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.4398, allocations: 0 / 0.9701 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of Templates: time 0.01696/0.4568, allocations: 10.11 MB / 0.9799 GB, free: 14.27 MB / 0.6355 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)