Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 107.6 kB / 16.38 MB, free: 5.527 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.001216/0.001216, allocations: 192.9 kB / 17.31 MB, free: 5.176 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.383/1.383, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.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.001478/0.001478, allocations: 72.28 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1983, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.3325/0.5308, allocations: 5.495 MB / 0.7902 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1508/0.6817, allocations: 155.1 MB / 0.9416 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.6828, allocations: 27.81 kB / 0.9416 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004243/0.6871, allocations: 1.758 MB / 0.9434 GB, free: 7.684 MB / 0.7325 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 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002144/0.6893, allocations: 0.6782 MB / 0.944 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.6916, allocations: 0.9505 MB / 0.945 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003112/0.6947, allocations: 3.28 MB / 0.9482 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.6959, allocations: 0.9293 MB / 0.9491 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.6972, allocations: 1.083 MB / 0.9501 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.6983, allocations: 0.9587 MB / 0.9511 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.6986, allocations: 180 kB / 0.9512 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.7018, allocations: 2.146 MB / 0.9533 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.7029, allocations: 1.322 MB / 0.9546 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008277/0.7037, allocations: 0.9131 MB / 0.9555 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004184/0.7079, allocations: 3.689 MB / 0.9591 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7079, allocations: 0 / 0.9591 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.172e-06/0.708, allocations: 0 / 0.9591 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.723e-05/0.708, allocations: 4 kB / 0.9591 GB, free: 7.504 MB / 0.7481 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.003594/0.7116, allocations: 2.427 MB / 0.9615 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7116, allocations: 8.031 kB / 0.9615 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007818/0.7124, allocations: 257.9 kB / 0.9617 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.7157, allocations: 2.964 MB / 0.9646 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.21e-05/0.7158, allocations: 106.2 kB / 0.9647 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.716, allocations: 144 kB / 0.9649 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.7182, allocations: 1.435 MB / 0.9663 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.7182, allocations: 0 / 0.9663 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.7183, allocations: 59.94 kB / 0.9663 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.7183, allocations: 24 kB / 0.9664 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.7207, allocations: 1.526 MB / 0.9678 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007778/0.7284, allocations: 4.965 MB / 0.9727 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.7304, allocations: 1.32 MB / 0.974 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.7315, allocations: 0.8469 MB / 0.9748 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.989e-05/0.7316, allocations: 36.59 kB / 0.9748 GB, free: 7.109 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.7328, allocations: 0.8545 MB / 0.9757 GB, free: 6.242 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=92): time 3.487e-06/0.7328, allocations: 0 / 0.9757 GB, free: 6.242 MB / 0.7637 GB Notification: Performance of matching and sorting (n=92): time 0.003936/0.7368, allocations: 2.494 MB / 0.9781 GB, free: 3.738 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/0.737, allocations: 326.2 kB / 0.9784 GB, free: 3.367 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004991/0.742, allocations: 4.314 MB / 0.9826 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.7422, allocations: 55.2 kB / 0.9827 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005663/0.7428, allocations: 0.6534 MB / 0.9833 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/0.7431, allocations: 311.5 kB / 0.9836 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.7441, allocations: 1.055 MB / 0.9847 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.7442, allocations: 305.1 kB / 0.9849 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0067/0.7509, allocations: 6.996 MB / 0.9918 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007691/0.7586, allocations: 7.257 MB / 0.9989 GB, free: 14.37 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.772, allocations: 8.914 MB / 1.008 GB, free: 5.41 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.7721, allocations: 4 kB / 1.008 GB, free: 5.406 MB / 0.795 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.02414/0.7962, allocations: 15.75 MB / 1.023 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.7965, allocations: 149.6 kB / 1.023 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.7965, allocations: 0 / 1.023 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.7966, allocations: 8 kB / 1.023 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.7983, allocations: 303.5 kB / 1.023 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.252e-05/0.7983, allocations: 12.06 kB / 1.023 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.7999, allocations: 166.2 kB / 1.024 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.8001, allocations: 81.86 kB / 1.024 GB, free: 4.891 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (189): * Single equations (assignments): 176 * Array equations: 12 * Algorithm blocks: 1 * 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.001477/0.8016, allocations: 0.8154 MB / 1.024 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004042/0.802, allocations: 142.1 kB / 1.025 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00507/0.8071, allocations: 2.175 MB / 1.027 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/0.8072, allocations: 7.922 kB / 1.027 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8072, allocations: 4 kB / 1.027 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008059/0.808, allocations: 371 kB / 1.027 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.8083, allocations: 27.84 kB / 1.027 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009267/0.8092, allocations: 63.88 kB / 1.027 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.8094, allocations: 64.91 kB / 1.027 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004898/0.8143, allocations: 2.302 MB / 1.029 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004816/0.8192, allocations: 2.258 MB / 1.032 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002088/0.8213, allocations: 1.14 MB / 1.033 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004271/0.8256, allocations: 2.754 MB / 1.035 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of Backend: time 5.71e-07/0.8256, allocations: 0 / 1.035 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01858/0.8442, allocations: 10.77 MB / 1.046 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of SimCode: time 0.007478/0.8517, allocations: 5.552 MB / 1.051 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of Templates: time 0.05687/0.9086, allocations: 31.56 MB / 1.082 GB, free: 9.246 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)