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.005243/0.005243, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001099/0.001098, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.472/1.472, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.551/1.551, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.001386/0.001386, allocations: 67.91 kB / 0.7258 GB, free: 9.121 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.229, allocations: 104.7 MB / 0.8281 GB, free: 316 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007333/0.2364, allocations: 5.521 MB / 0.8334 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7869/1.023, allocations: 155.1 MB / 0.9849 GB, free: 480 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/1.025, allocations: 25.75 kB / 0.9849 GB, free: 472 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006152/1.031, allocations: 1.751 MB / 0.9866 GB, free: 15.76 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.002994/1.034, allocations: 0.6857 MB / 0.9873 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/1.037, allocations: 0.9457 MB / 0.9882 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004971/1.042, allocations: 3.283 MB / 0.9914 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/1.044, allocations: 0.9296 MB / 0.9923 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/1.046, allocations: 1.091 MB / 0.9934 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/1.048, allocations: 0.9629 MB / 0.9943 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003843/1.048, allocations: 178.9 kB / 0.9945 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00457/1.053, allocations: 2.128 MB / 0.9966 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001406/1.054, allocations: 1.32 MB / 0.9979 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/1.055, allocations: 0.9094 MB / 0.9988 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007508/1.063, allocations: 3.697 MB / 1.002 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.063, allocations: 4 kB / 1.002 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.794e-06/1.063, allocations: 0 / 1.002 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.318e-05/1.063, allocations: 0 / 1.002 GB, free: 6.07 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.005458/1.069, allocations: 2.421 MB / 1.005 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.069, allocations: 9.906 kB / 1.005 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000953/1.07, allocations: 252.5 kB / 1.005 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003895/1.074, allocations: 2.969 MB / 1.008 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.703e-05/1.074, allocations: 104.7 kB / 1.008 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/1.074, allocations: 142.9 kB / 1.008 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/1.076, allocations: 1.436 MB / 1.01 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/1.076, allocations: 0 / 1.01 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.076, allocations: 44.31 kB / 1.01 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/1.076, allocations: 27.44 kB / 1.01 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/1.079, allocations: 1.524 MB / 1.011 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008681/1.087, allocations: 4.979 MB / 1.016 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/1.09, allocations: 1.314 MB / 1.017 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/1.091, allocations: 0.8508 MB / 1.018 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.379e-05/1.091, allocations: 36.75 kB / 1.018 GB, free: 10 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/1.092, allocations: 0.8497 MB / 1.019 GB, free: 9.141 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=92): time 4.94e-06/1.092, allocations: 3.984 kB / 1.019 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of matching and sorting (n=92): time 0.00436/1.096, allocations: 2.499 MB / 1.021 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002315/1.097, allocations: 330.1 kB / 1.022 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005266/1.102, allocations: 4.307 MB / 1.026 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003795/1.102, allocations: 61.69 kB / 1.026 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006163/1.103, allocations: 0.6495 MB / 1.027 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/1.103, allocations: 323.5 kB / 1.027 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/1.104, allocations: 1.051 MB / 1.028 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.105, allocations: 305.1 kB / 1.028 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006904/1.111, allocations: 6.992 MB / 1.035 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007758/1.119, allocations: 7.257 MB / 1.042 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009639/1.129, allocations: 8.914 MB / 1.051 GB, free: 8.285 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/1.129, allocations: 7.938 kB / 1.051 GB, free: 8.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01709/1.146, allocations: 15.75 MB / 1.066 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000226/1.146, allocations: 149.6 kB / 1.066 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/1.146, allocations: 0 / 1.066 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/1.146, allocations: 8 kB / 1.066 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/1.148, allocations: 299.6 kB / 1.067 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/1.148, allocations: 13.5 kB / 1.067 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.149, allocations: 166.3 kB / 1.067 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/1.15, allocations: 72 kB / 1.067 GB, free: 7.773 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.001227/1.151, allocations: 0.8221 MB / 1.068 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/1.151, allocations: 146.1 kB / 1.068 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/1.155, allocations: 2.177 MB / 1.07 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.155, allocations: 8 kB / 1.07 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.155, allocations: 7.938 kB / 1.07 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/1.155, allocations: 3.984 kB / 1.07 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/1.16, allocations: 3.607 MB / 1.073 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/1.16, allocations: 0 / 1.073 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/1.161, allocations: 147.8 kB / 1.074 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/1.161, allocations: 7.938 kB / 1.074 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-05/1.161, allocations: 31.97 kB / 1.074 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.161, allocations: 4 kB / 1.074 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.161, allocations: 0 / 1.074 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/1.164, allocations: 2.176 MB / 1.076 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006805/1.165, allocations: 374.9 kB / 1.076 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.165, allocations: 24 kB / 1.076 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/1.166, allocations: 58.75 kB / 1.076 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/1.166, allocations: 72.8 kB / 1.076 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.389e-05/1.166, allocations: 47.98 kB / 1.076 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002844/1.169, allocations: 2.75 MB / 1.079 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.2e-07/1.169, allocations: 0 / 1.079 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002767/1.172, allocations: 1.003 MB / 1.08 GB, free: 10.18 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.002587/1.174, allocations: 0.9 MB / 1.081 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.185, allocations: 10.59 MB / 1.091 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.185, allocations: 0 / 1.091 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/1.187, allocations: 1.469 MB / 1.093 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/1.189, allocations: 331.8 kB / 1.093 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/1.197, allocations: 5.38 MB / 1.098 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/1.198, allocations: 1.745 MB / 1.1 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001349/1.199, allocations: 361.9 kB / 1.1 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/1.2, allocations: 135.4 kB / 1.1 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of SimCode: time 7.91e-07/1.2, allocations: 0 / 1.1 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of Templates: time 0.05656/1.256, allocations: 29.96 MB / 1.13 GB, free: 7.562 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)