Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005277/0.005278, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001091/0.001091, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.363/1.363, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.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.001562/0.001562, allocations: 63.91 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2274, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.005767/0.2332, allocations: 4.517 MB / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004528/0.2378, allocations: 2.68 MB / 0.835 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004289/0.2383, allocations: 27.88 kB / 0.8351 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.2385, allocations: 106.6 kB / 0.8352 GB, free: 8.863 MB / 0.6544 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.001346/0.2399, allocations: 487.9 kB / 0.8356 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.2406, allocations: 423.5 kB / 0.836 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.04382/0.2844, allocations: 8.35 MB / 0.8442 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000848/0.2853, allocations: 499.8 kB / 0.8447 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2301/0.5154, allocations: 39.23 MB / 0.883 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006614/0.516, allocations: 485.7 kB / 0.8834 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.5162, allocations: 116 kB / 0.8836 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.5165, allocations: 132 kB / 0.8837 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.5167, allocations: 247.1 kB / 0.8839 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.5171, allocations: 0.5092 MB / 0.8844 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.5185, allocations: 1.316 MB / 0.8857 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5185, allocations: 0 / 0.8857 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5186, allocations: 7.938 kB / 0.8857 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.5186, allocations: 0 / 0.8857 GB, free: 7.043 MB / 0.7012 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.002447/0.521, allocations: 1.266 MB / 0.8869 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5211, allocations: 8.031 kB / 0.887 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.5212, allocations: 103.7 kB / 0.8871 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.5247, allocations: 0.7077 MB / 0.8877 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.525, allocations: 181.3 kB / 0.8879 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.5252, allocations: 75.94 kB / 0.888 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.5268, allocations: 0.7949 MB / 0.8888 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.5269, allocations: 8 kB / 0.8888 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.5269, allocations: 24 kB / 0.8888 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.527, allocations: 20 kB / 0.8888 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.5288, allocations: 0.6392 MB / 0.8894 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.5322, allocations: 2.244 MB / 0.8916 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/0.5362, allocations: 1.043 MB / 0.8926 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009315/0.5372, allocations: 377.6 kB / 0.893 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/0.5372, allocations: 23.95 kB / 0.893 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.5373, allocations: 46.52 kB / 0.8931 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=80): time 4.789e-06/0.5373, allocations: 0 / 0.8931 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=80): time 0.002902/0.5402, allocations: 0.9703 MB / 0.894 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.5403, allocations: 144.4 kB / 0.8942 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007246/0.541, allocations: 0.5667 MB / 0.8947 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.5411, allocations: 41.69 kB / 0.8948 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.5414, allocations: 348.6 kB / 0.8951 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.5416, allocations: 272 kB / 0.8953 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.5418, allocations: 134.5 kB / 0.8955 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.542, allocations: 386.7 kB / 0.8958 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007812/0.5428, allocations: 241.9 kB / 0.8961 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008346/0.5436, allocations: 356.1 kB / 0.8964 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.5453, allocations: 0.6033 MB / 0.897 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5453, allocations: 0 / 0.897 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002012/0.5473, allocations: 0.7327 MB / 0.8977 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.5474, allocations: 8.031 kB / 0.8977 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.5474, allocations: 4 kB / 0.8977 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.5474, allocations: 4 kB / 0.8977 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.5483, allocations: 171.7 kB / 0.8979 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.5483, allocations: 8 kB / 0.8979 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.5495, allocations: 79.28 kB / 0.898 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.5496, allocations: 31.97 kB / 0.898 GB, free: 10.05 MB / 0.7169 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.0003687/0.5499, allocations: 229.7 kB / 0.8982 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.5501, allocations: 83.06 kB / 0.8983 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.5528, allocations: 1.101 MB / 0.8994 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.5529, allocations: 12 kB / 0.8994 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.5529, allocations: 4 kB / 0.8994 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5529, allocations: 11.91 kB / 0.8994 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.5541, allocations: 0.9258 MB / 0.9003 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5541, allocations: 0 / 0.9003 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000997/0.5551, allocations: 223.7 kB / 0.9005 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.5551, allocations: 4 kB / 0.9005 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.5552, allocations: 31.98 kB / 0.9006 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.5552, allocations: 4 kB / 0.9006 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5552, allocations: 3.938 kB / 0.9006 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.5574, allocations: 1.234 MB / 0.9018 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.5577, allocations: 267.6 kB / 0.902 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.5578, allocations: 19.98 kB / 0.9021 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/0.5585, allocations: 43.98 kB / 0.9021 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5586, allocations: 71.83 kB / 0.9022 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.5587, allocations: 39.92 kB / 0.9022 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004415/0.5591, allocations: 419 kB / 0.9026 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5591, allocations: 0 / 0.9026 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006793/0.5598, allocations: 187.5 kB / 0.9028 GB, free: 5.07 MB / 0.7169 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.0002984/0.5601, allocations: 151 kB / 0.9029 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.5622, allocations: 0.7121 MB / 0.9036 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5622, allocations: 0 / 0.9036 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.5633, allocations: 463.4 kB / 0.9041 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007845/0.5641, allocations: 75 kB / 0.9041 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.5671, allocations: 1.562 MB / 0.9057 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.5677, allocations: 1.001 MB / 0.9066 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004876/0.5681, allocations: 142.1 kB / 0.9068 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.5684, allocations: 99.38 kB / 0.9069 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/0.5684, allocations: 0 / 0.9069 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of Templates: time 0.5713/1.14, allocations: 7.172 MB / 0.9139 GB, free: 76.43 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)