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 1.655/1.655, allocations: 287.5 MB / 302.6 MB, free: 8.344 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.001354/0.001354, allocations: 182.4 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.000843/0.0008429, allocations: 95.39 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000617/0.0006174, allocations: 11.19 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2351, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.003576/0.2388, allocations: 3.859 MB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003155/0.2419, allocations: 2.552 MB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003211/0.2423, allocations: 23.88 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.392e-05/0.2424, allocations: 63.28 kB / 0.985 GB, free: 21.67 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.00106/0.2434, allocations: 391.8 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.2438, allocations: 271.6 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006697/0.2445, allocations: 1.1 MB / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.245, allocations: 475.8 kB / 0.9872 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05046/0.2955, allocations: 39.28 MB / 1.026 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008372/0.2964, allocations: 354.1 kB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003032/0.2967, allocations: 20 kB / 1.026 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.2971, allocations: 51.98 kB / 1.026 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.2973, allocations: 127.3 kB / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.2976, allocations: 197.1 kB / 1.026 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.2988, allocations: 0.9896 MB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.2988, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.158e-06/0.2988, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.2988, allocations: 3.938 kB / 1.027 GB, free: 10.37 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.00194/0.3008, allocations: 1.03 MB / 1.028 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3008, allocations: 8.031 kB / 1.028 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.301, allocations: 107.6 kB / 1.028 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009468/0.3019, allocations: 0.6922 MB / 1.029 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.302, allocations: 58.31 kB / 1.029 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.3021, allocations: 84.12 kB / 1.029 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.3034, allocations: 0.7442 MB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.3035, allocations: 0 / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.3035, allocations: 28 kB / 1.03 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.3035, allocations: 20 kB / 1.03 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.3046, allocations: 0.5612 MB / 1.03 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.308, allocations: 2.264 MB / 1.033 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/0.3114, allocations: 0.9767 MB / 1.034 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.3119, allocations: 327.3 kB / 1.034 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/0.3124, allocations: 433.4 kB / 1.034 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3124, allocations: 38.56 kB / 1.034 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 2.454e-06/0.3124, allocations: 0 / 1.034 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.001791/0.3142, allocations: 0.8616 MB / 1.035 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.3143, allocations: 140.5 kB / 1.035 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.315, allocations: 0.5589 MB / 1.036 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.315, allocations: 41.7 kB / 1.036 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.3153, allocations: 348.6 kB / 1.036 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.3155, allocations: 272 kB / 1.037 GB, free: 452 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.3156, allocations: 12 kB / 1.037 GB, free: 440 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3157, allocations: 382.7 kB / 1.037 GB, free: 48 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.3162, allocations: 206 kB / 1.037 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.3167, allocations: 324 kB / 1.037 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009707/0.3177, allocations: 0.5368 MB / 1.038 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3177, allocations: 3.938 kB / 1.038 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001214/0.3189, allocations: 0.6633 MB / 1.039 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3189, allocations: 4 kB / 1.039 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.319, allocations: 7.984 kB / 1.039 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.319, allocations: 4 kB / 1.039 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.3197, allocations: 147.8 kB / 1.039 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.3197, allocations: 11.92 kB / 1.039 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.3202, allocations: 59.38 kB / 1.039 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.3203, allocations: 36.03 kB / 1.039 GB, free: 14 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.0002896/0.3206, allocations: 241.7 kB / 1.039 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.3207, allocations: 78.97 kB / 1.039 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.3227, allocations: 1.027 MB / 1.04 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.3228, allocations: 12 kB / 1.04 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3228, allocations: 0 / 1.04 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3228, allocations: 7.969 kB / 1.04 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3239, allocations: 0.9219 MB / 1.041 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3239, allocations: 0 / 1.041 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/0.3248, allocations: 203.7 kB / 1.041 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.3248, allocations: 4 kB / 1.041 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.3249, allocations: 27.92 kB / 1.041 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.3249, allocations: 8 kB / 1.041 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3249, allocations: 4 kB / 1.041 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.3264, allocations: 1.17 MB / 1.042 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.3267, allocations: 271.6 kB / 1.043 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.3268, allocations: 16 kB / 1.043 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.3273, allocations: 35.98 kB / 1.043 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3274, allocations: 67.84 kB / 1.043 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.3275, allocations: 39.97 kB / 1.043 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004623/0.3279, allocations: 403.1 kB / 1.043 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3279, allocations: 0 / 1.043 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006565/0.3286, allocations: 203.5 kB / 1.043 GB, free: 9.188 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.0003174/0.3289, allocations: 166.8 kB / 1.044 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.3301, allocations: 0.6293 MB / 1.044 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3301, allocations: 0 / 1.044 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006692/0.3308, allocations: 432.9 kB / 1.045 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/0.3316, allocations: 76.48 kB / 1.045 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.3345, allocations: 1.873 MB / 1.047 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.3352, allocations: 1.002 MB / 1.048 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006406/0.3359, allocations: 146 kB / 1.048 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.3361, allocations: 103.4 kB / 1.048 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of SimCode: time 8.21e-07/0.3361, allocations: 0 / 1.048 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of Templates: time 0.01231/0.3484, allocations: 6.379 MB / 1.054 GB, free: 14.39 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)