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.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00114/0.00114, allocations: 192.2 kB / 16.13 MB, free: 6.707 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.331/1.331, allocations: 205.1 MB / 222 MB, free: 4.781 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.514/1.514, allocations: 251.7 MB / 0.5088 GB, free: 3.324 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.001279/0.001279, allocations: 63.92 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4655, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007936/0.4735, allocations: 5.508 MB / 0.7292 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.171/0.6445, allocations: 153 MB / 0.8786 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.646, allocations: 23.88 kB / 0.8787 GB, free: 14 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004901/0.6509, allocations: 1.62 MB / 0.8802 GB, free: 12.38 MB / 0.7012 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.00231/0.6532, allocations: 0.606 MB / 0.8808 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.6556, allocations: 0.8323 MB / 0.8816 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003091/0.6587, allocations: 3.209 MB / 0.8848 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.6599, allocations: 0.9044 MB / 0.8857 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.6614, allocations: 0.977 MB / 0.8866 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.6626, allocations: 0.9338 MB / 0.8875 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.6629, allocations: 96 kB / 0.8876 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.6664, allocations: 1.935 MB / 0.8895 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.6675, allocations: 1.244 MB / 0.8907 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000838/0.6683, allocations: 0.8388 MB / 0.8915 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00441/0.6727, allocations: 3.553 MB / 0.895 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6727, allocations: 0 / 0.895 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6728, allocations: 0 / 0.895 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.025e-05/0.6728, allocations: 0 / 0.895 GB, free: 13.18 MB / 0.7169 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.003829/0.6766, allocations: 2.424 MB / 0.8974 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.6767, allocations: 8.031 kB / 0.8974 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007862/0.6775, allocations: 254 kB / 0.8976 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/0.6806, allocations: 2.941 MB / 0.9005 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/0.6807, allocations: 102.2 kB / 0.9006 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.6809, allocations: 144 kB / 0.9007 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.6831, allocations: 1.433 MB / 0.9021 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.6831, allocations: 0 / 0.9021 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.6833, allocations: 56 kB / 0.9022 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.6833, allocations: 24 kB / 0.9022 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.6855, allocations: 1.534 MB / 0.9037 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3969/1.082, allocations: 4.996 MB / 0.9086 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/1.085, allocations: 1.317 MB / 0.9099 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/1.086, allocations: 0.8528 MB / 0.9107 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.502e-05/1.086, allocations: 30.78 kB / 0.9107 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/1.087, allocations: 0.8607 MB / 0.9116 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=92): time 2.996e-06/1.087, allocations: 2.406 kB / 0.9116 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=92): time 0.004577/1.092, allocations: 2.493 MB / 0.914 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/1.092, allocations: 326.3 kB / 0.9143 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00626/1.099, allocations: 4.308 MB / 0.9185 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/1.099, allocations: 62.55 kB / 0.9186 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005273/1.099, allocations: 0.6552 MB / 0.9192 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/1.1, allocations: 314.5 kB / 0.9195 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000809/1.1, allocations: 1.052 MB / 0.9206 GB, free: 177 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.951e-05/1.1, allocations: 305.8 kB / 0.9208 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004997/1.105, allocations: 7 MB / 0.9277 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005764/1.111, allocations: 7.257 MB / 0.9348 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007909/1.119, allocations: 8.915 MB / 0.9435 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/1.119, allocations: 0.5469 kB / 0.9435 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.0121/1.131, allocations: 15.76 MB / 0.9589 GB, free: 139.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.132, allocations: 149.6 kB / 0.959 GB, free: 139.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.132, allocations: 0 / 0.959 GB, free: 139.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.132, allocations: 11.75 kB / 0.959 GB, free: 139.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/1.133, allocations: 297.5 kB / 0.9593 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/1.133, allocations: 11.98 kB / 0.9593 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.134, allocations: 161.1 kB / 0.9595 GB, free: 139.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.134, allocations: 79.78 kB / 0.9595 GB, free: 139.3 MB / 0.7169 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.0009824/1.135, allocations: 0.8193 MB / 0.9603 GB, free: 138.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/1.135, allocations: 145.1 kB / 0.9605 GB, free: 138.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/1.138, allocations: 2.232 MB / 0.9627 GB, free: 136.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.138, allocations: 10.84 kB / 0.9627 GB, free: 136 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.138, allocations: 0 / 0.9627 GB, free: 136 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.138, allocations: 11.86 kB / 0.9627 GB, free: 136 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/1.142, allocations: 3.605 MB / 0.9662 GB, free: 132.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.142, allocations: 3.984 kB / 0.9662 GB, free: 132.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/1.143, allocations: 151.6 kB / 0.9664 GB, free: 132.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/1.143, allocations: 4 kB / 0.9664 GB, free: 132.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/1.143, allocations: 31.92 kB / 0.9664 GB, free: 132.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.143, allocations: 5.25 kB / 0.9664 GB, free: 132.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.143, allocations: 0 / 0.9664 GB, free: 132.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/1.146, allocations: 2.177 MB / 0.9685 GB, free: 130 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/1.146, allocations: 375 kB / 0.9689 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/1.146, allocations: 27.88 kB / 0.9689 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/1.147, allocations: 64.11 kB / 0.969 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.147, allocations: 62.14 kB / 0.969 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/1.147, allocations: 47.97 kB / 0.9691 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001926/1.149, allocations: 2.749 MB / 0.9718 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.149, allocations: 0 / 0.9718 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001871/1.151, allocations: 1 MB / 0.9727 GB, free: 125.8 MB / 0.7169 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.001929/1.153, allocations: 0.9093 MB / 0.9736 GB, free: 125.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00727/1.16, allocations: 10.59 MB / 0.984 GB, free: 114.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.16, allocations: 0 / 0.984 GB, free: 114.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/1.162, allocations: 1.469 MB / 0.9854 GB, free: 113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/1.163, allocations: 296.7 kB / 0.9857 GB, free: 112.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005535/1.168, allocations: 6.207 MB / 0.9917 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000944/1.169, allocations: 1.745 MB / 0.9934 GB, free: 104.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000945/1.17, allocations: 369.9 kB / 0.9938 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/1.171, allocations: 139.3 kB / 0.9939 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/1.171, allocations: 0 / 0.9939 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.0426/1.213, allocations: 28.97 MB / 1.022 GB, free: 75.42 MB / 0.7169 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)