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.004845/0.004845, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001098/0.001098, allocations: 193 kB / 16.67 MB, free: 5.52 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.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.44/1.44, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.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.001406/0.001406, allocations: 67.91 kB / 0.7257 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5848, allocations: 104.7 MB / 0.828 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.006475/0.5913, allocations: 4.507 MB / 0.8324 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004902/0.5963, allocations: 2.691 MB / 0.835 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/0.5967, allocations: 23.88 kB / 0.8351 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.5969, allocations: 102.7 kB / 0.8352 GB, free: 11.24 MB / 0.6387 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.001515/0.5985, allocations: 0.4968 MB / 0.8357 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.5991, allocations: 435.4 kB / 0.8361 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.04367/0.6428, allocations: 8.347 MB / 0.8442 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.6439, allocations: 499.8 kB / 0.8447 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2311/0.8749, allocations: 39.26 MB / 0.883 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008834/0.8758, allocations: 473.8 kB / 0.8835 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003396/0.8762, allocations: 116 kB / 0.8836 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.8766, allocations: 132 kB / 0.8837 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.8768, allocations: 243.1 kB / 0.884 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007344/0.8776, allocations: 0.517 MB / 0.8845 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.8794, allocations: 1.32 MB / 0.8858 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.8794, allocations: 0 / 0.8858 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8794, allocations: 0 / 0.8858 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.697e-05/0.8795, allocations: 0 / 0.8858 GB, free: 9.566 MB / 0.6856 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.003043/0.8825, allocations: 1.262 MB / 0.887 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.8826, allocations: 8.031 kB / 0.887 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.8828, allocations: 111.6 kB / 0.8871 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004085/0.8869, allocations: 0.7039 MB / 0.8878 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/0.8873, allocations: 181.4 kB / 0.888 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.8874, allocations: 79.94 kB / 0.888 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.8893, allocations: 0.7988 MB / 0.8888 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.8894, allocations: 0 / 0.8888 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/0.8894, allocations: 32 kB / 0.8888 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.8895, allocations: 16 kB / 0.8889 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.8914, allocations: 0.6431 MB / 0.8895 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/0.8952, allocations: 2.233 MB / 0.8917 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/0.8992, allocations: 1.046 MB / 0.8927 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.9006, allocations: 367.3 kB / 0.893 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.328e-05/0.9007, allocations: 27.95 kB / 0.8931 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.9007, allocations: 50.39 kB / 0.8931 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 3.377e-06/0.9007, allocations: 0 / 0.8931 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.002948/0.9037, allocations: 0.9594 MB / 0.8941 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.9038, allocations: 152.3 kB / 0.8942 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.9046, allocations: 0.5706 MB / 0.8948 GB, free: 52 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.9046, allocations: 41.7 kB / 0.8948 GB, free: 4 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.9049, allocations: 356.6 kB / 0.8951 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.9051, allocations: 260.1 kB / 0.8954 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.9053, allocations: 138.5 kB / 0.8955 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9055, allocations: 382.7 kB / 0.8959 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007942/0.9063, allocations: 245.8 kB / 0.8961 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009154/0.9072, allocations: 348.1 kB / 0.8964 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.909, allocations: 0.6049 MB / 0.897 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.909, allocations: 4 kB / 0.897 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002116/0.9111, allocations: 0.7336 MB / 0.8978 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.9111, allocations: 4 kB / 0.8978 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.9112, allocations: 0 / 0.8978 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.9112, allocations: 8 kB / 0.8978 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008525/0.9121, allocations: 175.9 kB / 0.8979 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.9121, allocations: 4 kB / 0.8979 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.9127, allocations: 79.28 kB / 0.898 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/0.9128, allocations: 31.97 kB / 0.898 GB, free: 12.59 MB / 0.7012 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.0003538/0.9131, allocations: 242.7 kB / 0.8983 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.9134, allocations: 75.06 kB / 0.8984 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/0.9166, allocations: 1.1 MB / 0.8994 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.9166, allocations: 15.98 kB / 0.8994 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.9167, allocations: 4 kB / 0.8994 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.9167, allocations: 11.91 kB / 0.8995 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.918, allocations: 0.9298 MB / 0.9004 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.9181, allocations: 7.938 kB / 0.9004 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/0.919, allocations: 215.7 kB / 0.9006 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.919, allocations: 4 kB / 0.9006 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.68e-05/0.9191, allocations: 31.92 kB / 0.9006 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.9191, allocations: 8 kB / 0.9006 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.9192, allocations: 4 kB / 0.9006 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.9215, allocations: 1.229 MB / 0.9018 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.9219, allocations: 267.6 kB / 0.9021 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.922, allocations: 24 kB / 0.9021 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.9226, allocations: 27.98 kB / 0.9021 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.9227, allocations: 79.77 kB / 0.9022 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.9228, allocations: 35.98 kB / 0.9022 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004836/0.9233, allocations: 415.1 kB / 0.9026 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9233, allocations: 0 / 0.9026 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000813/0.9241, allocations: 195.4 kB / 0.9028 GB, free: 7.605 MB / 0.7012 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.0003454/0.9245, allocations: 158.9 kB / 0.903 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002012/0.9265, allocations: 0.7208 MB / 0.9037 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9265, allocations: 0 / 0.9037 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009985/0.9275, allocations: 459.4 kB / 0.9041 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.9282, allocations: 79 kB / 0.9042 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.9312, allocations: 1.551 MB / 0.9057 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.9318, allocations: 0.9973 MB / 0.9067 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0004717/0.9323, allocations: 146.1 kB / 0.9068 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.9326, allocations: 103.4 kB / 0.9069 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of SimCode: time 3.51e-07/0.9326, allocations: 0 / 0.9069 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of Templates: time 0.01458/0.9472, allocations: 7.162 MB / 0.9139 GB, free: 12.21 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)