Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.889/2.889, allocations: 287.5 MB / 302.4 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002008/0.002008, allocations: 173 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009265/0.0009265, allocations: 92.84 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004914, allocations: 15.22 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2109, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.007663/0.2186, allocations: 3.847 MB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007216/0.2259, allocations: 2.552 MB / 0.9846 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009508/0.2269, allocations: 23.88 kB / 0.9846 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.2272, allocations: 63.28 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.002745/0.2299, allocations: 396.3 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.2312, allocations: 259.6 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002069/0.2333, allocations: 1.104 MB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008933/0.2342, allocations: 362.6 kB / 0.9867 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1256/0.3598, allocations: 39.28 MB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.361, allocations: 358.1 kB / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.3613, allocations: 24 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.3617, allocations: 51.97 kB / 1.026 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.362, allocations: 123.3 kB / 1.026 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003994/0.3624, allocations: 197.1 kB / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.3645, allocations: 0.9818 MB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3646, allocations: 7.938 kB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.085e-06/0.3646, allocations: 0 / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.478e-05/0.3646, allocations: 0 / 1.027 GB, free: 10.66 MB / 0.6511 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.00409/0.3687, allocations: 1.04 MB / 1.028 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.3688, allocations: 12.02 kB / 1.028 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.3693, allocations: 106.7 kB / 1.028 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.3715, allocations: 0.6681 MB / 1.029 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.3716, allocations: 58 kB / 1.029 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.3719, allocations: 75.94 kB / 1.029 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/0.3749, allocations: 0.7442 MB / 1.029 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.375, allocations: 4 kB / 1.029 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.3752, allocations: 32 kB / 1.029 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.3752, allocations: 16 kB / 1.029 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.378, allocations: 0.5651 MB / 1.03 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.3889, allocations: 2.26 MB / 1.032 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006491/0.3954, allocations: 0.9771 MB / 1.033 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009866/0.3964, allocations: 327.3 kB / 1.033 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006068/0.3971, allocations: 429.4 kB / 1.034 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3971, allocations: 54.5 kB / 1.034 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 3.677e-06/0.3971, allocations: 0 / 1.034 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.003067/0.4002, allocations: 0.855 MB / 1.035 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/0.4003, allocations: 136.5 kB / 1.035 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.4014, allocations: 0.5628 MB / 1.035 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.4016, allocations: 41.7 kB / 1.036 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.4022, allocations: 352.6 kB / 1.036 GB, free: 1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004817/0.4027, allocations: 264.1 kB / 1.036 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-05/0.4028, allocations: 16 kB / 1.036 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000323/0.4031, allocations: 382.7 kB / 1.036 GB, free: 348 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.4045, allocations: 201.9 kB / 1.037 GB, free: 144 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.4059, allocations: 328 kB / 1.037 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.4072, allocations: 247 kB / 1.037 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4072, allocations: 4 kB / 1.037 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003282/0.4105, allocations: 0.6611 MB / 1.038 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.4106, allocations: 8 kB / 1.038 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.4106, allocations: 0 / 1.038 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.055e-05/0.4107, allocations: 11.98 kB / 1.038 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.4128, allocations: 151.8 kB / 1.038 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/0.4128, allocations: 8.109 kB / 1.038 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.4142, allocations: 55.38 kB / 1.038 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.4143, allocations: 35.97 kB / 1.038 GB, free: 14.61 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007726/0.4151, allocations: 237.6 kB / 1.038 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000489/0.4156, allocations: 79.06 kB / 1.038 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005185/0.4208, allocations: 1.038 MB / 1.039 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.4209, allocations: 15.94 kB / 1.039 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.4209, allocations: 4 kB / 1.039 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.421, allocations: 7.969 kB / 1.039 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.4237, allocations: 0.918 MB / 1.04 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.4238, allocations: 4 kB / 1.04 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/0.4261, allocations: 203.7 kB / 1.041 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/0.4261, allocations: 8 kB / 1.041 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.4262, allocations: 27.98 kB / 1.041 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/0.4262, allocations: 4 kB / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4263, allocations: 0 / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.4299, allocations: 1.174 MB / 1.042 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006956/0.4306, allocations: 271.6 kB / 1.042 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.4308, allocations: 24 kB / 1.042 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.432, allocations: 27.92 kB / 1.042 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.4322, allocations: 67.91 kB / 1.042 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.4324, allocations: 31.98 kB / 1.042 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00102/0.4334, allocations: 407.1 kB / 1.043 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.91e-07/0.4334, allocations: 0 / 1.043 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001549/0.435, allocations: 199.5 kB / 1.043 GB, free: 9.793 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005674/0.4356, allocations: 167.5 kB / 1.043 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.4384, allocations: 0.6306 MB / 1.044 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4384, allocations: 0 / 1.044 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.4401, allocations: 433.2 kB / 1.044 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.4418, allocations: 71 kB / 1.044 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.4467, allocations: 1.873 MB / 1.046 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/0.4475, allocations: 0.9938 MB / 1.047 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001031/0.4486, allocations: 150 kB / 1.047 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.449, allocations: 99.38 kB / 1.047 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of SimCode: time 1.753e-06/0.449, allocations: 0 / 1.047 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of Templates: time 0.02206/0.4711, allocations: 6.402 MB / 1.053 GB, free: 14.98 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)