Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001076/0.001076, allocations: 191.5 kB / 16.13 MB, free: 6.656 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.307/1.307, allocations: 205.1 MB / 222 MB, free: 4.75 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.51/1.51, allocations: 251.6 MB / 0.5088 GB, free: 3.383 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.001337/0.001337, allocations: 63.92 kB / 0.6216 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5153, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008895/0.5242, allocations: 6.703 MB / 0.7304 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.6849, allocations: 157 MB / 0.8837 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.6862, allocations: 31.81 kB / 0.8837 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004851/0.6911, allocations: 1.768 MB / 0.8854 GB, free: 7.07 MB / 0.7012 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.002761/0.6939, allocations: 0.9997 MB / 0.8864 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.6966, allocations: 1.175 MB / 0.8876 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004548/0.7012, allocations: 5.045 MB / 0.8925 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.7027, allocations: 1.109 MB / 0.8936 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.705, allocations: 1.358 MB / 0.8949 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.7069, allocations: 1.335 MB / 0.8962 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.7073, allocations: 127.9 kB / 0.8963 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.7106, allocations: 1.989 MB / 0.8983 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002039/0.7127, allocations: 2.664 MB / 0.9009 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.714, allocations: 1.15 MB / 0.902 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005483/0.7195, allocations: 4.67 MB / 0.9065 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7195, allocations: 0 / 0.9065 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7195, allocations: 0 / 0.9065 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.853e-05/0.7196, allocations: 0 / 0.9065 GB, free: 1.355 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.3982/1.118, allocations: 3.197 MB / 0.9097 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.118, allocations: 10.47 kB / 0.9097 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/1.119, allocations: 343.5 kB / 0.91 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009749/1.129, allocations: 7.358 MB / 0.9172 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/1.129, allocations: 130.3 kB / 0.9173 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/1.129, allocations: 176.3 kB / 0.9175 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/1.133, allocations: 1.854 MB / 0.9193 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/1.133, allocations: 3.625 kB / 0.9193 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.133, allocations: 63.75 kB / 0.9194 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/1.133, allocations: 39.12 kB / 0.9194 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/1.135, allocations: 1.896 MB / 0.9212 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009801/1.145, allocations: 9.76 MB / 0.9308 GB, free: 167.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/1.147, allocations: 1.665 MB / 0.9324 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009657/1.148, allocations: 1.042 MB / 0.9334 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.241e-05/1.148, allocations: 40.48 kB / 0.9335 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/1.149, allocations: 1.094 MB / 0.9345 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 2.284e-06/1.149, allocations: 0 / 0.9345 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=105): time 0.00507/1.155, allocations: 3.282 MB / 0.9377 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/1.155, allocations: 338.5 kB / 0.9381 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.165, allocations: 11.51 MB / 0.9493 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004499/1.166, allocations: 65.7 kB / 0.9494 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007378/1.167, allocations: 0.9287 MB / 0.9503 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/1.167, allocations: 367.4 kB / 0.9506 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/1.169, allocations: 2.651 MB / 0.9532 GB, free: 144.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.768e-05/1.169, allocations: 305.1 kB / 0.9535 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01253/1.181, allocations: 20.07 MB / 0.9731 GB, free: 124.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01359/1.195, allocations: 20.64 MB / 0.9933 GB, free: 103.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01509/1.21, allocations: 23.49 MB / 1.016 GB, free: 80.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/1.21, allocations: 4 kB / 1.016 GB, free: 80.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.03074/1.241, allocations: 44.12 MB / 1.059 GB, free: 36.01 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.00017/1.241, allocations: 169.6 kB / 1.059 GB, free: 35.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.241, allocations: 0 / 1.059 GB, free: 35.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/1.242, allocations: 88.94 kB / 1.06 GB, free: 35.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/1.243, allocations: 387.4 kB / 1.06 GB, free: 35.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/1.245, allocations: 1.521 MB / 1.061 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/1.247, allocations: 219.3 kB / 1.062 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/1.247, allocations: 107.9 kB / 1.062 GB, free: 33.39 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (263): * Single equations (assignments): 225 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001352/1.248, allocations: 1.527 MB / 1.063 GB, free: 31.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/1.249, allocations: 197.4 kB / 1.063 GB, free: 31.65 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/1.253, allocations: 2.795 MB / 1.066 GB, free: 28.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/1.253, allocations: 23.86 kB / 1.066 GB, free: 28.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.253, allocations: 0.6562 kB / 1.066 GB, free: 28.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.253, allocations: 3.984 kB / 1.066 GB, free: 28.81 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006227/1.259, allocations: 4.609 MB / 1.071 GB, free: 24.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.259, allocations: 0 / 1.071 GB, free: 24.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/1.259, allocations: 175.7 kB / 1.071 GB, free: 23.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004881/1.26, allocations: 80.78 kB / 1.071 GB, free: 23.88 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.421e-05/1.26, allocations: 39.97 kB / 1.071 GB, free: 23.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/1.262, allocations: 1.548 MB / 1.072 GB, free: 22.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.262, allocations: 7.969 kB / 1.072 GB, free: 22.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/1.265, allocations: 2.69 MB / 1.075 GB, free: 19.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008399/1.266, allocations: 470 kB / 1.076 GB, free: 18.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/1.267, allocations: 27.94 kB / 1.076 GB, free: 18.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/1.267, allocations: 63.94 kB / 1.076 GB, free: 18.86 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/1.268, allocations: 80.89 kB / 1.076 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.212e-05/1.268, allocations: 51.98 kB / 1.076 GB, free: 18.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004597/1.272, allocations: 7.212 MB / 1.083 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/1.272, allocations: 0 / 1.083 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003485/1.276, allocations: 1.307 MB / 1.084 GB, free: 10.27 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002292/1.278, allocations: 0.9259 MB / 1.085 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02208/1.3, allocations: 26.64 MB / 1.111 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/1.3, allocations: 4 kB / 1.111 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002604/1.303, allocations: 1.843 MB / 1.113 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.305, allocations: 381.7 kB / 1.113 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.321, allocations: 12.39 MB / 1.125 GB, free: 252 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/1.324, allocations: 2.972 MB / 1.128 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001941/1.326, allocations: 0.5019 MB / 1.129 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/1.327, allocations: 179.4 kB / 1.129 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of SimCode: time 1.152e-06/1.327, allocations: 0 / 1.129 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of Templates: time 0.09119/1.418, allocations: 43.93 MB / 1.172 GB, free: 0.8438 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)