Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.617/1.617, allocations: 288.4 MB / 303.7 MB, free: 8.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000941/0.000941, allocations: 175.5 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 0.631 GB, free: 9.793 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007644/0.0007643, allocations: 102.3 kB / 0.7444 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004335, allocations: 16.56 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.00499/0.2311, allocations: 4.785 MB / 0.9848 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6829/0.914, allocations: 140.3 MB / 1.122 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.9151, allocations: 22.5 kB / 1.122 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004547/0.9197, allocations: 1.571 MB / 1.123 GB, free: 1.957 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001928/0.9216, allocations: 0.5813 MB / 1.124 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.9238, allocations: 0.7235 MB / 1.125 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003436/0.9272, allocations: 2.98 MB / 1.128 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.9287, allocations: 0.877 MB / 1.128 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.9306, allocations: 0.8545 MB / 1.129 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.9318, allocations: 0.7741 MB / 1.13 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.932, allocations: 45.25 kB / 1.13 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/0.936, allocations: 1.781 MB / 1.132 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.9372, allocations: 1.184 MB / 1.133 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009422/0.9382, allocations: 0.7168 MB / 1.134 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004807/0.943, allocations: 2.694 MB / 1.136 GB, free: 15.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.943, allocations: 1.188 kB / 1.136 GB, free: 15.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.943, allocations: 0 / 1.136 GB, free: 15.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.398e-05/0.943, allocations: 0 / 1.136 GB, free: 15.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005427/0.9485, allocations: 2.053 MB / 1.138 GB, free: 14.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.979e-05/0.9486, allocations: 9.406 kB / 1.138 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.9495, allocations: 265.5 kB / 1.139 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/0.954, allocations: 2.944 MB / 1.141 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.9541, allocations: 105.3 kB / 1.142 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.9544, allocations: 141.9 kB / 1.142 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.9569, allocations: 1.433 MB / 1.143 GB, free: 12.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.9569, allocations: 0 / 1.143 GB, free: 12.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.957, allocations: 46.91 kB / 1.143 GB, free: 12.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/0.9571, allocations: 26.88 kB / 1.143 GB, free: 12.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.9596, allocations: 1.529 MB / 1.145 GB, free: 12.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008423/0.968, allocations: 5.082 MB / 1.15 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.97, allocations: 1.31 MB / 1.151 GB, free: 10.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.9711, allocations: 0.8581 MB / 1.152 GB, free: 10.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-05/0.9712, allocations: 40.06 kB / 1.152 GB, free: 10.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.9724, allocations: 0.8534 MB / 1.153 GB, free: 10.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=92): time 3.616e-06/0.9724, allocations: 2.094 kB / 1.153 GB, free: 10.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=92): time 0.003783/0.9762, allocations: 2.5 MB / 1.155 GB, free: 9.656 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.9764, allocations: 331.3 kB / 1.155 GB, free: 9.379 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004562/0.981, allocations: 4.309 MB / 1.16 GB, free: 8.766 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.9813, allocations: 58.52 kB / 1.16 GB, free: 8.734 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005546/0.9818, allocations: 0.6491 MB / 1.16 GB, free: 8.418 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.9821, allocations: 316.4 kB / 1.161 GB, free: 8.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.9822, allocations: 31.12 kB / 1.161 GB, free: 8.195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.9824, allocations: 375.2 kB / 1.161 GB, free: 7.871 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.9852, allocations: 2.89 MB / 1.164 GB, free: 7.625 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002892/0.9881, allocations: 3.097 MB / 1.167 GB, free: 7.215 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004544/0.9926, allocations: 4.272 MB / 1.171 GB, free: 3.414 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.9927, allocations: 0 / 1.171 GB, free: 3.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007241/0.9999, allocations: 6.528 MB / 1.177 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/1, allocations: 155.5 kB / 1.177 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1, allocations: 4 kB / 1.177 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/1, allocations: 8.438 kB / 1.177 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.001, allocations: 341.9 kB / 1.178 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/1.001, allocations: 15.94 kB / 1.178 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/1.003, allocations: 179.5 kB / 1.178 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.003, allocations: 75.97 kB / 1.178 GB, free: 12.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001265/1.004, allocations: 0.827 MB / 1.179 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/1.004, allocations: 142.1 kB / 1.179 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003415/1.008, allocations: 2.234 MB / 1.181 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.008, allocations: 15.94 kB / 1.181 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.008, allocations: 0 / 1.181 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.008, allocations: 3.984 kB / 1.181 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/1.013, allocations: 3.609 MB / 1.185 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.013, allocations: 5.75 kB / 1.185 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006062/1.014, allocations: 151.7 kB / 1.185 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.014, allocations: 4 kB / 1.185 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.932e-05/1.014, allocations: 31.97 kB / 1.185 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.014, allocations: 4 kB / 1.185 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.014, allocations: 0 / 1.185 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/1.017, allocations: 2.177 MB / 1.187 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/1.017, allocations: 414.8 kB / 1.187 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/1.017, allocations: 20 kB / 1.187 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/1.018, allocations: 71.94 kB / 1.188 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.018, allocations: 68.91 kB / 1.188 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/1.018, allocations: 39.98 kB / 1.188 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002776/1.021, allocations: 2.754 MB / 1.19 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/1.021, allocations: 0 / 1.19 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003029/1.024, allocations: 0.9326 MB / 1.191 GB, free: 14.5 MB / 0.7292 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002266/1.027, allocations: 0.9059 MB / 1.192 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005448/1.032, allocations: 5.2 MB / 1.197 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.032, allocations: 4 kB / 1.197 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/1.034, allocations: 1.465 MB / 1.199 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/1.035, allocations: 298.9 kB / 1.199 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009373/1.044, allocations: 7.788 MB / 1.207 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/1.046, allocations: 2.018 MB / 1.209 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001367/1.048, allocations: 357.9 kB / 1.209 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/1.048, allocations: 139.4 kB / 1.209 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/1.048, allocations: 0 / 1.209 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of Templates: time 0.04584/1.094, allocations: 27.63 MB / 1.236 GB, free: 0.9727 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)