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.001038/0.001038, allocations: 102.3 kB / 16.35 MB, free: 6.348 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.001008/0.001008, allocations: 194 kB / 17.29 MB, free: 5.93 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.751/1.751, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001561/0.001561, allocations: 66.88 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2061, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.3595/0.5656, allocations: 4.502 MB / 0.7892 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003871/0.5695, allocations: 2.727 MB / 0.7918 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/0.57, allocations: 23.06 kB / 0.7918 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.5702, allocations: 107 kB / 0.7919 GB, free: 46.12 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.001278/0.5715, allocations: 488.7 kB / 0.7924 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.572, allocations: 417.7 kB / 0.7928 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007818/0.5728, allocations: 1.257 MB / 0.794 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005105/0.5733, allocations: 0.4896 MB / 0.7945 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2633/0.8366, allocations: 46.3 MB / 0.8397 GB, free: 23.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009157/0.8375, allocations: 489.4 kB / 0.8402 GB, free: 23.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.8389, allocations: 114.3 kB / 0.8403 GB, free: 23.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005957/0.8395, allocations: 159.2 kB / 0.8405 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.8398, allocations: 237 kB / 0.8407 GB, free: 23.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007414/0.8405, allocations: 0.5075 MB / 0.8412 GB, free: 23.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.8422, allocations: 1.342 MB / 0.8425 GB, free: 22.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8422, allocations: 0 / 0.8425 GB, free: 22.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8422, allocations: 0 / 0.8425 GB, free: 22.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.17e-05/0.8423, allocations: 1.344 kB / 0.8425 GB, free: 22.39 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.002838/0.8451, allocations: 1.225 MB / 0.8437 GB, free: 21.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.8452, allocations: 10.47 kB / 0.8437 GB, free: 21.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.8455, allocations: 107.1 kB / 0.8438 GB, free: 21.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.8466, allocations: 0.6884 MB / 0.8445 GB, free: 21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.8467, allocations: 57.03 kB / 0.8445 GB, free: 20.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.8468, allocations: 77.09 kB / 0.8446 GB, free: 20.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.8482, allocations: 0.7514 MB / 0.8453 GB, free: 20.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.8483, allocations: 0 / 0.8453 GB, free: 20.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/0.8483, allocations: 30.72 kB / 0.8454 GB, free: 20.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.8484, allocations: 27.38 kB / 0.8454 GB, free: 20.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.8495, allocations: 0.5677 MB / 0.8459 GB, free: 20.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.8529, allocations: 2.225 MB / 0.8481 GB, free: 19.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.8563, allocations: 0.9777 MB / 0.8491 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.8568, allocations: 336.1 kB / 0.8494 GB, free: 18.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/0.8572, allocations: 434.1 kB / 0.8498 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.8572, allocations: 46.97 kB / 0.8499 GB, free: 17.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 2.064e-06/0.8572, allocations: 0 / 0.8499 GB, free: 17.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.002346/0.8596, allocations: 0.8627 MB / 0.8507 GB, free: 17.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.8596, allocations: 142 kB / 0.8508 GB, free: 17.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/0.8603, allocations: 0.5742 MB / 0.8514 GB, free: 17.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.8604, allocations: 37.17 kB / 0.8514 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.8606, allocations: 353.4 kB / 0.8518 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.8608, allocations: 262.7 kB / 0.852 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.861, allocations: 136 kB / 0.8521 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8611, allocations: 384.8 kB / 0.8525 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.8615, allocations: 207.7 kB / 0.8527 GB, free: 16.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.862, allocations: 315 kB / 0.853 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009523/0.863, allocations: 0.5478 MB / 0.8535 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.863, allocations: 1.188 kB / 0.8535 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001256/0.8643, allocations: 0.6717 MB / 0.8542 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.8643, allocations: 6.75 kB / 0.8542 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8643, allocations: 1.812 kB / 0.8542 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.8643, allocations: 4.703 kB / 0.8542 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.8651, allocations: 151.7 kB / 0.8544 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.8651, allocations: 5.359 kB / 0.8544 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.8656, allocations: 64.81 kB / 0.8544 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.8656, allocations: 33.97 kB / 0.8545 GB, free: 15.31 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.0002951/0.8659, allocations: 242.8 kB / 0.8547 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.8661, allocations: 76.89 kB / 0.8548 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.8682, allocations: 1.032 MB / 0.8558 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.8682, allocations: 12.59 kB / 0.8558 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.8683, allocations: 4.938 kB / 0.8558 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.8683, allocations: 7.281 kB / 0.8558 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.8696, allocations: 0.9194 MB / 0.8567 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.8696, allocations: 5.062 kB / 0.8567 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/0.8705, allocations: 201.9 kB / 0.8569 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.8705, allocations: 9.844 kB / 0.8569 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.8706, allocations: 28.08 kB / 0.8569 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.8706, allocations: 5.375 kB / 0.8569 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8706, allocations: 1.156 kB / 0.8569 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/0.8749, allocations: 1.17 MB / 0.8581 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.8752, allocations: 268.1 kB / 0.8583 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.8753, allocations: 25.56 kB / 0.8584 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.8758, allocations: 23.72 kB / 0.8584 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.876, allocations: 78.03 kB / 0.8585 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.8761, allocations: 35.02 kB / 0.8585 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005/0.8766, allocations: 408.7 kB / 0.8589 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8766, allocations: 1.625 kB / 0.8589 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007726/0.8773, allocations: 195.1 kB / 0.8591 GB, free: 12.88 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.0003272/0.8777, allocations: 173.9 kB / 0.8592 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.879, allocations: 0.638 MB / 0.8599 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.879, allocations: 0 / 0.8599 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.8797, allocations: 437.2 kB / 0.8603 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.8804, allocations: 72.94 kB / 0.8603 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.8827, allocations: 1.517 MB / 0.8618 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.8831, allocations: 1.003 MB / 0.8628 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004586/0.8836, allocations: 132.6 kB / 0.8629 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.8839, allocations: 106.4 kB / 0.863 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.8839, allocations: 1.094 kB / 0.863 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.01166/0.8955, allocations: 6.955 MB / 0.8698 GB, free: 5.895 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)