Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.157/2.157, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001447/0.001447, allocations: 176.6 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.445/2.445, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.0009529/0.0009524, allocations: 102.8 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00075/0.0007501, allocations: 19.39 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2306, allocations: 106.2 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00545/0.2361, allocations: 3.615 MB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2215/0.4577, allocations: 136.5 MB / 1.036 GB, free: 5.039 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008913/0.4586, allocations: 11.94 kB / 1.036 GB, free: 5.027 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.4595, allocations: 123 kB / 1.036 GB, free: 4.906 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.002005/0.4616, allocations: 352.8 kB / 1.037 GB, free: 4.562 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.4644, allocations: 0.6107 MB / 1.037 GB, free: 3.961 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.4667, allocations: 1.054 MB / 1.038 GB, free: 2.898 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.4682, allocations: 0.5733 MB / 1.039 GB, free: 2.305 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008866/0.4692, allocations: 302.6 kB / 1.039 GB, free: 2.008 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007751/0.47, allocations: 322.3 kB / 1.04 GB, free: 1.691 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.4702, allocations: 20 kB / 1.04 GB, free: 1.672 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.4713, allocations: 267.8 kB / 1.04 GB, free: 1.41 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.4716, allocations: 159.3 kB / 1.04 GB, free: 1.254 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.472, allocations: 181.1 kB / 1.04 GB, free: 1.07 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.4741, allocations: 1.029 MB / 1.041 GB, free: 40 kB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4741, allocations: 4 kB / 1.041 GB, free: 36 kB / 0.6824 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4741, allocations: 0 / 1.041 GB, free: 36 kB / 0.6824 GB Notification: Performance of Transformations before backend: time 3.617e-05/0.4742, allocations: 4 kB / 1.041 GB, free: 32 kB / 0.6824 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.003464/0.4777, allocations: 1.124 MB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.4777, allocations: 8.031 kB / 1.042 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/0.4807, allocations: 243.4 kB / 1.043 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.4833, allocations: 0.6803 MB / 1.043 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.56e-05/0.4835, allocations: 61.94 kB / 1.043 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.4837, allocations: 80 kB / 1.043 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.4865, allocations: 0.9092 MB / 1.044 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.4866, allocations: 7.938 kB / 1.044 GB, free: 12.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/0.4868, allocations: 36 kB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.4869, allocations: 20 kB / 1.044 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/0.4904, allocations: 1.112 MB / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007264/0.4977, allocations: 2.691 MB / 1.048 GB, free: 8.844 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.5008, allocations: 0.8715 MB / 1.049 GB, free: 7.945 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009596/0.5018, allocations: 282.7 kB / 1.049 GB, free: 7.668 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.502, allocations: 24.62 kB / 1.049 GB, free: 7.645 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.5034, allocations: 443.1 kB / 1.05 GB, free: 7.191 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 6.382e-06/0.5034, allocations: 7.922 kB / 1.05 GB, free: 7.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.005225/0.5086, allocations: 1.089 MB / 1.051 GB, free: 6.066 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.5088, allocations: 192.6 kB / 1.051 GB, free: 5.836 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.51, allocations: 0.5704 MB / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.5102, allocations: 37.7 kB / 1.051 GB, free: 5.219 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/0.5107, allocations: 380.1 kB / 1.052 GB, free: 4.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.5111, allocations: 256.3 kB / 1.052 GB, free: 4.586 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.5112, allocations: 16 kB / 1.052 GB, free: 4.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002308/0.5114, allocations: 378.7 kB / 1.052 GB, free: 4.191 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008925/0.5123, allocations: 245.9 kB / 1.053 GB, free: 3.949 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.5134, allocations: 353.7 kB / 1.053 GB, free: 3.582 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.5144, allocations: 290.9 kB / 1.053 GB, free: 3.301 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.5144, allocations: 0 / 1.053 GB, free: 3.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003302/0.5177, allocations: 0.8058 MB / 1.054 GB, free: 2.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.5178, allocations: 8 kB / 1.054 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5178, allocations: 0 / 1.054 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.5189, allocations: 88.95 kB / 1.054 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.5202, allocations: 151.8 kB / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.5234, allocations: 1.522 MB / 1.056 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.5247, allocations: 87.38 kB / 1.056 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.5249, allocations: 40.03 kB / 1.056 GB, free: 460 kB / 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.000658/0.5256, allocations: 250.3 kB / 1.056 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.5258, allocations: 71.16 kB / 1.056 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5761/1.102, allocations: 1.003 MB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/1.102, allocations: 6.562 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/1.102, allocations: 3 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005326/1.103, allocations: 264.1 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/1.103, allocations: 18.16 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.104, allocations: 74.58 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.104, allocations: 59.55 kB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00279/1.107, allocations: 0.8924 MB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00313/1.11, allocations: 1.293 MB / 1.06 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008652/1.111, allocations: 323.8 kB / 1.06 GB, free: 155.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007153/1.111, allocations: 415.4 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of Backend: time 1.633e-06/1.112, allocations: 0 / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004119/1.116, allocations: 1.129 MB / 1.061 GB, free: 155.6 MB / 0.698 GB Notification: Performance of SimCode: time 0.004263/1.12, allocations: 2.274 MB / 1.064 GB, free: 154.2 MB / 0.698 GB Notification: Performance of Templates: time 0.04126/1.161, allocations: 13.76 MB / 1.077 GB, free: 150 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)