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.001035/0.001036, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001362/0.001363, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.484 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.495/1.495, allocations: 252 MB / 0.5102 GB, free: 4.762 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.0007206/0.0007211, allocations: 20 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5124, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.004626/0.5171, allocations: 3.854 MB / 0.7319 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004555/0.5217, allocations: 2.524 MB / 0.7344 GB, free: 4.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006518/0.5224, allocations: 27.88 kB / 0.7344 GB, free: 4.953 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.5226, allocations: 63.28 kB / 0.7344 GB, free: 4.891 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.001595/0.5242, allocations: 396.5 kB / 0.7348 GB, free: 4.504 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.5248, allocations: 255.6 kB / 0.7351 GB, free: 4.254 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01037/0.5352, allocations: 7.122 MB / 0.742 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.536, allocations: 366.6 kB / 0.7424 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04834/0.5843, allocations: 33.28 MB / 0.7749 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008098/0.5852, allocations: 350.1 kB / 0.7752 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.5855, allocations: 20 kB / 0.7752 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.5858, allocations: 39.98 kB / 0.7753 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.586, allocations: 127.3 kB / 0.7754 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.5864, allocations: 193.2 kB / 0.7756 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.5876, allocations: 0.9701 MB / 0.7765 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.5877, allocations: 4 kB / 0.7765 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5877, allocations: 0 / 0.7765 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.123e-05/0.5878, allocations: 0 / 0.7765 GB, free: 9.73 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.002753/0.5905, allocations: 1.075 MB / 0.7776 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5906, allocations: 12.03 kB / 0.7776 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.5908, allocations: 106.8 kB / 0.7777 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.5919, allocations: 0.6603 MB / 0.7783 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003138/0.5922, allocations: 176.8 kB / 0.7785 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.5924, allocations: 76 kB / 0.7786 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.5941, allocations: 0.8027 MB / 0.7793 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5941, allocations: 0 / 0.7793 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.5942, allocations: 27.98 kB / 0.7794 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.5942, allocations: 20 kB / 0.7794 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.596, allocations: 0.6431 MB / 0.78 GB, free: 6 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.5995, allocations: 2.287 MB / 0.7823 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/0.6033, allocations: 1.054 MB / 0.7833 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008906/0.6042, allocations: 363.3 kB / 0.7836 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.6043, allocations: 31.92 kB / 0.7837 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.6044, allocations: 42.5 kB / 0.7837 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 4.338e-06/0.6044, allocations: 3.984 kB / 0.7837 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.002825/0.6072, allocations: 0.9761 MB / 0.7847 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.6073, allocations: 140.5 kB / 0.7848 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000714/0.608, allocations: 0.5667 MB / 0.7853 GB, free: 400 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.6081, allocations: 33.7 kB / 0.7854 GB, free: 360 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.6084, allocations: 364.7 kB / 0.7857 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.6086, allocations: 252.1 kB / 0.786 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.6086, allocations: 16 kB / 0.786 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.6088, allocations: 386.5 kB / 0.7863 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007618/0.6096, allocations: 241.9 kB / 0.7866 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008143/0.6104, allocations: 360.1 kB / 0.7869 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008537/0.6113, allocations: 286.4 kB / 0.7872 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6113, allocations: 4 kB / 0.7872 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001893/0.6132, allocations: 0.7364 MB / 0.7879 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6132, allocations: 5.719 kB / 0.7879 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6132, allocations: 4 kB / 0.7879 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.6133, allocations: 7.938 kB / 0.7879 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.6141, allocations: 175.9 kB / 0.7881 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.6142, allocations: 11.92 kB / 0.7881 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.6147, allocations: 75.27 kB / 0.7882 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.6148, allocations: 35.92 kB / 0.7882 GB, free: 13.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003206/0.6151, allocations: 241.7 kB / 0.7885 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.6153, allocations: 79.05 kB / 0.7885 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.6181, allocations: 1.113 MB / 0.7896 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.6181, allocations: 12 kB / 0.7896 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6182, allocations: 0 / 0.7896 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.6182, allocations: 7.984 kB / 0.7896 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.6194, allocations: 0.9336 MB / 0.7905 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.6194, allocations: 7.938 kB / 0.7906 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.6205, allocations: 215.8 kB / 0.7908 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.6205, allocations: 11.94 kB / 0.7908 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.6205, allocations: 31.97 kB / 0.7908 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.6206, allocations: 4 kB / 0.7908 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6206, allocations: 0 / 0.7908 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.6228, allocations: 1.241 MB / 0.792 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.6231, allocations: 267.6 kB / 0.7923 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6232, allocations: 24 kB / 0.7923 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.6238, allocations: 39.97 kB / 0.7923 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/0.6239, allocations: 75.83 kB / 0.7924 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.624, allocations: 31.98 kB / 0.7924 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004679/0.6245, allocations: 407.1 kB / 0.7928 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6245, allocations: 4 kB / 0.7928 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007227/0.6252, allocations: 187.5 kB / 0.793 GB, free: 8.371 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 (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.0003198/0.6255, allocations: 153.9 kB / 0.7932 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.6275, allocations: 0.7081 MB / 0.7938 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6275, allocations: 4 kB / 0.7938 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009646/0.6285, allocations: 468.9 kB / 0.7943 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.6291, allocations: 86.92 kB / 0.7944 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.6324, allocations: 1.916 MB / 0.7962 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.6331, allocations: 0.9938 MB / 0.7972 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006418/0.6337, allocations: 142.1 kB / 0.7974 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.634, allocations: 103.4 kB / 0.7975 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.634, allocations: 0 / 0.7975 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.01351/0.6476, allocations: 6.419 MB / 0.8037 GB, free: 13.39 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: