Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.843/1.843, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001142/0.001142, allocations: 188.2 kB / 371.2 MB, free: 10.84 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.507/1.507, allocations: 205.4 MB / 0.6299 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 88.08 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005879/0.000588, allocations: 10.38 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2608, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005181/0.2661, allocations: 3.596 MB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6083/0.8744, allocations: 136.5 MB / 1.115 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005277/0.875, allocations: 22.69 kB / 1.115 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.8753, allocations: 126 kB / 1.116 GB, free: 1.637 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.001061/0.8764, allocations: 354.6 kB / 1.116 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.8782, allocations: 0.5984 MB / 1.117 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.8794, allocations: 1.054 MB / 1.118 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007673/0.8802, allocations: 0.5871 MB / 1.118 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.8807, allocations: 302.1 kB / 1.118 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.8811, allocations: 311.6 kB / 1.119 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.8812, allocations: 22.53 kB / 1.119 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006882/0.8819, allocations: 274.8 kB / 1.119 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.8821, allocations: 166.2 kB / 1.119 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.8822, allocations: 177.5 kB / 1.119 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.8835, allocations: 1.026 MB / 1.12 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8836, allocations: 1.719 kB / 1.12 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8836, allocations: 0 / 1.12 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.8836, allocations: 0 / 1.12 GB, free: 0.8047 MB / 0.6823 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.001919/0.8855, allocations: 1.12 MB / 1.121 GB, free: 16.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.8856, allocations: 9.156 kB / 1.121 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.8866, allocations: 245.5 kB / 1.122 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000962/0.8876, allocations: 0.7049 MB / 1.122 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.8877, allocations: 58.97 kB / 1.122 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.8878, allocations: 81.28 kB / 1.122 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.8893, allocations: 0.9135 MB / 1.123 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.8893, allocations: 0 / 1.123 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.8894, allocations: 39.8 kB / 1.123 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.8894, allocations: 18.88 kB / 1.123 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.891, allocations: 1.12 MB / 1.125 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.8947, allocations: 2.695 MB / 1.127 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.8963, allocations: 0.8669 MB / 1.128 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.8968, allocations: 284.9 kB / 1.128 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-05/0.8968, allocations: 28.7 kB / 1.128 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007046/0.8976, allocations: 443.2 kB / 1.129 GB, free: 14.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 2.475e-06/0.8976, allocations: 0 / 1.129 GB, free: 14.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.002686/0.9003, allocations: 1.093 MB / 1.13 GB, free: 13.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.9004, allocations: 194.1 kB / 1.13 GB, free: 13.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006508/0.901, allocations: 0.5639 MB / 1.131 GB, free: 13.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.9011, allocations: 41.33 kB / 1.131 GB, free: 13.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.9014, allocations: 384 kB / 1.131 GB, free: 13.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.9015, allocations: 247.2 kB / 1.131 GB, free: 13.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.9016, allocations: 15.78 kB / 1.131 GB, free: 13.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.9017, allocations: 378.3 kB / 1.132 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.9022, allocations: 238.8 kB / 1.132 GB, free: 12.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.9027, allocations: 350 kB / 1.132 GB, free: 12.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009252/0.9036, allocations: 0.5967 MB / 1.133 GB, free: 12.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.9036, allocations: 0 / 1.133 GB, free: 12.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001691/0.9053, allocations: 0.8022 MB / 1.133 GB, free: 12.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.9054, allocations: 9.625 kB / 1.133 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.9054, allocations: 1.062 kB / 1.133 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.906, allocations: 84.78 kB / 1.134 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.9066, allocations: 159.8 kB / 1.134 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.9086, allocations: 1.537 MB / 1.135 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.9093, allocations: 92.64 kB / 1.135 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/0.9094, allocations: 39.56 kB / 1.135 GB, free: 11.29 MB / 0.698 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004107/0.9098, allocations: 250.4 kB / 1.136 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.9099, allocations: 76.25 kB / 1.136 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.9121, allocations: 0.9864 MB / 1.137 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.9121, allocations: 8.781 kB / 1.137 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.9121, allocations: 1.469 kB / 1.137 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.9121, allocations: 8.406 kB / 1.137 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.9152, allocations: 1.92 MB / 1.139 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.9152, allocations: 1.562 kB / 1.139 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.9158, allocations: 143 kB / 1.139 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/0.9163, allocations: 85.8 kB / 1.139 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.9164, allocations: 25.38 kB / 1.139 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.9181, allocations: 1.545 MB / 1.14 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.9181, allocations: 3.938 kB / 1.14 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.9199, allocations: 0.9201 MB / 1.141 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.9202, allocations: 263.8 kB / 1.141 GB, free: 8.684 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.9203, allocations: 13.78 kB / 1.141 GB, free: 8.684 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.921, allocations: 72.31 kB / 1.141 GB, free: 8.664 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.9211, allocations: 65.94 kB / 1.142 GB, free: 8.637 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/0.9212, allocations: 34.73 kB / 1.142 GB, free: 8.629 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005269/0.9217, allocations: 410.2 kB / 1.142 GB, free: 8.484 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9217, allocations: 0 / 1.142 GB, free: 8.484 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009396/0.9227, allocations: 286.9 kB / 1.142 GB, free: 8.426 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/0.9239, allocations: 0.5472 MB / 1.143 GB, free: 8.199 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.9256, allocations: 0.7689 MB / 1.144 GB, free: 7.969 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.9256, allocations: 0 / 1.144 GB, free: 7.969 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008761/0.9265, allocations: 496.6 kB / 1.144 GB, free: 7.789 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.9277, allocations: 261.3 kB / 1.144 GB, free: 7.707 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.9316, allocations: 2.057 MB / 1.146 GB, free: 6.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.9322, allocations: 1 MB / 1.147 GB, free: 5.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009013/0.9331, allocations: 258 kB / 1.147 GB, free: 5.617 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.9333, allocations: 99.3 kB / 1.148 GB, free: 5.594 MB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/0.9333, allocations: 0 / 1.148 GB, free: 5.594 MB / 0.698 GB Notification: Performance of Templates: time 0.02156/0.9549, allocations: 12.92 MB / 1.16 GB, free: 15.11 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)