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.0008618/0.0008617, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006133/0.006133, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.417/1.417, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.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.83/1.83, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005842/0.0005843, allocations: 18.06 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2317, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006529/0.2383, allocations: 5.07 MB / 0.7928 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5744/0.8128, allocations: 150.6 MB / 0.9399 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008956/0.8137, allocations: 20.66 kB / 0.9399 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004488/0.8182, allocations: 1.617 MB / 0.9415 GB, free: 1.266 MB / 0.7169 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.001938/0.8201, allocations: 0.6125 MB / 0.9421 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.8222, allocations: 0.8267 MB / 0.9429 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003375/0.8256, allocations: 3.214 MB / 0.9461 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.8269, allocations: 0.8754 MB / 0.9469 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.8288, allocations: 0.8605 MB / 0.9478 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.83, allocations: 0.7825 MB / 0.9485 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.8301, allocations: 46.31 kB / 0.9486 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.8331, allocations: 1.886 MB / 0.9504 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009617/0.8341, allocations: 1.165 MB / 0.9516 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008078/0.8349, allocations: 0.7564 MB / 0.9523 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004073/0.839, allocations: 3.473 MB / 0.9557 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.839, allocations: 0 / 0.9557 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.839, allocations: 0 / 0.9557 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.885e-05/0.8391, allocations: 0 / 0.9557 GB, free: 16.18 MB / 0.7325 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.00352/0.8426, allocations: 2.053 MB / 0.9577 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.8426, allocations: 13.5 kB / 0.9577 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/0.8434, allocations: 259.8 kB / 0.9579 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003217/0.8467, allocations: 2.941 MB / 0.9608 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.8468, allocations: 110.6 kB / 0.9609 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.847, allocations: 138.6 kB / 0.9611 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.8492, allocations: 1.429 MB / 0.9625 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.8492, allocations: 0 / 0.9625 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.8493, allocations: 49.31 kB / 0.9625 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.8494, allocations: 27.22 kB / 0.9625 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.8514, allocations: 1.542 MB / 0.964 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006802/0.8582, allocations: 5.086 MB / 0.969 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.8599, allocations: 1.328 MB / 0.9703 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008909/0.8608, allocations: 0.8552 MB / 0.9711 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.38e-05/0.8608, allocations: 33.73 kB / 0.9712 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.8619, allocations: 0.8524 MB / 0.972 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=92): time 2.565e-06/0.8619, allocations: 0 / 0.972 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92): time 0.003379/0.8653, allocations: 2.516 MB / 0.9745 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/0.8655, allocations: 332.1 kB / 0.9748 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/0.8697, allocations: 4.301 MB / 0.979 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.8699, allocations: 56.42 kB / 0.979 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000505/0.8704, allocations: 0.6594 MB / 0.9797 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.8707, allocations: 313.5 kB / 0.98 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006017/0.8713, allocations: 0.8486 MB / 0.9808 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.8714, allocations: 304 kB / 0.9811 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005755/0.8772, allocations: 7.001 MB / 0.9879 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006491/0.8837, allocations: 7.258 MB / 0.995 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00843/0.8921, allocations: 8.931 MB / 1.004 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.8922, allocations: 0 / 1.004 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01579/0.908, allocations: 15.75 MB / 1.019 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.9082, allocations: 160.3 kB / 1.019 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.9082, allocations: 0 / 1.019 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.9083, allocations: 8 kB / 1.019 GB, free: 8.453 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.9096, allocations: 303.5 kB / 1.02 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.617e-05/0.9097, allocations: 9 kB / 1.02 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.9111, allocations: 170.3 kB / 1.02 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/0.9114, allocations: 74.47 kB / 1.02 GB, free: 7.91 MB / 0.7637 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.001397/0.9128, allocations: 0.8261 MB / 1.021 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/0.9132, allocations: 146.1 kB / 1.021 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/0.9169, allocations: 2.238 MB / 1.023 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.917, allocations: 15.94 kB / 1.023 GB, free: 4.664 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.917, allocations: 0 / 1.023 GB, free: 4.664 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.917, allocations: 3.984 kB / 1.023 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005527/0.9225, allocations: 3.627 MB / 1.027 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.9225, allocations: 0 / 1.027 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.9232, allocations: 159.7 kB / 1.027 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.9232, allocations: 0 / 1.027 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-05/0.9233, allocations: 35.97 kB / 1.027 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.9233, allocations: 4 kB / 1.027 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9233, allocations: 0 / 1.027 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.9264, allocations: 2.181 MB / 1.029 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000691/0.9271, allocations: 414.7 kB / 1.029 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/0.9274, allocations: 24 kB / 1.029 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008474/0.9282, allocations: 71.94 kB / 1.029 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.9284, allocations: 64.52 kB / 1.029 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/0.9285, allocations: 47.97 kB / 1.029 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002776/0.9313, allocations: 2.75 MB / 1.032 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9313, allocations: 0 / 1.032 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002852/0.9341, allocations: 1.003 MB / 1.033 GB, free: 10.2 MB / 0.7794 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.00403/0.9382, allocations: 0.9106 MB / 1.034 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01155/0.9497, allocations: 10.6 MB / 1.044 GB, free: 14.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.9498, allocations: 0 / 1.044 GB, free: 14.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.9516, allocations: 1.473 MB / 1.046 GB, free: 13.41 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.9541, allocations: 294 kB / 1.046 GB, free: 13.13 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009042/0.9632, allocations: 6.259 MB / 1.052 GB, free: 6.836 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/0.965, allocations: 1.749 MB / 1.054 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001375/0.9664, allocations: 365.8 kB / 1.054 GB, free: 4.691 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/0.9669, allocations: 131.4 kB / 1.054 GB, free: 4.562 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/0.9669, allocations: 3.938 kB / 1.054 GB, free: 4.559 MB / 0.795 GB Notification: Performance of Templates: time 0.04806/1.015, allocations: 27.72 MB / 1.081 GB, free: 8.988 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: