Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009216/0.0009217, allocations: 172.2 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0006814/0.0006815, allocations: 88.73 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 9.438 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1756, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.003589/0.1792, allocations: 3.886 MB / 0.9005 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1401/0.3194, allocations: 147.9 MB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/0.3199, allocations: 19.88 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.3204, allocations: 135 kB / 1.045 GB, free: 11.67 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.001114/0.3216, allocations: 368.5 kB / 1.045 GB, free: 11.31 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.3234, allocations: 0.6779 MB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.3245, allocations: 1.113 MB / 1.047 GB, free: 9.516 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007971/0.3253, allocations: 0.5895 MB / 1.048 GB, free: 8.902 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.3257, allocations: 302.5 kB / 1.048 GB, free: 8.605 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.3261, allocations: 338 kB / 1.048 GB, free: 8.273 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.377e-05/0.3262, allocations: 24 kB / 1.048 GB, free: 8.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006157/0.3268, allocations: 287.7 kB / 1.049 GB, free: 7.969 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.327, allocations: 167.2 kB / 1.049 GB, free: 7.805 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.3273, allocations: 401.3 kB / 1.049 GB, free: 7.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.3285, allocations: 1.296 MB / 1.051 GB, free: 6.109 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3285, allocations: 3.938 kB / 1.051 GB, free: 6.105 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3285, allocations: 0 / 1.051 GB, free: 6.105 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.3286, allocations: 0 / 1.051 GB, free: 6.105 MB / 0.698 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.001892/0.3305, allocations: 1.116 MB / 1.052 GB, free: 4.941 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3305, allocations: 12.03 kB / 1.052 GB, free: 4.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.3316, allocations: 243.4 kB / 1.052 GB, free: 4.691 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/0.3325, allocations: 0.7033 MB / 1.053 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.3326, allocations: 65.94 kB / 1.053 GB, free: 3.883 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.3327, allocations: 76 kB / 1.053 GB, free: 3.809 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.3341, allocations: 0.9131 MB / 1.054 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.3342, allocations: 0 / 1.054 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.3342, allocations: 36 kB / 1.054 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.3343, allocations: 20 kB / 1.054 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.336, allocations: 1.128 MB / 1.055 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3514/0.6874, allocations: 2.695 MB / 1.057 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.6889, allocations: 0.8751 MB / 1.058 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.6893, allocations: 282.6 kB / 1.058 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.692e-05/0.6894, allocations: 36.33 kB / 1.059 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006159/0.69, allocations: 434 kB / 1.059 GB, free: 158.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 2.775e-06/0.69, allocations: 2.594 kB / 1.059 GB, free: 158.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.002876/0.6929, allocations: 1.093 MB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.693, allocations: 197.5 kB / 1.06 GB, free: 158.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.6937, allocations: 0.5759 MB / 1.061 GB, free: 158.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.6938, allocations: 43.27 kB / 1.061 GB, free: 158.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.694, allocations: 380.7 kB / 1.061 GB, free: 158 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.6942, allocations: 249.2 kB / 1.061 GB, free: 157.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.6943, allocations: 66 kB / 1.061 GB, free: 157.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6945, allocations: 380.3 kB / 1.062 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.6949, allocations: 246.5 kB / 1.062 GB, free: 157.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.6954, allocations: 355.2 kB / 1.062 GB, free: 157.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008713/0.6963, allocations: 0.5903 MB / 1.063 GB, free: 157.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6963, allocations: 2.812 kB / 1.063 GB, free: 157.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00166/0.698, allocations: 0.8084 MB / 1.064 GB, free: 157.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.698, allocations: 5.844 kB / 1.064 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.698, allocations: 2.031 kB / 1.064 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.6987, allocations: 86 kB / 1.064 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.6993, allocations: 159.2 kB / 1.064 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.701, allocations: 1.517 MB / 1.065 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.7016, allocations: 90.84 kB / 1.066 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.7017, allocations: 36.14 kB / 1.066 GB, free: 155.9 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 (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.0003091/0.702, allocations: 261.6 kB / 1.066 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.7021, allocations: 74.59 kB / 1.066 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.7044, allocations: 0.9931 MB / 1.067 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.7044, allocations: 7.266 kB / 1.067 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.7044, allocations: 3.938 kB / 1.067 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.7047, allocations: 252.2 kB / 1.067 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.7048, allocations: 24.92 kB / 1.067 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.7054, allocations: 66.19 kB / 1.067 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.7055, allocations: 57.33 kB / 1.067 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001936/0.7075, allocations: 0.8975 MB / 1.068 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002057/0.7095, allocations: 1.3 MB / 1.069 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000615/0.7102, allocations: 333.7 kB / 1.07 GB, free: 155.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00057/0.7107, allocations: 419.5 kB / 1.07 GB, free: 155 MB / 0.698 GB Notification: Performance of Backend: time 5.41e-07/0.7108, allocations: 0 / 1.07 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002679/0.7134, allocations: 1.153 MB / 1.071 GB, free: 154.6 MB / 0.698 GB Notification: Performance of SimCode: time 0.002669/0.7161, allocations: 2.325 MB / 1.074 GB, free: 153.2 MB / 0.698 GB Notification: Performance of Templates: time 0.02106/0.7372, allocations: 14.11 MB / 1.087 GB, free: 146.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)