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 2.603/2.603, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001433/0.001433, allocations: 177.6 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009918/0.0009918, allocations: 86.42 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005206/0.000521, allocations: 15.06 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2354, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005562/0.241, allocations: 3.608 MB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9141/1.155, allocations: 136.5 MB / 1.115 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009846/1.156, allocations: 15.16 kB / 1.115 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006536/1.157, allocations: 127.4 kB / 1.115 GB, free: 1.531 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.002025/1.159, allocations: 357.8 kB / 1.116 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/1.162, allocations: 0.6029 MB / 1.116 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002406/1.164, allocations: 1.03 MB / 1.117 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/1.166, allocations: 474.2 kB / 1.118 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/1.167, allocations: 293.8 kB / 1.118 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007703/1.168, allocations: 321.1 kB / 1.118 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/1.168, allocations: 21.62 kB / 1.118 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/1.169, allocations: 265.5 kB / 1.119 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/1.17, allocations: 167.5 kB / 1.119 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004107/1.17, allocations: 176.6 kB / 1.119 GB, free: 16.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/1.173, allocations: 1.03 MB / 1.12 GB, free: 16.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.173, allocations: 1.469 kB / 1.12 GB, free: 16.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.286e-06/1.173, allocations: 0 / 1.12 GB, free: 16.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.362e-05/1.173, allocations: 0 / 1.12 GB, free: 16.75 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.003532/1.176, allocations: 1.132 MB / 1.121 GB, free: 16.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.176, allocations: 8.234 kB / 1.121 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/1.178, allocations: 249.7 kB / 1.121 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/1.181, allocations: 0.6775 MB / 1.122 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/1.181, allocations: 62.72 kB / 1.122 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/1.181, allocations: 76.94 kB / 1.122 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/1.184, allocations: 0.9081 MB / 1.123 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/1.184, allocations: 5.906 kB / 1.123 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/1.184, allocations: 38.75 kB / 1.123 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/1.184, allocations: 22.83 kB / 1.123 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/1.187, allocations: 1.113 MB / 1.124 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006825/1.194, allocations: 2.688 MB / 1.127 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/1.197, allocations: 0.8779 MB / 1.128 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009499/1.198, allocations: 282.6 kB / 1.128 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/1.198, allocations: 29.67 kB / 1.128 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/1.199, allocations: 437.7 kB / 1.128 GB, free: 14.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.578e-06/1.199, allocations: 0 / 1.128 GB, free: 14.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.004748/1.204, allocations: 1.101 MB / 1.129 GB, free: 13.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/1.204, allocations: 193 kB / 1.129 GB, free: 13.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.206, allocations: 0.5683 MB / 1.13 GB, free: 13.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002059/1.206, allocations: 41.81 kB / 1.13 GB, free: 13.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/1.206, allocations: 379 kB / 1.13 GB, free: 13.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003504/1.207, allocations: 244.4 kB / 1.131 GB, free: 13.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/1.207, allocations: 18.88 kB / 1.131 GB, free: 13.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002261/1.207, allocations: 380.9 kB / 1.131 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008202/1.208, allocations: 239.8 kB / 1.131 GB, free: 12.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009347/1.209, allocations: 351.7 kB / 1.132 GB, free: 12.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009413/1.21, allocations: 288.2 kB / 1.132 GB, free: 12.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.21, allocations: 2.594 kB / 1.132 GB, free: 12.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003169/1.213, allocations: 0.8029 MB / 1.133 GB, free: 12.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/1.213, allocations: 6.656 kB / 1.133 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.213, allocations: 1.688 kB / 1.133 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.214, allocations: 87.11 kB / 1.133 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.215, allocations: 160.4 kB / 1.133 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/1.219, allocations: 1.52 MB / 1.134 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.22, allocations: 99.16 kB / 1.135 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.22, allocations: 32.61 kB / 1.135 GB, free: 11.34 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.0007668/1.221, allocations: 259.2 kB / 1.135 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/1.221, allocations: 79.34 kB / 1.135 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/1.225, allocations: 0.9998 MB / 1.136 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.225, allocations: 16.61 kB / 1.136 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.225, allocations: 0 / 1.136 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/1.225, allocations: 5.375 kB / 1.136 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/1.231, allocations: 1.897 MB / 1.138 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.231, allocations: 2.891 kB / 1.138 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/1.233, allocations: 153 kB / 1.138 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009476/1.234, allocations: 87.17 kB / 1.138 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/1.234, allocations: 20.98 kB / 1.138 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/1.237, allocations: 1.55 MB / 1.139 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.237, allocations: 0 / 1.139 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003484/1.24, allocations: 0.919 MB / 1.14 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007867/1.241, allocations: 269.4 kB / 1.141 GB, free: 8.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/1.241, allocations: 21.73 kB / 1.141 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.242, allocations: 66.42 kB / 1.141 GB, free: 8.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/1.243, allocations: 63.61 kB / 1.141 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.243, allocations: 31.64 kB / 1.141 GB, free: 8.695 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008792/1.244, allocations: 410.1 kB / 1.141 GB, free: 8.551 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.244, allocations: 0 / 1.141 GB, free: 8.551 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001521/1.245, allocations: 281.5 kB / 1.141 GB, free: 8.496 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.001763/1.247, allocations: 0.5309 MB / 1.142 GB, free: 8.277 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002719/1.25, allocations: 0.7817 MB / 1.143 GB, free: 8.039 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.25, allocations: 1.312 kB / 1.143 GB, free: 8.039 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/1.251, allocations: 496.4 kB / 1.143 GB, free: 7.859 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/1.254, allocations: 269.9 kB / 1.143 GB, free: 7.773 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007004/1.261, allocations: 2.051 MB / 1.145 GB, free: 6.637 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009082/1.262, allocations: 1.007 MB / 1.146 GB, free: 5.812 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001636/1.263, allocations: 249.4 kB / 1.147 GB, free: 5.688 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/1.264, allocations: 103.5 kB / 1.147 GB, free: 5.66 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/1.264, allocations: 1.125 kB / 1.147 GB, free: 5.66 MB / 0.698 GB Notification: Performance of Templates: time 0.04011/1.304, allocations: 12.89 MB / 1.159 GB, free: 15.21 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)