Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001197/0.001197, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 189.5 kB / 16.62 MB, free: 6.613 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.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.791/1.791, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.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.00152/0.00152, allocations: 62.66 kB / 0.6722 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.209, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.00564/0.2147, allocations: 4.514 MB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004655/0.2194, allocations: 2.726 MB / 0.7912 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.2199, allocations: 23.88 kB / 0.7912 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.2202, allocations: 102.7 kB / 0.7913 GB, free: 5.316 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001461/0.2216, allocations: 484.3 kB / 0.7918 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.2223, allocations: 419.5 kB / 0.7922 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.2235, allocations: 1.264 MB / 0.7934 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006179/0.2241, allocations: 0.492 MB / 0.7939 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2726/0.4967, allocations: 46.3 MB / 0.8391 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008485/0.4976, allocations: 485.7 kB / 0.8396 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.4979, allocations: 116 kB / 0.8397 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.4984, allocations: 148 kB / 0.8398 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.4986, allocations: 247.1 kB / 0.84 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006597/0.4993, allocations: 0.5092 MB / 0.8405 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.5009, allocations: 1.339 MB / 0.8418 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5009, allocations: 0 / 0.8418 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5009, allocations: 0 / 0.8418 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.45e-05/0.501, allocations: 0 / 0.8418 GB, free: 3.598 MB / 0.6544 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.002656/0.5036, allocations: 1.227 MB / 0.843 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5037, allocations: 12.03 kB / 0.8431 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.5039, allocations: 103.6 kB / 0.8432 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/0.5079, allocations: 0.7116 MB / 0.8438 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.508, allocations: 54.38 kB / 0.8439 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.5081, allocations: 80.12 kB / 0.844 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.51, allocations: 0.756 MB / 0.8447 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.51, allocations: 0 / 0.8447 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.5101, allocations: 35.94 kB / 0.8447 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.5101, allocations: 19.94 kB / 0.8448 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.5115, allocations: 0.5652 MB / 0.8453 GB, free: 15.92 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/0.5154, allocations: 2.233 MB / 0.8475 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.5188, allocations: 0.9686 MB / 0.8484 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.5193, allocations: 341.6 kB / 0.8488 GB, free: 12.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004107/0.5198, allocations: 425.5 kB / 0.8492 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.5198, allocations: 42.56 kB / 0.8492 GB, free: 11.72 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 2.194e-06/0.5198, allocations: 0 / 0.8492 GB, free: 11.72 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.001892/0.5217, allocations: 0.8616 MB / 0.8501 GB, free: 10.86 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.5218, allocations: 136.5 kB / 0.8502 GB, free: 10.69 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.5225, allocations: 0.5745 MB / 0.8507 GB, free: 10.11 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.5226, allocations: 41.7 kB / 0.8508 GB, free: 10.06 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.5228, allocations: 360.5 kB / 0.8511 GB, free: 9.703 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.523, allocations: 264.1 kB / 0.8514 GB, free: 9.441 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.5232, allocations: 130.5 kB / 0.8515 GB, free: 9.305 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5234, allocations: 386.7 kB / 0.8519 GB, free: 8.918 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/0.5238, allocations: 205.9 kB / 0.8521 GB, free: 8.719 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/0.5243, allocations: 324.1 kB / 0.8524 GB, free: 8.363 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009745/0.5253, allocations: 0.545 MB / 0.8529 GB, free: 7.801 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5253, allocations: 0 / 0.8529 GB, free: 7.801 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001281/0.5266, allocations: 0.6637 MB / 0.8536 GB, free: 7.133 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5267, allocations: 7.906 kB / 0.8536 GB, free: 7.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5267, allocations: 4 kB / 0.8536 GB, free: 7.121 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.5267, allocations: 8.125 kB / 0.8536 GB, free: 7.113 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/0.5274, allocations: 155.8 kB / 0.8537 GB, free: 6.961 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.5274, allocations: 8 kB / 0.8537 GB, free: 6.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.5279, allocations: 67.34 kB / 0.8538 GB, free: 6.887 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.528, allocations: 35.91 kB / 0.8538 GB, free: 6.852 MB / 0.67 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.0003358/0.5283, allocations: 234.4 kB / 0.8541 GB, free: 6.613 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.5285, allocations: 78.97 kB / 0.8541 GB, free: 6.535 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.5306, allocations: 1.038 MB / 0.8551 GB, free: 5.484 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.5307, allocations: 19.94 kB / 0.8552 GB, free: 5.465 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5307, allocations: 0 / 0.8552 GB, free: 5.465 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.5307, allocations: 3.984 kB / 0.8552 GB, free: 5.461 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.532, allocations: 0.9258 MB / 0.8561 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.532, allocations: 0 / 0.8561 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007973/0.5328, allocations: 207.7 kB / 0.8563 GB, free: 4.281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/0.5328, allocations: 4 kB / 0.8563 GB, free: 4.277 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.088e-05/0.5329, allocations: 23.98 kB / 0.8563 GB, free: 4.254 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.5329, allocations: 4 kB / 0.8563 GB, free: 4.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5329, allocations: 4 kB / 0.8563 GB, free: 4.246 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.5346, allocations: 1.174 MB / 0.8575 GB, free: 3.055 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.5349, allocations: 267.6 kB / 0.8577 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5351, allocations: 24 kB / 0.8577 GB, free: 2.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.5355, allocations: 20 kB / 0.8578 GB, free: 2.73 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.5357, allocations: 75.83 kB / 0.8578 GB, free: 2.656 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.5357, allocations: 35.98 kB / 0.8579 GB, free: 2.621 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004551/0.5362, allocations: 407.1 kB / 0.8582 GB, free: 2.23 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5362, allocations: 4 kB / 0.8583 GB, free: 2.227 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007179/0.5369, allocations: 203.5 kB / 0.8584 GB, free: 2.027 MB / 0.67 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.0003192/0.5372, allocations: 154.9 kB / 0.8586 GB, free: 1.863 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.5385, allocations: 0.6382 MB / 0.8592 GB, free: 1.227 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5385, allocations: 4.25 kB / 0.8592 GB, free: 1.223 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.5392, allocations: 427.5 kB / 0.8596 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.5399, allocations: 78.98 kB / 0.8597 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.5433, allocations: 1.523 MB / 0.8612 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.5439, allocations: 0.9974 MB / 0.8622 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004524/0.5443, allocations: 146 kB / 0.8623 GB, free: 14 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.5446, allocations: 95.39 kB / 0.8624 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of SimCode: time 2.81e-07/0.5446, allocations: 0 / 0.8624 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of Templates: time 0.01482/0.5594, allocations: 6.958 MB / 0.8692 GB, free: 6.98 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)