Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 292.3 MB / 308.1 MB, free: 4.242 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.001158/0.001158, allocations: 190.4 kB / 376.9 MB, free: 1.781 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.439/1.439, allocations: 205.1 MB / 0.6354 GB, free: 9.777 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.001171/0.001171, allocations: 102 kB / 0.748 GB, free: 61.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 55.92 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3074, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.008721/0.3162, allocations: 4.211 MB / 0.9863 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6652/0.9814, allocations: 147.9 MB / 1.131 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008601/0.9823, allocations: 18.25 kB / 1.131 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.9829, allocations: 130.6 kB / 1.131 GB, free: 7.062 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.001312/0.9842, allocations: 376.9 kB / 1.131 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.9859, allocations: 0.6689 MB / 1.132 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009148/0.9868, allocations: 1.123 MB / 1.133 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007544/0.9876, allocations: 0.6088 MB / 1.134 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.9881, allocations: 379.8 kB / 1.134 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.9885, allocations: 421 kB / 1.134 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.81e-05/0.9886, allocations: 51.53 kB / 1.134 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006664/0.9893, allocations: 319.1 kB / 1.135 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.9895, allocations: 225.2 kB / 1.135 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.9898, allocations: 459.6 kB / 1.135 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.9909, allocations: 1.343 MB / 1.137 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9909, allocations: 4.656 kB / 1.137 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9909, allocations: 0 / 1.137 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.9909, allocations: 0 / 1.137 GB, free: 4.195 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.002219/0.9932, allocations: 1.323 MB / 1.138 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.9932, allocations: 13.44 kB / 1.138 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.9943, allocations: 221.1 kB / 1.138 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008569/0.9952, allocations: 0.7042 MB / 1.139 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.9952, allocations: 60.06 kB / 1.139 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.9953, allocations: 79.91 kB / 1.139 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.9966, allocations: 0.9079 MB / 1.14 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.9966, allocations: 0 / 1.14 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.9967, allocations: 37.44 kB / 1.14 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.9967, allocations: 19.47 kB / 1.14 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.9983, allocations: 1.113 MB / 1.141 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/1.001, allocations: 2.651 MB / 1.144 GB, free: 388 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/1.003, allocations: 0.8578 MB / 1.144 GB, free: 4 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/1.003, allocations: 279.4 kB / 1.145 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.587e-05/1.003, allocations: 30.47 kB / 1.145 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007062/1.004, allocations: 431.2 kB / 1.145 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=74): time 2.444e-06/1.004, allocations: 0 / 1.145 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=74): time 0.002781/1.007, allocations: 1.089 MB / 1.146 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.007, allocations: 191 kB / 1.146 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/1.008, allocations: 0.5764 MB / 1.147 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/1.008, allocations: 41.14 kB / 1.147 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/1.008, allocations: 376.4 kB / 1.147 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/1.008, allocations: 256.7 kB / 1.148 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/1.009, allocations: 157.3 kB / 1.148 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002068/1.009, allocations: 375.5 kB / 1.148 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/1.009, allocations: 242 kB / 1.148 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/1.01, allocations: 357.4 kB / 1.149 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/1.011, allocations: 0.5802 MB / 1.149 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.011, allocations: 3.938 kB / 1.149 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001748/1.013, allocations: 0.8008 MB / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.013, allocations: 8.531 kB / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.013, allocations: 0 / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/1.013, allocations: 86.16 kB / 1.15 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/1.014, allocations: 154.9 kB / 1.15 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/1.016, allocations: 1.519 MB / 1.152 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000683/1.017, allocations: 82.67 kB / 1.152 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.11e-05/1.017, allocations: 37.59 kB / 1.152 GB, free: 11.43 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (88): * Single equations (assignments): 87 * Array equations: 0 * 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.000467/1.017, allocations: 257.9 kB / 1.152 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/1.017, allocations: 74.03 kB / 1.152 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/1.02, allocations: 0.9901 MB / 1.153 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/1.02, allocations: 10.75 kB / 1.153 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.02, allocations: 0 / 1.153 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/1.02, allocations: 3.469 kB / 1.153 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/1.023, allocations: 1.914 MB / 1.155 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/1.023, allocations: 0.5625 kB / 1.155 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/1.023, allocations: 144 kB / 1.155 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005079/1.024, allocations: 83.48 kB / 1.155 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/1.024, allocations: 29.41 kB / 1.155 GB, free: 9.785 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/1.026, allocations: 1.539 MB / 1.157 GB, free: 8.348 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.026, allocations: 11.86 kB / 1.157 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/1.028, allocations: 1.918 MB / 1.159 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/1.029, allocations: 254.5 kB / 1.159 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/1.029, allocations: 23.12 kB / 1.159 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/1.029, allocations: 51.92 kB / 1.159 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.029, allocations: 62.14 kB / 1.159 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.09e-05/1.029, allocations: 31.52 kB / 1.159 GB, free: 6.895 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004764/1.03, allocations: 420.4 kB / 1.16 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.81e-07/1.03, allocations: 0 / 1.16 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008907/1.031, allocations: 279 kB / 1.16 GB, free: 6.629 MB / 0.7605 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 (86): * Single equations (assignments): 83 * 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.001274/1.032, allocations: 0.5543 MB / 1.16 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001499/1.034, allocations: 0.7724 MB / 1.161 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.034, allocations: 0 / 1.161 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007859/1.034, allocations: 498.8 kB / 1.162 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/1.036, allocations: 264.7 kB / 1.162 GB, free: 5.75 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/1.04, allocations: 2.489 MB / 1.164 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/1.041, allocations: 1.028 MB / 1.165 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0008585/1.041, allocations: 254.6 kB / 1.165 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/1.042, allocations: 104 kB / 1.166 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of SimCode: time 6.21e-07/1.042, allocations: 7.938 kB / 1.166 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of Templates: time 0.02412/1.066, allocations: 13.72 MB / 1.179 GB, free: 2.328 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)