Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_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.007104/0.007104, allocations: 101.4 kB / 15.73 MB, free: 6.469 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.001494/0.001494, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.519/1.519, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.519/1.519, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.001417/0.001417, allocations: 67.91 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2572, allocations: 104.7 MB / 0.8281 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007841/0.2651, allocations: 5.518 MB / 0.8334 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7935/1.059, allocations: 155.1 MB / 0.9849 GB, free: 464 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/1.06, allocations: 25.78 kB / 0.9849 GB, free: 456 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005193/1.065, allocations: 1.749 MB / 0.9866 GB, free: 15.75 MB / 0.7481 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/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.002459/1.068, allocations: 0.6791 MB / 0.9873 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/1.07, allocations: 0.955 MB / 0.9882 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003241/1.073, allocations: 3.285 MB / 0.9914 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/1.074, allocations: 0.9247 MB / 0.9923 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/1.076, allocations: 1.101 MB / 0.9934 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/1.077, allocations: 0.9571 MB / 0.9943 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002321/1.078, allocations: 179.1 kB / 0.9945 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/1.082, allocations: 2.134 MB / 0.9966 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/1.083, allocations: 1.322 MB / 0.9979 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008695/1.084, allocations: 0.9122 MB / 0.9988 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004955/1.089, allocations: 3.691 MB / 1.002 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.089, allocations: 2.094 kB / 1.002 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.293e-06/1.089, allocations: 0 / 1.002 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.718e-05/1.089, allocations: 0 / 1.002 GB, free: 6.055 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.004211/1.093, allocations: 2.431 MB / 1.005 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.093, allocations: 9.438 kB / 1.005 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007816/1.094, allocations: 251.9 kB / 1.005 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/1.097, allocations: 2.965 MB / 1.008 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/1.097, allocations: 105.2 kB / 1.008 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/1.097, allocations: 141.8 kB / 1.008 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/1.099, allocations: 1.434 MB / 1.01 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.099, allocations: 0 / 1.01 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.099, allocations: 48.66 kB / 1.01 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/1.099, allocations: 27.34 kB / 1.01 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/1.101, allocations: 1.529 MB / 1.011 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007208/1.109, allocations: 4.968 MB / 1.016 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/1.11, allocations: 1.32 MB / 1.017 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009808/1.111, allocations: 0.8469 MB / 1.018 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-05/1.112, allocations: 32.75 kB / 1.018 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/1.113, allocations: 0.8614 MB / 1.019 GB, free: 9.074 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=92): time 3.116e-06/1.113, allocations: 0 / 1.019 GB, free: 9.074 MB / 0.7637 GB Notification: Performance of matching and sorting (n=92): time 0.003858/1.117, allocations: 2.491 MB / 1.021 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/1.117, allocations: 326.1 kB / 1.022 GB, free: 6.203 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004791/1.122, allocations: 4.307 MB / 1.026 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002544/1.122, allocations: 65.69 kB / 1.026 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/1.123, allocations: 0.6495 MB / 1.027 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/1.123, allocations: 315.5 kB / 1.027 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009379/1.124, allocations: 1.059 MB / 1.028 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/1.124, allocations: 301.1 kB / 1.028 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006034/1.13, allocations: 6.992 MB / 1.035 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006459/1.136, allocations: 7.269 MB / 1.042 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008111/1.145, allocations: 8.914 MB / 1.051 GB, free: 8.223 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.145, allocations: 1.125 kB / 1.051 GB, free: 8.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01466/1.159, allocations: 15.75 MB / 1.066 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001764/1.159, allocations: 153.6 kB / 1.066 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.159, allocations: 0 / 1.066 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.159, allocations: 8 kB / 1.066 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.161, allocations: 299.5 kB / 1.067 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/1.161, allocations: 11.94 kB / 1.067 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/1.162, allocations: 173.2 kB / 1.067 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/1.162, allocations: 71.97 kB / 1.067 GB, free: 7.711 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.001054/1.163, allocations: 0.8201 MB / 1.068 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/1.163, allocations: 147.1 kB / 1.068 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/1.166, allocations: 2.172 MB / 1.07 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/1.166, allocations: 11.94 kB / 1.07 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.166, allocations: 3.938 kB / 1.07 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.166, allocations: 3.984 kB / 1.07 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004699/1.171, allocations: 3.607 MB / 1.074 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.171, allocations: 0 / 1.074 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/1.172, allocations: 147.8 kB / 1.074 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/1.172, allocations: 7.938 kB / 1.074 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/1.172, allocations: 35.97 kB / 1.074 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/1.172, allocations: 4 kB / 1.074 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.172, allocations: 0 / 1.074 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/1.175, allocations: 2.172 MB / 1.076 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/1.175, allocations: 378.9 kB / 1.076 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/1.175, allocations: 20 kB / 1.076 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/1.176, allocations: 67.94 kB / 1.076 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/1.176, allocations: 64.91 kB / 1.076 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/1.176, allocations: 43.98 kB / 1.076 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002458/1.179, allocations: 2.754 MB / 1.079 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/1.179, allocations: 0 / 1.079 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002237/1.181, allocations: 0.9987 MB / 1.08 GB, free: 10.12 MB / 0.8262 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 (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.002132/1.183, allocations: 0.9118 MB / 1.081 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009755/1.193, allocations: 10.58 MB / 1.091 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.193, allocations: 4 kB / 1.091 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/1.195, allocations: 1.465 MB / 1.093 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.196, allocations: 319.2 kB / 1.093 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/1.203, allocations: 5.384 MB / 1.098 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.205, allocations: 1.741 MB / 1.1 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001059/1.206, allocations: 373.9 kB / 1.1 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/1.206, allocations: 135.4 kB / 1.1 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/1.206, allocations: 0 / 1.1 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of Templates: time 0.05223/1.258, allocations: 30.37 MB / 1.13 GB, free: 7.078 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)