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.006761/0.006761, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.00108/0.00108, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.377/1.377, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.619/1.619, allocations: 251.7 MB / 0.5094 GB, free: 3.098 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.001598/0.001598, allocations: 68.47 kB / 0.7258 GB, free: 9.094 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2059, allocations: 104.7 MB / 0.828 GB, free: 284 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.006026/0.2119, allocations: 4.525 MB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0048/0.2168, allocations: 2.684 MB / 0.8351 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008468/0.2176, allocations: 19.94 kB / 0.8351 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.218, allocations: 106.6 kB / 0.8352 GB, free: 8.906 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.002091/0.2202, allocations: 0.489 MB / 0.8356 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009691/0.2211, allocations: 431.5 kB / 0.8361 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.04347/0.2646, allocations: 8.353 MB / 0.8442 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.2658, allocations: 495.8 kB / 0.8447 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2297/0.4955, allocations: 39.26 MB / 0.883 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/0.4964, allocations: 481.8 kB / 0.8835 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003263/0.4967, allocations: 116 kB / 0.8836 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.4971, allocations: 135.9 kB / 0.8837 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.4973, allocations: 247.1 kB / 0.884 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006415/0.498, allocations: 0.5092 MB / 0.8845 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.4996, allocations: 1.324 MB / 0.8858 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4996, allocations: 0 / 0.8858 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4997, allocations: 0 / 0.8858 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.744e-05/0.4997, allocations: 0 / 0.8858 GB, free: 7.039 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.003038/0.5027, allocations: 1.262 MB / 0.887 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.5028, allocations: 16.03 kB / 0.887 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.5031, allocations: 103.7 kB / 0.8871 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005136/0.5082, allocations: 0.7077 MB / 0.8878 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/0.5086, allocations: 177.4 kB / 0.888 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.5088, allocations: 75.94 kB / 0.888 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.5118, allocations: 0.7949 MB / 0.8888 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.5118, allocations: 0 / 0.8888 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.5119, allocations: 28 kB / 0.8888 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.512, allocations: 20 kB / 0.8889 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.5139, allocations: 0.6431 MB / 0.8895 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/0.5176, allocations: 2.244 MB / 0.8917 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004052/0.5217, allocations: 1.047 MB / 0.8927 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009451/0.5226, allocations: 369.5 kB / 0.8931 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.978e-05/0.5227, allocations: 19.97 kB / 0.8931 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.5227, allocations: 50.5 kB / 0.8931 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=80): time 3.336e-06/0.5228, allocations: 4 kB / 0.8931 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=80): time 0.002902/0.5257, allocations: 0.9627 MB / 0.8941 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.5258, allocations: 140.5 kB / 0.8942 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.5266, allocations: 0.5706 MB / 0.8948 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/0.5267, allocations: 41.64 kB / 0.8948 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.527, allocations: 348.6 kB / 0.8951 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.5272, allocations: 268 kB / 0.8954 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.5275, allocations: 138.5 kB / 0.8955 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5277, allocations: 390.6 kB / 0.8959 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/0.5285, allocations: 241.8 kB / 0.8961 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009033/0.5294, allocations: 356.1 kB / 0.8965 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.5312, allocations: 0.6091 MB / 0.8971 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.5312, allocations: 0 / 0.8971 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003208/0.5344, allocations: 0.7235 MB / 0.8978 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.5344, allocations: 8 kB / 0.8978 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5344, allocations: 0 / 0.8978 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.5345, allocations: 8.125 kB / 0.8978 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000854/0.5353, allocations: 179.7 kB / 0.8979 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.5354, allocations: 4 kB / 0.898 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.5361, allocations: 75.28 kB / 0.898 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.5361, allocations: 35.97 kB / 0.8981 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.0004914/0.5366, allocations: 233.7 kB / 0.8983 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/0.537, allocations: 75.06 kB / 0.8984 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.5399, allocations: 1.109 MB / 0.8994 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.54, allocations: 12 kB / 0.8994 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.54, allocations: 0 / 0.8994 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.54, allocations: 11.91 kB / 0.8995 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.5415, allocations: 0.9336 MB / 0.9004 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.5415, allocations: 4 kB / 0.9004 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.5425, allocations: 215.7 kB / 0.9006 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.5425, allocations: 8 kB / 0.9006 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.808e-05/0.5426, allocations: 31.98 kB / 0.9006 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.5426, allocations: 4 kB / 0.9006 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5427, allocations: 0 / 0.9006 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.5451, allocations: 1.234 MB / 0.9018 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.5456, allocations: 271.6 kB / 0.9021 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.5457, allocations: 16 kB / 0.9021 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/0.5464, allocations: 39.92 kB / 0.9021 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5466, allocations: 75.83 kB / 0.9022 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.5466, allocations: 39.98 kB / 0.9022 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000544/0.5472, allocations: 411.1 kB / 0.9026 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.21e-07/0.5472, allocations: 0 / 0.9026 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008259/0.548, allocations: 191.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.0003642/0.5484, allocations: 154.8 kB / 0.903 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002113/0.5505, allocations: 0.7197 MB / 0.9037 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5505, allocations: 0 / 0.9037 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.5516, allocations: 467.4 kB / 0.9041 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.5523, allocations: 71 kB / 0.9042 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.5555, allocations: 1.562 MB / 0.9057 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.5562, allocations: 0.9973 MB / 0.9067 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005304/0.5567, allocations: 146.1 kB / 0.9068 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.557, allocations: 95.38 kB / 0.9069 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.557, allocations: 4 kB / 0.9069 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of Templates: time 0.5082/1.065, allocations: 7.16 MB / 0.9139 GB, free: 76.54 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)