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.001589/0.001589, allocations: 102 kB / 16.36 MB, free: 6.301 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.001756/0.001756, allocations: 191.9 kB / 17.29 MB, free: 5.875 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.834/1.834, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001437/0.001437, allocations: 67.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2381, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.4255/0.6637, allocations: 4.506 MB / 0.7892 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004228/0.668, allocations: 2.726 MB / 0.7918 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/0.6684, allocations: 24.66 kB / 0.7919 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.6687, allocations: 106.9 kB / 0.792 GB, free: 46.57 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 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.001465/0.6702, allocations: 488.2 kB / 0.7924 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.6708, allocations: 419.4 kB / 0.7928 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008858/0.6717, allocations: 1.265 MB / 0.7941 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/0.6723, allocations: 499.7 kB / 0.7945 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2601/0.9325, allocations: 46.29 MB / 0.8397 GB, free: 23.92 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009402/0.9334, allocations: 486.5 kB / 0.8402 GB, free: 23.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.9336, allocations: 115.4 kB / 0.8403 GB, free: 23.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.934, allocations: 160.5 kB / 0.8405 GB, free: 23.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.9342, allocations: 230.6 kB / 0.8407 GB, free: 23.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005472/0.9348, allocations: 0.516 MB / 0.8412 GB, free: 23.11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.9366, allocations: 1.333 MB / 0.8425 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.9366, allocations: 5.344 kB / 0.8425 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9366, allocations: 0 / 0.8425 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.439e-05/0.9367, allocations: 4 kB / 0.8425 GB, free: 22.5 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.002351/0.939, allocations: 1.227 MB / 0.8437 GB, free: 21.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9391, allocations: 8.844 kB / 0.8437 GB, free: 21.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.9393, allocations: 111.1 kB / 0.8438 GB, free: 21.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/0.9436, allocations: 0.7053 MB / 0.8445 GB, free: 21.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.9437, allocations: 57.59 kB / 0.8446 GB, free: 21.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.9438, allocations: 80.88 kB / 0.8446 GB, free: 21.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.9453, allocations: 0.7462 MB / 0.8454 GB, free: 20.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.9453, allocations: 1.125 kB / 0.8454 GB, free: 20.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.9454, allocations: 30.78 kB / 0.8454 GB, free: 20.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.9454, allocations: 25.88 kB / 0.8454 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.9466, allocations: 0.5688 MB / 0.846 GB, free: 20.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/0.9503, allocations: 2.224 MB / 0.8482 GB, free: 19.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.9537, allocations: 0.9705 MB / 0.8491 GB, free: 18.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.9543, allocations: 331.5 kB / 0.8494 GB, free: 18.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/0.9547, allocations: 434.1 kB / 0.8498 GB, free: 18.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.9547, allocations: 47.31 kB / 0.8499 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 3.637e-06/0.9548, allocations: 0 / 0.8499 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.002386/0.9571, allocations: 0.8634 MB / 0.8507 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.9572, allocations: 142 kB / 0.8509 GB, free: 17.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00079/0.958, allocations: 0.5695 MB / 0.8514 GB, free: 17.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/0.9581, allocations: 41.11 kB / 0.8515 GB, free: 17.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.9583, allocations: 353.4 kB / 0.8518 GB, free: 16.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.9585, allocations: 268.9 kB / 0.852 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.9587, allocations: 137.6 kB / 0.8522 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9589, allocations: 380.3 kB / 0.8525 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.9594, allocations: 207.8 kB / 0.8527 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.96, allocations: 323.6 kB / 0.853 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.961, allocations: 0.5433 MB / 0.8536 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.961, allocations: 1.5 kB / 0.8536 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001461/0.9625, allocations: 0.6679 MB / 0.8542 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.9625, allocations: 10.25 kB / 0.8542 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.9625, allocations: 6.391 kB / 0.8542 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/0.9626, allocations: 4.703 kB / 0.8543 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/0.9634, allocations: 156.8 kB / 0.8544 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.9634, allocations: 9.312 kB / 0.8544 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.9639, allocations: 55.14 kB / 0.8545 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.964, allocations: 37.86 kB / 0.8545 GB, free: 15.41 MB / 0.6544 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.0003808/0.9644, allocations: 240 kB / 0.8547 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.9646, allocations: 75.92 kB / 0.8548 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.9667, allocations: 1.036 MB / 0.8558 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.9667, allocations: 13.17 kB / 0.8558 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.9667, allocations: 5.219 kB / 0.8558 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.9668, allocations: 14.78 kB / 0.8558 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.9682, allocations: 0.9153 MB / 0.8567 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.9682, allocations: 1.719 kB / 0.8567 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008223/0.969, allocations: 201.5 kB / 0.8569 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.969, allocations: 4.969 kB / 0.8569 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.9691, allocations: 28.64 kB / 0.857 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.9691, allocations: 5.391 kB / 0.857 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9691, allocations: 1.125 kB / 0.857 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.9707, allocations: 1.175 MB / 0.8581 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.9711, allocations: 268.2 kB / 0.8584 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/0.9712, allocations: 21.89 kB / 0.8584 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/0.9717, allocations: 20.42 kB / 0.8584 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.9718, allocations: 76.28 kB / 0.8585 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/0.9719, allocations: 34.84 kB / 0.8585 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005577/0.9725, allocations: 413.6 kB / 0.8589 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9725, allocations: 0 / 0.8589 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000847/0.9733, allocations: 195.4 kB / 0.8591 GB, free: 12.98 MB / 0.6544 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.0003504/0.9737, allocations: 159.4 kB / 0.8593 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.9753, allocations: 0.6406 MB / 0.8599 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.9753, allocations: 1.125 kB / 0.8599 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007212/0.976, allocations: 436.8 kB / 0.8603 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.9768, allocations: 73.12 kB / 0.8604 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.9793, allocations: 1.554 MB / 0.8619 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.9798, allocations: 0.9996 MB / 0.8629 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.9801, allocations: 105.3 kB / 0.863 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of SimCode: time 8.21e-07/0.9801, allocations: 0 / 0.863 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.01492/0.9951, allocations: 10.17 MB / 0.8729 GB, free: 2.844 MB / 0.6544 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)