Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.4 MB / 303.7 MB, free: 8 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.001598/0.001598, allocations: 198 kB / 372.3 MB, free: 10.12 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.536/1.536, allocations: 205.4 MB / 0.631 GB, free: 9.934 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.0007367/0.0007369, allocations: 106.2 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005342/0.0005342, allocations: 12.03 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2477, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007438/0.2551, allocations: 5.861 MB / 0.9859 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7524/1.008, allocations: 141.2 MB / 1.124 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/1.009, allocations: 35.34 kB / 1.124 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005742/1.015, allocations: 1.679 MB / 1.125 GB, free: 1.867 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.003095/1.018, allocations: 0.9179 MB / 1.126 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/1.022, allocations: 1.003 MB / 1.127 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005561/1.028, allocations: 4.63 MB / 1.132 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/1.029, allocations: 1.088 MB / 1.133 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/1.032, allocations: 1.207 MB / 1.134 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/1.034, allocations: 1.155 MB / 1.135 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002599/1.035, allocations: 62.41 kB / 1.135 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/1.039, allocations: 1.838 MB / 1.137 GB, free: 276 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005694/1.045, allocations: 2.754 MB / 1.14 GB, free: 0 / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002431/1.047, allocations: 1 MB / 1.141 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006541/1.054, allocations: 3.646 MB / 1.144 GB, free: 13.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.054, allocations: 0 / 1.144 GB, free: 13.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/1.054, allocations: 0.5312 kB / 1.144 GB, free: 13.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.165e-05/1.054, allocations: 0 / 1.144 GB, free: 13.69 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.00707/1.061, allocations: 2.679 MB / 1.147 GB, free: 11.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.061, allocations: 9.719 kB / 1.147 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/1.063, allocations: 351.1 kB / 1.147 GB, free: 11.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/1.074, allocations: 7.362 MB / 1.154 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/1.074, allocations: 129.1 kB / 1.155 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/1.075, allocations: 178.7 kB / 1.155 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/1.079, allocations: 1.848 MB / 1.157 GB, free: 9.902 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/1.079, allocations: 3.938 kB / 1.157 GB, free: 9.898 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/1.079, allocations: 60.94 kB / 1.157 GB, free: 9.898 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/1.079, allocations: 35.44 kB / 1.157 GB, free: 9.898 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004063/1.083, allocations: 1.888 MB / 1.158 GB, free: 9.516 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01724/1.101, allocations: 9.864 MB / 1.168 GB, free: 5.758 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/1.104, allocations: 1.658 MB / 1.17 GB, free: 5.008 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/1.106, allocations: 1.041 MB / 1.171 GB, free: 4.547 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/1.106, allocations: 41.75 kB / 1.171 GB, free: 4.527 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002286/1.109, allocations: 1.102 MB / 1.172 GB, free: 3.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 4.068e-06/1.109, allocations: 0 / 1.172 GB, free: 3.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=105): time 0.008921/1.118, allocations: 3.268 MB / 1.175 GB, free: 108 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003288/1.118, allocations: 357.4 kB / 1.175 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02366/1.142, allocations: 11.5 MB / 1.187 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005724/1.142, allocations: 57.7 kB / 1.187 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/1.144, allocations: 0.9281 MB / 1.188 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005907/1.144, allocations: 363.3 kB / 1.188 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/1.145, allocations: 40 kB / 1.188 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000257/1.145, allocations: 406.2 kB / 1.188 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009609/1.155, allocations: 7.017 MB / 1.195 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01019/1.165, allocations: 7.327 MB / 1.202 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.178, allocations: 8.749 MB / 1.211 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/1.178, allocations: 4 kB / 1.211 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.02437/1.202, allocations: 15.07 MB / 1.226 GB, free: 12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002696/1.202, allocations: 173.6 kB / 1.226 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/1.202, allocations: 4 kB / 1.226 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000813/1.203, allocations: 96.77 kB / 1.226 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/1.206, allocations: 470.1 kB / 1.226 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/1.209, allocations: 1.532 MB / 1.228 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/1.211, allocations: 234.3 kB / 1.228 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/1.212, allocations: 111.2 kB / 1.228 GB, free: 9.27 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (263): * Single equations (assignments): 261 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002931/1.215, allocations: 1.524 MB / 1.23 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/1.215, allocations: 205.4 kB / 1.23 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007133/1.222, allocations: 2.796 MB / 1.233 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/1.222, allocations: 8 kB / 1.233 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.222, allocations: 0 / 1.233 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.222, allocations: 11.98 kB / 1.233 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/1.233, allocations: 4.612 MB / 1.237 GB, free: 40 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.233, allocations: 0 / 1.237 GB, free: 40 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.234, allocations: 179.8 kB / 1.237 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006926/1.235, allocations: 88.7 kB / 1.237 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/1.235, allocations: 31.98 kB / 1.237 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/1.237, allocations: 1.544 MB / 1.239 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.237, allocations: 0 / 1.239 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00636/1.244, allocations: 2.7 MB / 1.242 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/1.246, allocations: 0.5253 MB / 1.242 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007873/1.247, allocations: 28 kB / 1.242 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/1.248, allocations: 71.94 kB / 1.242 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/1.249, allocations: 84.83 kB / 1.242 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.249, allocations: 60.03 kB / 1.242 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.01077/1.26, allocations: 7.208 MB / 1.249 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.91e-07/1.26, allocations: 0 / 1.249 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005474/1.265, allocations: 1.082 MB / 1.25 GB, free: 2.242 MB / 0.7761 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003665/1.269, allocations: 0.9127 MB / 1.251 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.284, allocations: 9.809 MB / 1.261 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.284, allocations: 0 / 1.261 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003598/1.288, allocations: 1.847 MB / 1.263 GB, free: 5.816 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/1.291, allocations: 370.4 kB / 1.263 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03275/1.323, allocations: 17.42 MB / 1.28 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00708/1.331, allocations: 3.834 MB / 1.284 GB, free: 136 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002751/1.333, allocations: 0.5018 MB / 1.284 GB, free: 15.62 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007035/1.334, allocations: 183.4 kB / 1.284 GB, free: 15.45 MB / 0.823 GB Notification: Performance of SimCode: time 1.233e-06/1.334, allocations: 0 / 1.284 GB, free: 15.45 MB / 0.823 GB Notification: Performance of Templates: time 0.09119/1.425, allocations: 40.41 MB / 1.324 GB, free: 7.27 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)