Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.3 MB / 308.1 MB, free: 4.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 176.5 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001026, allocations: 103 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2679, allocations: 114.6 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007958/0.2759, allocations: 5.461 MB / 0.9876 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6547/0.9307, allocations: 152.7 MB / 1.137 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.932, allocations: 24.28 kB / 1.137 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005069/0.9371, allocations: 1.612 MB / 1.138 GB, free: 2.555 MB / 0.7448 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.002579/0.9397, allocations: 0.6131 MB / 1.139 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.9421, allocations: 0.7765 MB / 1.14 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002313/0.9445, allocations: 2.286 MB / 1.142 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.9456, allocations: 0.9153 MB / 1.143 GB, free: 328 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.9466, allocations: 0.719 MB / 1.143 GB, free: 4 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.9478, allocations: 0.787 MB / 1.144 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.948, allocations: 89.62 kB / 1.144 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.9518, allocations: 1.961 MB / 1.146 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0009312/0.9527, allocations: 1.042 MB / 1.147 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0009784/0.9537, allocations: 0.7536 MB / 1.148 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005503/0.9592, allocations: 3.32 MB / 1.151 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9593, allocations: 0 / 1.151 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9593, allocations: 0 / 1.151 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.198e-05/0.9593, allocations: 0 / 1.151 GB, free: 13.13 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004319/0.9637, allocations: 2.182 MB / 1.153 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.9637, allocations: 9.688 kB / 1.153 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.9647, allocations: 255 kB / 1.154 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/0.9682, allocations: 2.863 MB / 1.156 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/0.9683, allocations: 92.52 kB / 1.157 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.9685, allocations: 127.8 kB / 1.157 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.9705, allocations: 1.253 MB / 1.158 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.9705, allocations: 0 / 1.158 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.9706, allocations: 52.09 kB / 1.158 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.9707, allocations: 31.78 kB / 1.158 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.9727, allocations: 1.415 MB / 1.159 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006913/0.9796, allocations: 4.777 MB / 1.164 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.9814, allocations: 1.004 MB / 1.165 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.982, allocations: 401.9 kB / 1.165 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.711e-05/0.9821, allocations: 35.92 kB / 1.165 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008597/0.983, allocations: 0.5552 MB / 1.166 GB, free: 6.773 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=88): time 2.866e-06/0.983, allocations: 0 / 1.166 GB, free: 6.773 MB / 0.7605 GB Notification: Performance of matching and sorting (n=88): time 0.003685/0.9867, allocations: 1.478 MB / 1.167 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.9868, allocations: 194.2 kB / 1.168 GB, free: 5.98 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005096/0.992, allocations: 4.029 MB / 1.171 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002243/0.9922, allocations: 51.08 kB / 1.172 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006014/0.9928, allocations: 0.6176 MB / 1.172 GB, free: 4.387 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.9931, allocations: 296.6 kB / 1.172 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.9942, allocations: 0.934 MB / 1.173 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.9943, allocations: 301.1 kB / 1.174 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007288/1.002, allocations: 6.293 MB / 1.18 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007692/1.009, allocations: 6.533 MB / 1.186 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009263/1.019, allocations: 7.388 MB / 1.193 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/1.019, allocations: 0 / 1.193 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01507/1.034, allocations: 14.06 MB / 1.207 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.034, allocations: 7.938 kB / 1.207 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.034, allocations: 0 / 1.207 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/1.034, allocations: 85.72 kB / 1.207 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.036, allocations: 229.1 kB / 1.207 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/1.038, allocations: 1.53 MB / 1.209 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/1.039, allocations: 124.2 kB / 1.209 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.039, allocations: 58.72 kB / 1.209 GB, free: 3.254 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (143): * Single equations (assignments): 130 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009089/1.04, allocations: 0.5879 MB / 1.21 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/1.04, allocations: 130.4 kB / 1.21 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/1.043, allocations: 1.336 MB / 1.211 GB, free: 1.434 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.043, allocations: 12 kB / 1.211 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.043, allocations: 3.281 kB / 1.211 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/1.043, allocations: 3.281 kB / 1.211 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004089/1.047, allocations: 2.526 MB / 1.214 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.047, allocations: 0.9375 kB / 1.214 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/1.048, allocations: 183.8 kB / 1.214 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/1.048, allocations: 79.97 kB / 1.214 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/1.048, allocations: 27.23 kB / 1.214 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/1.05, allocations: 1.544 MB / 1.215 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.05, allocations: 0 / 1.215 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/1.054, allocations: 2.485 MB / 1.218 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/1.054, allocations: 332 kB / 1.218 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.055, allocations: 19.33 kB / 1.218 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/1.055, allocations: 57.67 kB / 1.218 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.055, allocations: 68.61 kB / 1.218 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/1.055, allocations: 43.23 kB / 1.218 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002483/1.058, allocations: 2.587 MB / 1.221 GB, free: 8.328 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.61e-07/1.058, allocations: 0 / 1.221 GB, free: 8.328 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002899/1.061, allocations: 0.9482 MB / 1.222 GB, free: 7.398 MB / 0.7917 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 (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002728/1.064, allocations: 0.9025 MB / 1.223 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009987/1.074, allocations: 8.279 MB / 1.231 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/1.074, allocations: 0 / 1.231 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/1.075, allocations: 0.5983 MB / 1.231 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/1.077, allocations: 304.2 kB / 1.232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.087, allocations: 6.035 MB / 1.237 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/1.089, allocations: 1.706 MB / 1.239 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001579/1.091, allocations: 379 kB / 1.239 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/1.091, allocations: 131.7 kB / 1.24 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of SimCode: time 9.01e-07/1.091, allocations: 0 / 1.24 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of Templates: time 0.05202/1.143, allocations: 26.95 MB / 1.266 GB, free: 0.7773 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)