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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001512/0.001512, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.363/1.363, allocations: 205.1 MB / 222 MB, free: 4.762 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.804/1.804, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001416/0.001416, allocations: 67.34 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2049, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005842/0.2108, allocations: 4.208 MB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5451/0.756, allocations: 147.9 MB / 0.9312 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.7574, allocations: 18.25 kB / 0.9312 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.7584, allocations: 130.4 kB / 0.9313 GB, free: 5.293 MB / 0.7325 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.002213/0.7606, allocations: 368.3 kB / 0.9317 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.7632, allocations: 0.6761 MB / 0.9324 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.7651, allocations: 1.117 MB / 0.9335 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.7663, allocations: 0.5996 MB / 0.934 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008273/0.7671, allocations: 378.4 kB / 0.9344 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007805/0.7679, allocations: 425.7 kB / 0.9348 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.7681, allocations: 51.16 kB / 0.9349 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009156/0.7691, allocations: 320.1 kB / 0.9352 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.7694, allocations: 222.8 kB / 0.9354 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000827/0.7702, allocations: 453.8 kB / 0.9358 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.7719, allocations: 1.345 MB / 0.9371 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7719, allocations: 0 / 0.9371 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7719, allocations: 4 kB / 0.9371 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.7719, allocations: 0 / 0.9371 GB, free: 5.055 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.002338/0.7742, allocations: 1.32 MB / 0.9384 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7743, allocations: 7.875 kB / 0.9384 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.7755, allocations: 226.3 kB / 0.9386 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009344/0.7764, allocations: 0.7039 MB / 0.9393 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.7765, allocations: 62.45 kB / 0.9394 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.822e-05/0.7766, allocations: 78.22 kB / 0.9395 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.7781, allocations: 0.9091 MB / 0.9403 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.7781, allocations: 1.875 kB / 0.9403 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.7782, allocations: 35.16 kB / 0.9404 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.7783, allocations: 20.94 kB / 0.9404 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.7801, allocations: 1.103 MB / 0.9415 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/0.7837, allocations: 2.671 MB / 0.9441 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.7852, allocations: 0.8586 MB / 0.9449 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.7857, allocations: 278.3 kB / 0.9452 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.789e-05/0.7858, allocations: 30.19 kB / 0.9452 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008411/0.7867, allocations: 432.9 kB / 0.9456 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 2.305e-06/0.7867, allocations: 1.203 kB / 0.9456 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.00325/0.7899, allocations: 1.087 MB / 0.9467 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.7901, allocations: 194.7 kB / 0.9469 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009145/0.791, allocations: 0.5696 MB / 0.9474 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.7911, allocations: 39.55 kB / 0.9475 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.7914, allocations: 385.6 kB / 0.9478 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.7916, allocations: 246.3 kB / 0.9481 GB, free: 17.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.7919, allocations: 158 kB / 0.9482 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.792, allocations: 380.7 kB / 0.9486 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.7925, allocations: 240.3 kB / 0.9488 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.7931, allocations: 348.5 kB / 0.9491 GB, free: 17.19 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.7942, allocations: 0.5907 MB / 0.9497 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7942, allocations: 3.938 kB / 0.9497 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002326/0.7965, allocations: 0.7961 MB / 0.9505 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.7966, allocations: 5.969 kB / 0.9505 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.7966, allocations: 1.375 kB / 0.9505 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.7973, allocations: 82.23 kB / 0.9506 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/0.7981, allocations: 159 kB / 0.9507 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.8003, allocations: 1.523 MB / 0.9522 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000782/0.8011, allocations: 84.78 kB / 0.9523 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.8012, allocations: 31.81 kB / 0.9523 GB, free: 15.67 MB / 0.7481 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.0005154/0.8017, allocations: 263.9 kB / 0.9526 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.8019, allocations: 78.62 kB / 0.9527 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.8043, allocations: 0.9883 MB / 0.9536 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.8043, allocations: 8.719 kB / 0.9536 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.8043, allocations: 0 / 0.9536 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.8043, allocations: 6.422 kB / 0.9536 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/0.8074, allocations: 1.913 MB / 0.9555 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8074, allocations: 0 / 0.9555 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.808, allocations: 143.6 kB / 0.9557 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.8085, allocations: 86.89 kB / 0.9557 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.8086, allocations: 24.64 kB / 0.9558 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.8104, allocations: 1.539 MB / 0.9573 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8104, allocations: 0 / 0.9573 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.8123, allocations: 0.9181 MB / 0.9582 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.8126, allocations: 252.2 kB / 0.9584 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.8128, allocations: 19.64 kB / 0.9584 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/0.8134, allocations: 59.81 kB / 0.9585 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.8135, allocations: 62.69 kB / 0.9585 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/0.8136, allocations: 31.22 kB / 0.9586 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005664/0.8141, allocations: 421.5 kB / 0.959 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8141, allocations: 1.25 kB / 0.959 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009251/0.8151, allocations: 279.7 kB / 0.9592 GB, free: 13.13 MB / 0.7481 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.001144/0.8162, allocations: 0.56 MB / 0.9598 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.8178, allocations: 0.7698 MB / 0.9605 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8178, allocations: 0 / 0.9605 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000916/0.8187, allocations: 497.7 kB / 0.961 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.82, allocations: 271.4 kB / 0.9613 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.8239, allocations: 2.05 MB / 0.9633 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.8245, allocations: 1.005 MB / 0.9643 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009214/0.8254, allocations: 258.8 kB / 0.9645 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.8257, allocations: 94.27 kB / 0.9646 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of SimCode: time 9.02e-07/0.8257, allocations: 0.8438 kB / 0.9646 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of Templates: time 0.02141/0.8471, allocations: 13.37 MB / 0.9776 GB, free: 7.891 MB / 0.7481 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)