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.001351/0.001351, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001654/0.001654, allocations: 191.4 kB / 16.25 MB, free: 6.621 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.409/1.409, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.663/1.663, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001459/0.001459, allocations: 63.36 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2292, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.00794/0.2372, allocations: 4.517 MB / 0.7873 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00618/0.2434, allocations: 2.671 MB / 0.7899 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.2445, allocations: 19.94 kB / 0.7899 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004654/0.245, allocations: 67.22 kB / 0.7899 GB, free: 6.594 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.002342/0.2474, allocations: 418 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.2485, allocations: 387.7 kB / 0.7907 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.2503, allocations: 1.245 MB / 0.7919 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008891/0.2512, allocations: 495.8 kB / 0.7924 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.656/0.9073, allocations: 45.96 MB / 0.8373 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.9079, allocations: 489.7 kB / 0.8378 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.9081, allocations: 116 kB / 0.8379 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.9084, allocations: 156 kB / 0.838 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.9085, allocations: 243.1 kB / 0.8382 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.9089, allocations: 0.5091 MB / 0.8387 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.9103, allocations: 1.289 MB / 0.84 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9103, allocations: 0 / 0.84 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9103, allocations: 4 kB / 0.84 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.9103, allocations: 4 kB / 0.84 GB, free: 5.363 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.002107/0.9125, allocations: 1.227 MB / 0.8412 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.9125, allocations: 8.031 kB / 0.8412 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.9127, allocations: 115.6 kB / 0.8413 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.9135, allocations: 0.6843 MB / 0.842 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.9136, allocations: 58.38 kB / 0.842 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-05/0.9137, allocations: 76.12 kB / 0.8421 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.9149, allocations: 0.752 MB / 0.8429 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.915, allocations: 7.938 kB / 0.8429 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.915, allocations: 28 kB / 0.8429 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.915, allocations: 20 kB / 0.8429 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.9161, allocations: 0.5612 MB / 0.8435 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.9194, allocations: 2.26 MB / 0.8457 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.9227, allocations: 0.9765 MB / 0.8466 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.9232, allocations: 337.8 kB / 0.8469 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004241/0.9236, allocations: 425.5 kB / 0.8473 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.9237, allocations: 42.56 kB / 0.8474 GB, free: 13.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 2.765e-06/0.9237, allocations: 4 kB / 0.8474 GB, free: 13.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.001889/0.9256, allocations: 0.8615 MB / 0.8482 GB, free: 12.61 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.9257, allocations: 140.5 kB / 0.8484 GB, free: 12.45 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.9264, allocations: 0.5667 MB / 0.8489 GB, free: 11.87 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.9264, allocations: 41.7 kB / 0.849 GB, free: 11.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.9267, allocations: 356.5 kB / 0.8493 GB, free: 11.47 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.9269, allocations: 268.1 kB / 0.8496 GB, free: 11.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.9271, allocations: 130.5 kB / 0.8497 GB, free: 11.07 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.9273, allocations: 382.7 kB / 0.85 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.9277, allocations: 205.9 kB / 0.8502 GB, free: 10.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.9282, allocations: 328.1 kB / 0.8505 GB, free: 10.13 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009935/0.9292, allocations: 0.549 MB / 0.8511 GB, free: 9.562 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9292, allocations: 0 / 0.8511 GB, free: 9.562 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0013/0.9305, allocations: 0.6596 MB / 0.8517 GB, free: 8.902 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.9306, allocations: 11.91 kB / 0.8517 GB, free: 8.891 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9306, allocations: 0 / 0.8517 GB, free: 8.891 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.9306, allocations: 8 kB / 0.8517 GB, free: 8.883 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/0.9314, allocations: 159.8 kB / 0.8519 GB, free: 8.727 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.9314, allocations: 7.984 kB / 0.8519 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.932, allocations: 59.38 kB / 0.852 GB, free: 8.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/0.932, allocations: 39.84 kB / 0.852 GB, free: 8.621 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.0003601/0.9324, allocations: 233.7 kB / 0.8522 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.9326, allocations: 78.97 kB / 0.8523 GB, free: 8.305 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.935, allocations: 1.042 MB / 0.8533 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.935, allocations: 12 kB / 0.8533 GB, free: 7.238 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.9351, allocations: 4 kB / 0.8533 GB, free: 7.234 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.9351, allocations: 3.984 kB / 0.8533 GB, free: 7.23 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.9362, allocations: 0.918 MB / 0.8542 GB, free: 6.262 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.9362, allocations: 4 kB / 0.8542 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/0.937, allocations: 207.7 kB / 0.8544 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.937, allocations: 4 kB / 0.8544 GB, free: 6.051 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.9371, allocations: 27.98 kB / 0.8545 GB, free: 6.023 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.9371, allocations: 4 kB / 0.8545 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9371, allocations: 4 kB / 0.8545 GB, free: 6.016 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.9385, allocations: 1.183 MB / 0.8556 GB, free: 4.816 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.9388, allocations: 267.6 kB / 0.8559 GB, free: 4.535 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.383e-05/0.9389, allocations: 20 kB / 0.8559 GB, free: 4.516 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/0.9394, allocations: 24 kB / 0.8559 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.9395, allocations: 75.83 kB / 0.856 GB, free: 4.418 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/0.9396, allocations: 35.92 kB / 0.856 GB, free: 4.383 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004182/0.94, allocations: 411.1 kB / 0.8564 GB, free: 3.988 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.94, allocations: 4 kB / 0.8564 GB, free: 3.984 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000715/0.9407, allocations: 195.5 kB / 0.8566 GB, free: 3.793 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.0003684/0.9411, allocations: 158.9 kB / 0.8568 GB, free: 3.625 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.9426, allocations: 0.6922 MB / 0.8574 GB, free: 2.934 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9426, allocations: 4.25 kB / 0.8574 GB, free: 2.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006299/0.9433, allocations: 428.9 kB / 0.8579 GB, free: 2.512 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006864/0.944, allocations: 78.94 kB / 0.8579 GB, free: 2.434 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.9466, allocations: 1.94 MB / 0.8598 GB, free: 464 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.9472, allocations: 1.001 MB / 0.8608 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005566/0.9478, allocations: 146 kB / 0.8609 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.948, allocations: 99.38 kB / 0.861 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of SimCode: time 2.013e-06/0.948, allocations: 0 / 0.861 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of Templates: time 0.013/0.961, allocations: 6.95 MB / 0.8678 GB, free: 8.266 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)