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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.289/1.289, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009695/0.0009695, allocations: 178.4 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205 MB / 0.5766 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007047/0.0007047, allocations: 92.8 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 9.594 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.004665/0.1422, allocations: 5.183 MB / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1312/0.2734, allocations: 153 MB / 1.051 GB, free: 5.363 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005696/0.274, allocations: 19.88 kB / 1.051 GB, free: 5.344 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.2777, allocations: 1.616 MB / 1.053 GB, free: 3.723 MB / 0.698 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.001243/0.2789, allocations: 0.6098 MB / 1.053 GB, free: 3.113 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.2806, allocations: 0.8257 MB / 1.054 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3305/0.6111, allocations: 3.213 MB / 1.057 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.6122, allocations: 0.8801 MB / 1.058 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.6133, allocations: 0.8611 MB / 1.059 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008198/0.6141, allocations: 0.7842 MB / 1.06 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.6143, allocations: 48.06 kB / 1.06 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.617, allocations: 1.882 MB / 1.062 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009689/0.618, allocations: 1.164 MB / 1.063 GB, free: 3.141 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000704/0.6187, allocations: 0.7325 MB / 1.064 GB, free: 3.141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.6229, allocations: 3.47 MB / 1.067 GB, free: 3.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6229, allocations: 3.812 kB / 1.067 GB, free: 3.016 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6229, allocations: 0 / 1.067 GB, free: 3.016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.559e-05/0.623, allocations: 0 / 1.067 GB, free: 3.016 MB / 0.698 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.003379/0.6264, allocations: 2.044 MB / 1.069 GB, free: 1.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6264, allocations: 8.219 kB / 1.069 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.6272, allocations: 268.3 kB / 1.069 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/0.6303, allocations: 2.938 MB / 1.072 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.6304, allocations: 110.5 kB / 1.072 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.6306, allocations: 143.6 kB / 1.072 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.6327, allocations: 1.44 MB / 1.074 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.6327, allocations: 0 / 1.074 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/0.6328, allocations: 47.84 kB / 1.074 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.6328, allocations: 26.62 kB / 1.074 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.6347, allocations: 1.534 MB / 1.075 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006061/0.6408, allocations: 5.093 MB / 1.08 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.6423, allocations: 1.323 MB / 1.082 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008184/0.6431, allocations: 0.8538 MB / 1.082 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.82e-05/0.6432, allocations: 31.69 kB / 1.082 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009842/0.6442, allocations: 0.8643 MB / 1.083 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=92): time 2.535e-06/0.6442, allocations: 0 / 1.083 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=92): time 0.003109/0.6473, allocations: 2.506 MB / 1.086 GB, free: 16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.6475, allocations: 325.7 kB / 1.086 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.6512, allocations: 4.308 MB / 1.09 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.6514, allocations: 57.23 kB / 1.09 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.6518, allocations: 0.6577 MB / 1.091 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.652, allocations: 313.9 kB / 1.091 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005437/0.6525, allocations: 0.8487 MB / 1.092 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.6526, allocations: 308.3 kB / 1.092 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005742/0.6584, allocations: 7 MB / 1.099 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/0.6642, allocations: 7.264 MB / 1.106 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007399/0.6716, allocations: 8.924 MB / 1.115 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6716, allocations: 4 kB / 1.115 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01391/0.6855, allocations: 15.75 MB / 1.13 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.6857, allocations: 151.2 kB / 1.131 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6857, allocations: 0 / 1.131 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.6857, allocations: 11.3 kB / 1.131 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.6869, allocations: 302.3 kB / 1.131 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.6869, allocations: 8 kB / 1.131 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.6881, allocations: 178.4 kB / 1.131 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.6882, allocations: 73.52 kB / 1.131 GB, free: 2.723 MB / 0.7136 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.001063/0.6893, allocations: 0.8313 MB / 1.132 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.6895, allocations: 146.1 kB / 1.132 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003641/0.6932, allocations: 2.267 MB / 1.134 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6932, allocations: 6.281 kB / 1.134 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6932, allocations: 0 / 1.134 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.6937, allocations: 386.8 kB / 1.135 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.6939, allocations: 24 kB / 1.135 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.6945, allocations: 76.89 kB / 1.135 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.6947, allocations: 63.22 kB / 1.135 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002964/0.6977, allocations: 2.317 MB / 1.137 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002794/0.7005, allocations: 2.261 MB / 1.139 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001178/0.7017, allocations: 1.141 MB / 1.14 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002347/0.704, allocations: 2.75 MB / 1.143 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of Backend: time 5.61e-07/0.704, allocations: 3 kB / 1.143 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01643/0.7205, allocations: 11.21 MB / 1.154 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of SimCode: time 0.006851/0.7273, allocations: 6.322 MB / 1.16 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of Templates: time 0.04171/0.7691, allocations: 29.33 MB / 1.189 GB, free: 11.34 MB / 0.7761 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)