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.001031/0.001031, allocations: 107.2 kB / 15.99 MB, free: 5.891 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.001037/0.001038, allocations: 194.7 kB / 16.91 MB, free: 5.746 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.376/1.376, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.68/1.68, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.002143/0.002143, allocations: 71.23 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2323, allocations: 114.6 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.00606/0.2384, allocations: 4.512 MB / 0.7879 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004742/0.2432, allocations: 2.664 MB / 0.7905 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008304/0.2441, allocations: 23.88 kB / 0.7905 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.2446, allocations: 67.28 kB / 0.7906 GB, free: 6.633 MB / 0.6075 GB [/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.001936/0.2465, allocations: 417.2 kB / 0.791 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.2473, allocations: 383.6 kB / 0.7914 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.2488, allocations: 1.249 MB / 0.7926 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007357/0.2495, allocations: 499.8 kB / 0.7931 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6437/0.8933, allocations: 45.97 MB / 0.838 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008237/0.8941, allocations: 481.7 kB / 0.8384 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.8945, allocations: 116 kB / 0.8385 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.895, allocations: 156 kB / 0.8387 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.8952, allocations: 239.2 kB / 0.8389 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.8959, allocations: 0.513 MB / 0.8394 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.8974, allocations: 1.025 MB / 0.8404 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.8975, allocations: 4 kB / 0.8404 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.597e-06/0.8975, allocations: 0 / 0.8404 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.803e-05/0.8975, allocations: 3.938 kB / 0.8404 GB, free: 5.66 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.00268/0.9002, allocations: 1.223 MB / 0.8416 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.9003, allocations: 12.03 kB / 0.8416 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.9005, allocations: 107.6 kB / 0.8417 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.9016, allocations: 0.6844 MB / 0.8424 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.9016, allocations: 58.38 kB / 0.8424 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.9017, allocations: 80.12 kB / 0.8425 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.9031, allocations: 0.752 MB / 0.8433 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.9032, allocations: 0 / 0.8433 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.9032, allocations: 28 kB / 0.8433 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.9033, allocations: 20 kB / 0.8433 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.9044, allocations: 0.569 MB / 0.8439 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.9079, allocations: 2.256 MB / 0.8461 GB, free: 15.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.9112, allocations: 0.9764 MB / 0.847 GB, free: 14.69 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005958/0.9119, allocations: 329.7 kB / 0.8473 GB, free: 14.36 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004294/0.9123, allocations: 433.5 kB / 0.8477 GB, free: 13.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.9123, allocations: 46.5 kB / 0.8478 GB, free: 13.79 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 3.045e-06/0.9124, allocations: 0 / 0.8478 GB, free: 13.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.001839/0.9142, allocations: 0.8578 MB / 0.8486 GB, free: 12.93 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.9143, allocations: 148.4 kB / 0.8488 GB, free: 12.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/0.915, allocations: 0.5706 MB / 0.8493 GB, free: 12.17 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.915, allocations: 37.7 kB / 0.8494 GB, free: 12.13 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.9153, allocations: 352.5 kB / 0.8497 GB, free: 11.78 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.9155, allocations: 268.1 kB / 0.8499 GB, free: 11.51 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.9157, allocations: 134.5 kB / 0.8501 GB, free: 11.37 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.9159, allocations: 378.7 kB / 0.8504 GB, free: 10.99 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.9163, allocations: 221.8 kB / 0.8506 GB, free: 10.78 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.917, allocations: 316.2 kB / 0.851 GB, free: 10.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/0.918, allocations: 0.5529 MB / 0.8515 GB, free: 9.863 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.918, allocations: 0 / 0.8515 GB, free: 9.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0013/0.9193, allocations: 0.6675 MB / 0.8521 GB, free: 9.191 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.9193, allocations: 4 kB / 0.8521 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9193, allocations: 0 / 0.8521 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.9194, allocations: 8 kB / 0.8522 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.9201, allocations: 155.8 kB / 0.8523 GB, free: 9.027 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.9201, allocations: 4 kB / 0.8523 GB, free: 9.023 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.9206, allocations: 63.36 kB / 0.8524 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.9207, allocations: 31.91 kB / 0.8524 GB, free: 8.93 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.0003715/0.9211, allocations: 242.4 kB / 0.8526 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.9213, allocations: 82.97 kB / 0.8527 GB, free: 8.602 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.9234, allocations: 1.026 MB / 0.8537 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.9234, allocations: 16 kB / 0.8537 GB, free: 7.547 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.9234, allocations: 4 kB / 0.8537 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.9234, allocations: 7.922 kB / 0.8537 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.9247, allocations: 0.918 MB / 0.8546 GB, free: 6.566 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.9247, allocations: 3.938 kB / 0.8546 GB, free: 6.562 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008148/0.9255, allocations: 203.7 kB / 0.8548 GB, free: 6.363 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/0.9255, allocations: 4 kB / 0.8548 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.9256, allocations: 27.98 kB / 0.8549 GB, free: 6.332 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.9256, allocations: 4 kB / 0.8549 GB, free: 6.328 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9256, allocations: 0 / 0.8549 GB, free: 6.328 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.9272, allocations: 1.175 MB / 0.856 GB, free: 5.137 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.9275, allocations: 279.5 kB / 0.8563 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.9276, allocations: 20 kB / 0.8563 GB, free: 4.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.9282, allocations: 20 kB / 0.8563 GB, free: 4.805 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.9283, allocations: 83.77 kB / 0.8564 GB, free: 4.723 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.9283, allocations: 31.98 kB / 0.8564 GB, free: 4.691 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007298/0.9291, allocations: 415.1 kB / 0.8568 GB, free: 4.293 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9291, allocations: 0 / 0.8568 GB, free: 4.293 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000772/0.9299, allocations: 199.5 kB / 0.857 GB, free: 4.098 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.0003868/0.9303, allocations: 155 kB / 0.8572 GB, free: 3.934 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.9318, allocations: 0.6962 MB / 0.8578 GB, free: 3.238 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9318, allocations: 0 / 0.8578 GB, free: 3.238 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006355/0.9324, allocations: 425 kB / 0.8582 GB, free: 2.824 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.9332, allocations: 78.94 kB / 0.8583 GB, free: 2.746 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.9361, allocations: 1.985 MB / 0.8603 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.9367, allocations: 0.9935 MB / 0.8612 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.937, allocations: 115.4 kB / 0.8613 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/0.9371, allocations: 0 / 0.8613 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of Templates: time 0.01607/0.9531, allocations: 10.15 MB / 0.8713 GB, free: 5.43 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)