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.001317/0.001318, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001533/0.001533, allocations: 191.6 kB / 16.13 MB, free: 6.66 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.336/1.336, allocations: 205.1 MB / 222 MB, free: 4.73 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.697/1.697, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.00134/0.00134, allocations: 71.39 kB / 0.6708 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2218, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.005278/0.2271, allocations: 4.517 MB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004154/0.2313, allocations: 2.683 MB / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006415/0.232, allocations: 19.94 kB / 0.7897 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.2323, allocations: 75.14 kB / 0.7898 GB, free: 6.707 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.001501/0.2338, allocations: 406 kB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.2345, allocations: 375.7 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.2357, allocations: 1.163 MB / 0.7917 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000645/0.2363, allocations: 483.8 kB / 0.7921 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6529/0.8892, allocations: 42.35 MB / 0.8335 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/0.8901, allocations: 441.7 kB / 0.8339 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003114/0.8904, allocations: 44 kB / 0.8339 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.8908, allocations: 83.97 kB / 0.834 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.891, allocations: 171.2 kB / 0.8342 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006974/0.8917, allocations: 453.4 kB / 0.8346 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.8934, allocations: 1.242 MB / 0.8358 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.8934, allocations: 0 / 0.8358 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.845e-06/0.8934, allocations: 0 / 0.8358 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.803e-05/0.8935, allocations: 4 kB / 0.8358 GB, free: 9.609 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.003715/0.8972, allocations: 1.231 MB / 0.837 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 0.0003181/0.8976, allocations: 12.02 kB / 0.837 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.8979, allocations: 107.6 kB / 0.8371 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.8993, allocations: 0.6882 MB / 0.8378 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.8993, allocations: 62.31 kB / 0.8379 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.8995, allocations: 76.12 kB / 0.838 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.9011, allocations: 0.752 MB / 0.8387 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.9011, allocations: 4 kB / 0.8387 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.9012, allocations: 28 kB / 0.8387 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.9012, allocations: 20 kB / 0.8387 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.9024, allocations: 0.569 MB / 0.8393 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004071/0.9065, allocations: 2.248 MB / 0.8415 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.9101, allocations: 0.975 MB / 0.8424 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006223/0.9107, allocations: 333.2 kB / 0.8428 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.9114, allocations: 433.5 kB / 0.8432 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.9115, allocations: 42.56 kB / 0.8432 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 2.745e-06/0.9115, allocations: 0 / 0.8432 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.002009/0.9135, allocations: 0.8657 MB / 0.8441 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.9136, allocations: 144.5 kB / 0.8442 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/0.9144, allocations: 0.5706 MB / 0.8448 GB, free: 116 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.9145, allocations: 37.7 kB / 0.8448 GB, free: 72 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.9148, allocations: 352.5 kB / 0.8451 GB, free: 15.72 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.9152, allocations: 268.1 kB / 0.8454 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.9154, allocations: 130.5 kB / 0.8455 GB, free: 15.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0003585/0.9158, allocations: 386.7 kB / 0.8459 GB, free: 14.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.9163, allocations: 209.9 kB / 0.8461 GB, free: 14.73 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.9169, allocations: 316.2 kB / 0.8464 GB, free: 14.38 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.9179, allocations: 0.5503 MB / 0.8469 GB, free: 13.81 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.918, allocations: 0 / 0.8469 GB, free: 13.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00144/0.9194, allocations: 0.666 MB / 0.8476 GB, free: 13.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.9194, allocations: 8 kB / 0.8476 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.9195, allocations: 3.938 kB / 0.8476 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.9195, allocations: 8 kB / 0.8476 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.9202, allocations: 155.8 kB / 0.8477 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.9202, allocations: 4 kB / 0.8477 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.9208, allocations: 59.36 kB / 0.8478 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.9209, allocations: 35.91 kB / 0.8478 GB, free: 12.88 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.0004171/0.9213, allocations: 237.8 kB / 0.8481 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.9216, allocations: 83.02 kB / 0.8481 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.924, allocations: 1.038 MB / 0.8491 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.9241, allocations: 16 kB / 0.8492 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.9241, allocations: 4 kB / 0.8492 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.9241, allocations: 3.984 kB / 0.8492 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.9254, allocations: 0.9141 MB / 0.8501 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.9254, allocations: 4 kB / 0.8501 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.9263, allocations: 199.7 kB / 0.8503 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.9263, allocations: 8 kB / 0.8503 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.9264, allocations: 27.98 kB / 0.8503 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.9264, allocations: 4 kB / 0.8503 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9264, allocations: 3.938 kB / 0.8503 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.9282, allocations: 1.175 MB / 0.8514 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.9286, allocations: 271.6 kB / 0.8517 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.9287, allocations: 24 kB / 0.8517 GB, free: 8.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.9292, allocations: 24 kB / 0.8517 GB, free: 8.746 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.9294, allocations: 71.83 kB / 0.8518 GB, free: 8.676 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.9294, allocations: 35.98 kB / 0.8519 GB, free: 8.641 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005819/0.93, allocations: 419 kB / 0.8523 GB, free: 8.238 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.93, allocations: 0 / 0.8523 GB, free: 8.238 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007597/0.9308, allocations: 195.5 kB / 0.8524 GB, free: 8.047 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.0003731/0.9312, allocations: 166.8 kB / 0.8526 GB, free: 7.871 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.9325, allocations: 0.6379 MB / 0.8532 GB, free: 7.234 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.9325, allocations: 0 / 0.8532 GB, free: 7.234 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006921/0.9332, allocations: 432.9 kB / 0.8536 GB, free: 6.812 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007069/0.9339, allocations: 71 kB / 0.8537 GB, free: 6.742 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.937, allocations: 1.953 MB / 0.8556 GB, free: 4.75 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.9378, allocations: 0.9977 MB / 0.8566 GB, free: 3.727 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005876/0.9384, allocations: 142 kB / 0.8567 GB, free: 3.586 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.9387, allocations: 99.38 kB / 0.8568 GB, free: 3.488 MB / 0.67 GB Notification: Performance of SimCode: time 1.233e-06/0.9387, allocations: 4 kB / 0.8568 GB, free: 3.484 MB / 0.67 GB Notification: Performance of Templates: time 0.01456/0.9533, allocations: 6.665 MB / 0.8633 GB, free: 12.85 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)