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.001147/0.001147, allocations: 108 kB / 15.61 MB, free: 152 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.001265/0.001265, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.4 MB, free: 4.621 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.782/1.782, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001447/0.001447, allocations: 73.8 kB / 0.6715 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2453, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.00586/0.2513, allocations: 4.506 MB / 0.7878 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004494/0.2558, allocations: 2.722 MB / 0.7904 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.2562, allocations: 27.88 kB / 0.7904 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.2565, allocations: 102.7 kB / 0.7905 GB, free: 6.082 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.001426/0.258, allocations: 487.9 kB / 0.791 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.2586, allocations: 423.4 kB / 0.7914 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.2597, allocations: 1.256 MB / 0.7926 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006162/0.2603, allocations: 495.8 kB / 0.7931 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2607/0.521, allocations: 45.94 MB / 0.838 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006789/0.5217, allocations: 489.7 kB / 0.8384 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.5218, allocations: 116 kB / 0.8385 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.5221, allocations: 156 kB / 0.8387 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.5223, allocations: 235.2 kB / 0.8389 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.5228, allocations: 0.5092 MB / 0.8394 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.5243, allocations: 1.297 MB / 0.8407 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5243, allocations: 3.938 kB / 0.8407 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5243, allocations: 0 / 0.8407 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.5243, allocations: 4 kB / 0.8407 GB, free: 4.754 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.002118/0.5264, allocations: 1.231 MB / 0.8419 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.5265, allocations: 8.031 kB / 0.8419 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.5267, allocations: 107.6 kB / 0.842 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/0.5276, allocations: 0.6922 MB / 0.8427 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.5277, allocations: 58.38 kB / 0.8427 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.353e-05/0.5278, allocations: 76.12 kB / 0.8428 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.5291, allocations: 0.752 MB / 0.8435 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.5291, allocations: 4 kB / 0.8435 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.5292, allocations: 32 kB / 0.8436 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.5292, allocations: 20 kB / 0.8436 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.5303, allocations: 0.5651 MB / 0.8441 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.5338, allocations: 2.26 MB / 0.8464 GB, free: 14.78 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.5372, allocations: 0.9747 MB / 0.8473 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/0.5378, allocations: 335.3 kB / 0.8476 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004754/0.5383, allocations: 429.5 kB / 0.848 GB, free: 12.92 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.5383, allocations: 42.5 kB / 0.8481 GB, free: 12.87 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 2.956e-06/0.5383, allocations: 0 / 0.8481 GB, free: 12.87 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.002272/0.5406, allocations: 0.8656 MB / 0.8489 GB, free: 12 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.5407, allocations: 144.5 kB / 0.8491 GB, free: 11.83 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.5413, allocations: 0.5667 MB / 0.8496 GB, free: 11.26 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.5414, allocations: 41.7 kB / 0.8497 GB, free: 11.21 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.5417, allocations: 352.5 kB / 0.85 GB, free: 10.86 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.5419, allocations: 268.1 kB / 0.8502 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.542, allocations: 130.5 kB / 0.8504 GB, free: 10.46 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5422, allocations: 386.7 kB / 0.8507 GB, free: 10.07 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.5426, allocations: 209.9 kB / 0.8509 GB, free: 9.867 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.5432, allocations: 320.2 kB / 0.8512 GB, free: 9.516 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000995/0.5442, allocations: 0.5532 MB / 0.8518 GB, free: 8.945 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5442, allocations: 0 / 0.8518 GB, free: 8.945 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001238/0.5454, allocations: 0.6594 MB / 0.8524 GB, free: 8.281 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.5455, allocations: 8 kB / 0.8524 GB, free: 8.273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5455, allocations: 3.938 kB / 0.8524 GB, free: 8.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5455, allocations: 8 kB / 0.8524 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.5462, allocations: 151.8 kB / 0.8526 GB, free: 8.113 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.5462, allocations: 8.125 kB / 0.8526 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.5467, allocations: 59.36 kB / 0.8527 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.5467, allocations: 35.91 kB / 0.8527 GB, free: 8.012 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.0003184/0.5471, allocations: 241.7 kB / 0.8529 GB, free: 7.766 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.5472, allocations: 78.97 kB / 0.853 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.5493, allocations: 1.038 MB / 0.854 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.5493, allocations: 12 kB / 0.854 GB, free: 6.625 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5494, allocations: 4 kB / 0.854 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.5494, allocations: 3.984 kB / 0.854 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.5505, allocations: 0.918 MB / 0.8549 GB, free: 5.648 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.5506, allocations: 7.938 kB / 0.8549 GB, free: 5.641 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/0.5514, allocations: 195.8 kB / 0.8551 GB, free: 5.449 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.5514, allocations: 15.94 kB / 0.8551 GB, free: 5.434 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.5515, allocations: 23.98 kB / 0.8552 GB, free: 5.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.5515, allocations: 4 kB / 0.8552 GB, free: 5.406 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5515, allocations: 0 / 0.8552 GB, free: 5.406 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003631/0.5551, allocations: 1.174 MB / 0.8563 GB, free: 4.215 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.5555, allocations: 263.6 kB / 0.8566 GB, free: 3.938 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.5556, allocations: 23.98 kB / 0.8566 GB, free: 3.914 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.5561, allocations: 24 kB / 0.8566 GB, free: 3.891 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5562, allocations: 75.77 kB / 0.8567 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.5562, allocations: 35.98 kB / 0.8567 GB, free: 3.781 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004534/0.5567, allocations: 411.1 kB / 0.8571 GB, free: 3.387 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5567, allocations: 0 / 0.8571 GB, free: 3.387 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007145/0.5574, allocations: 203.4 kB / 0.8573 GB, free: 3.188 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.0003497/0.5578, allocations: 170.9 kB / 0.8575 GB, free: 3.008 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001923/0.5597, allocations: 0.6926 MB / 0.8581 GB, free: 2.316 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.5597, allocations: 0 / 0.8581 GB, free: 2.316 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006892/0.5604, allocations: 435.7 kB / 0.8586 GB, free: 1.891 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.5611, allocations: 71 kB / 0.8586 GB, free: 1.82 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.5637, allocations: 1.551 MB / 0.8601 GB, free: 240 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.5642, allocations: 0.9935 MB / 0.8611 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000557/0.5648, allocations: 146 kB / 0.8612 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.5651, allocations: 99.38 kB / 0.8613 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of SimCode: time 2.41e-07/0.5651, allocations: 0 / 0.8613 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of Templates: time 0.01321/0.5783, allocations: 6.953 MB / 0.8681 GB, free: 8.055 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)