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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.001451/0.001451, allocations: 192.4 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.675/1.675, allocations: 205 MB / 0.6354 GB, free: 9.781 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.001141/0.00114, allocations: 99.62 kB / 0.748 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2807, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007992/0.2888, allocations: 5.496 MB / 0.9876 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.7267/1.016, allocations: 153 MB / 1.137 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/1.017, allocations: 21.62 kB / 1.137 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.006349/1.024, allocations: 1.62 MB / 1.139 GB, free: 2.414 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.003116/1.027, allocations: 0.6027 MB / 1.139 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/1.03, allocations: 0.8293 MB / 1.14 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004752/1.035, allocations: 3.231 MB / 1.143 GB, free: 356 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/1.037, allocations: 0.896 MB / 1.144 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/1.04, allocations: 0.997 MB / 1.145 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/1.042, allocations: 0.9336 MB / 1.146 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007877/1.043, allocations: 96.53 kB / 1.146 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005746/1.049, allocations: 1.929 MB / 1.148 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001945/1.051, allocations: 1.25 MB / 1.149 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002215/1.053, allocations: 0.8322 MB / 1.15 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.007581/1.06, allocations: 3.561 MB / 1.153 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.061, allocations: 0 / 1.153 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.844e-06/1.061, allocations: 0.6562 kB / 1.153 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001316/1.061, allocations: 0 / 1.153 GB, free: 12.46 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.008003/1.069, allocations: 2.42 MB / 1.156 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.069, allocations: 9.312 kB / 1.156 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/1.07, allocations: 251.7 kB / 1.156 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/1.076, allocations: 2.943 MB / 1.159 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.076, allocations: 113.3 kB / 1.159 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/1.076, allocations: 139.5 kB / 1.159 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/1.08, allocations: 1.435 MB / 1.161 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/1.08, allocations: 0 / 1.161 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/1.08, allocations: 47.94 kB / 1.161 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/1.08, allocations: 28.12 kB / 1.161 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/1.083, allocations: 1.528 MB / 1.162 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/1.096, allocations: 5.015 MB / 1.167 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/1.099, allocations: 1.319 MB / 1.168 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/1.101, allocations: 0.8475 MB / 1.169 GB, free: 5.957 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/1.101, allocations: 32.41 kB / 1.169 GB, free: 5.945 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001826/1.103, allocations: 0.8553 MB / 1.17 GB, free: 5.711 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 5.2e-06/1.103, allocations: 4 kB / 1.17 GB, free: 5.707 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.006479/1.11, allocations: 2.491 MB / 1.172 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003761/1.11, allocations: 330.2 kB / 1.173 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.121, allocations: 4.309 MB / 1.177 GB, free: 3.633 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0008096/1.122, allocations: 54.77 kB / 1.177 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/1.123, allocations: 0.6526 MB / 1.178 GB, free: 3.082 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000884/1.124, allocations: 315.2 kB / 1.178 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003353/1.128, allocations: 1.054 MB / 1.179 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.128, allocations: 306.2 kB / 1.179 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01285/1.141, allocations: 6.996 MB / 1.186 GB, free: 36 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01421/1.155, allocations: 7.263 MB / 1.193 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/1.17, allocations: 8.917 MB / 1.202 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/1.17, allocations: 3.031 kB / 1.202 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.02682/1.197, allocations: 15.77 MB / 1.217 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004492/1.197, allocations: 155.5 kB / 1.217 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/1.198, allocations: 4.438 kB / 1.217 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.03e-05/1.198, allocations: 8 kB / 1.217 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/1.2, allocations: 298 kB / 1.218 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.419e-05/1.2, allocations: 11.94 kB / 1.218 GB, free: 11.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/1.203, allocations: 171.7 kB / 1.218 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007227/1.204, allocations: 77.83 kB / 1.218 GB, free: 11.59 MB / 0.7917 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.002519/1.206, allocations: 0.8295 MB / 1.219 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007049/1.207, allocations: 138.8 kB / 1.219 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005502/1.213, allocations: 2.226 MB / 1.221 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.213, allocations: 8 kB / 1.221 GB, free: 8.719 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.213, allocations: 7.938 kB / 1.221 GB, free: 8.711 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/1.213, allocations: 6.422 kB / 1.221 GB, free: 8.711 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00895/1.222, allocations: 3.612 MB / 1.225 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.222, allocations: 4 kB / 1.225 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008793/1.223, allocations: 149.6 kB / 1.225 GB, free: 5.523 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.567e-05/1.223, allocations: 4.594 kB / 1.225 GB, free: 5.52 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.223, allocations: 37.25 kB / 1.225 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/1.223, allocations: 4.844 kB / 1.225 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.223, allocations: 0.75 kB / 1.225 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008229/1.231, allocations: 4.025 MB / 1.229 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.232, allocations: 378.7 kB / 1.229 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/1.233, allocations: 25.12 kB / 1.229 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.234, allocations: 55.55 kB / 1.229 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/1.234, allocations: 68.77 kB / 1.229 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.234, allocations: 46 kB / 1.229 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004961/1.239, allocations: 2.77 MB / 1.232 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.9e-07/1.239, allocations: 1.219 kB / 1.232 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00407/1.243, allocations: 1.007 MB / 1.233 GB, free: 13.81 MB / 0.8073 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.004224/1.248, allocations: 0.9185 MB / 1.234 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01697/1.265, allocations: 10.59 MB / 1.244 GB, free: 3.062 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.265, allocations: 0 / 1.244 GB, free: 3.062 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/1.268, allocations: 1.469 MB / 1.246 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.271, allocations: 292.5 kB / 1.246 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.285, allocations: 6.725 MB / 1.253 GB, free: 11.19 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/1.288, allocations: 1.773 MB / 1.254 GB, free: 9.723 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00284/1.291, allocations: 368.5 kB / 1.255 GB, free: 9.457 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008137/1.292, allocations: 130 kB / 1.255 GB, free: 9.344 MB / 0.823 GB Notification: Performance of SimCode: time 1.453e-06/1.292, allocations: 4 kB / 1.255 GB, free: 9.34 MB / 0.823 GB Notification: Performance of Templates: time 0.0863/1.378, allocations: 29.6 MB / 1.284 GB, free: 14.84 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (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)