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.397/1.397, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001076/0.001076, allocations: 175.1 kB / 326.5 MB, free: 2.672 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.811/1.811, allocations: 205 MB / 0.5766 GB, free: 20.94 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.0007841/0.0007841, allocations: 98.28 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 9.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1952, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.003458/0.1987, allocations: 4.199 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003535/0.2023, allocations: 2.632 MB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.2028, allocations: 23.88 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.203, allocations: 67.27 kB / 0.9035 GB, free: 61.21 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.001283/0.2043, allocations: 409.2 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.2048, allocations: 403.6 kB / 0.9043 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.1216/0.3264, allocations: 7.644 MB / 0.9117 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008019/0.3272, allocations: 471.8 kB / 0.9122 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7179/1.045, allocations: 35.82 MB / 0.9471 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006709/1.046, allocations: 369.8 kB / 0.9475 GB, free: 16.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000227/1.046, allocations: 20 kB / 0.9475 GB, free: 16.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/1.046, allocations: 35.98 kB / 0.9476 GB, free: 16.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/1.046, allocations: 143.2 kB / 0.9477 GB, free: 16.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004755/1.047, allocations: 397.4 kB / 0.9481 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009784/1.048, allocations: 0.974 MB / 0.949 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.048, allocations: 0 / 0.949 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/1.048, allocations: 0 / 0.949 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.254e-05/1.048, allocations: 0 / 0.949 GB, free: 15.34 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.002449/1.05, allocations: 1.078 MB / 0.9501 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.051, allocations: 8.031 kB / 0.9501 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/1.051, allocations: 103.7 kB / 0.9502 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009434/1.052, allocations: 0.6844 MB / 0.9508 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002776/1.052, allocations: 193.3 kB / 0.951 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/1.052, allocations: 79.88 kB / 0.9511 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/1.054, allocations: 0.795 MB / 0.9519 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/1.054, allocations: 4 kB / 0.9519 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/1.054, allocations: 28 kB / 0.9519 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/1.054, allocations: 20 kB / 0.9519 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/1.056, allocations: 0.647 MB / 0.9526 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/1.059, allocations: 2.287 MB / 0.9548 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/1.062, allocations: 1.062 MB / 0.9558 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007739/1.063, allocations: 369.3 kB / 0.9562 GB, free: 7.758 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/1.063, allocations: 19.97 kB / 0.9562 GB, free: 7.738 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/1.063, allocations: 46.5 kB / 0.9563 GB, free: 7.684 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=80): time 2.084e-06/1.063, allocations: 0 / 0.9563 GB, free: 7.684 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80): time 0.002404/1.065, allocations: 0.9824 MB / 0.9572 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/1.065, allocations: 136.5 kB / 0.9573 GB, free: 6.535 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/1.066, allocations: 0.5705 MB / 0.9579 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/1.066, allocations: 41.7 kB / 0.9579 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/1.066, allocations: 344.7 kB / 0.9583 GB, free: 5.562 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/1.066, allocations: 276 kB / 0.9585 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/1.066, allocations: 57.69 kB / 0.9586 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.288e-05/1.066, allocations: 386.7 kB / 0.959 GB, free: 4.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006761/1.067, allocations: 245.9 kB / 0.9592 GB, free: 4.602 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/1.068, allocations: 360.1 kB / 0.9595 GB, free: 4.211 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/1.069, allocations: 0.6136 MB / 0.9601 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.069, allocations: 0 / 0.9601 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001685/1.071, allocations: 0.747 MB / 0.9609 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.071, allocations: 4 kB / 0.9609 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.071, allocations: 4 kB / 0.9609 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.071, allocations: 4 kB / 0.9609 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/1.072, allocations: 175.9 kB / 0.961 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.072, allocations: 7.938 kB / 0.961 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/1.072, allocations: 87.28 kB / 0.9611 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/1.072, allocations: 27.97 kB / 0.9612 GB, free: 2.523 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002605/1.073, allocations: 237.7 kB / 0.9614 GB, free: 2.281 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/1.073, allocations: 79.09 kB / 0.9615 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/1.075, allocations: 1.108 MB / 0.9625 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.075, allocations: 15.98 kB / 0.9626 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.075, allocations: 0 / 0.9626 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.075, allocations: 11.86 kB / 0.9626 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/1.076, allocations: 0.9336 MB / 0.9635 GB, free: 72 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.076, allocations: 4 kB / 0.9635 GB, free: 68 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009469/1.077, allocations: 219.8 kB / 0.9637 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/1.077, allocations: 4 kB / 0.9637 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/1.077, allocations: 31.97 kB / 0.9637 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/1.077, allocations: 8 kB / 0.9637 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.077, allocations: 0 / 0.9637 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/1.08, allocations: 1.245 MB / 0.965 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/1.08, allocations: 271.6 kB / 0.9652 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.08, allocations: 28 kB / 0.9652 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/1.081, allocations: 39.97 kB / 0.9653 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.081, allocations: 67.84 kB / 0.9653 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/1.081, allocations: 35.98 kB / 0.9654 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005153/1.082, allocations: 415.1 kB / 0.9658 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/1.082, allocations: 4 kB / 0.9658 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007032/1.082, allocations: 195.4 kB / 0.966 GB, free: 13.5 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 (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.0003345/1.083, allocations: 150.8 kB / 0.9661 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001883/1.084, allocations: 0.7237 MB / 0.9668 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.084, allocations: 0 / 0.9668 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.086, allocations: 472.4 kB / 0.9673 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/1.086, allocations: 75 kB / 0.9673 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/1.09, allocations: 2.018 MB / 0.9693 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/1.09, allocations: 1.002 MB / 0.9703 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/1.091, allocations: 107.4 kB / 0.9704 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/1.091, allocations: 0 / 0.9704 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of Templates: time 0.01723/1.108, allocations: 10.08 MB / 0.9802 GB, free: 14.81 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)