Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 288.4 MB / 303.3 MB, free: 8.16 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.0009591/0.0009591, allocations: 176.5 kB / 372 MB, free: 10.24 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.521/1.521, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0008123/0.000812, allocations: 95.5 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 15.25 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2384, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004351/0.2428, allocations: 3.596 MB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7844/1.027, allocations: 136.5 MB / 1.116 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008705/1.028, allocations: 14.44 kB / 1.116 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/1.029, allocations: 126.8 kB / 1.117 GB, free: 2.199 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001574/1.03, allocations: 352.9 kB / 1.117 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/1.033, allocations: 0.601 MB / 1.117 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001685/1.034, allocations: 1.033 MB / 1.118 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008954/1.035, allocations: 476.9 kB / 1.119 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008101/1.036, allocations: 297.1 kB / 1.119 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/1.037, allocations: 321.8 kB / 1.12 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.73e-05/1.037, allocations: 21.16 kB / 1.12 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009852/1.038, allocations: 267.8 kB / 1.12 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/1.038, allocations: 160.1 kB / 1.12 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002816/1.038, allocations: 186.4 kB / 1.12 GB, free: 17.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/1.039, allocations: 1.029 MB / 1.121 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.04, allocations: 0 / 1.121 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.04, allocations: 1.188 kB / 1.121 GB, free: 17.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.153e-05/1.04, allocations: 0 / 1.121 GB, free: 17.41 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.002435/1.042, allocations: 1.134 MB / 1.122 GB, free: 16.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.042, allocations: 16.22 kB / 1.122 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/1.042, allocations: 130.5 kB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/1.044, allocations: 241.4 kB / 1.123 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/1.045, allocations: 0.6822 MB / 1.123 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/1.045, allocations: 60.8 kB / 1.123 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/1.045, allocations: 84.75 kB / 1.123 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/1.047, allocations: 0.9026 MB / 1.124 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/1.047, allocations: 5.906 kB / 1.124 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.062e-05/1.047, allocations: 40.5 kB / 1.124 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/1.047, allocations: 20.56 kB / 1.124 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/1.049, allocations: 1.115 MB / 1.125 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004531/1.054, allocations: 2.692 MB / 1.128 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/1.055, allocations: 0.8767 MB / 1.129 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/1.056, allocations: 280.4 kB / 1.129 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.171e-05/1.056, allocations: 32.64 kB / 1.129 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009174/1.057, allocations: 442 kB / 1.13 GB, free: 14.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.419e-06/1.057, allocations: 0 / 1.13 GB, free: 14.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.00311/1.06, allocations: 1.086 MB / 1.131 GB, free: 14.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/1.06, allocations: 199.2 kB / 1.131 GB, free: 14.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008356/1.061, allocations: 0.565 MB / 1.131 GB, free: 14.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/1.061, allocations: 39.22 kB / 1.131 GB, free: 14.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/1.062, allocations: 394.5 kB / 1.132 GB, free: 14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/1.062, allocations: 246 kB / 1.132 GB, free: 13.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/1.062, allocations: 13.12 kB / 1.132 GB, free: 13.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002225/1.062, allocations: 377.4 kB / 1.132 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/1.063, allocations: 220 kB / 1.133 GB, free: 13.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/1.063, allocations: 344 kB / 1.133 GB, free: 13.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/1.064, allocations: 278 kB / 1.133 GB, free: 13.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.064, allocations: 0 / 1.133 GB, free: 13.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001763/1.065, allocations: 0.746 MB / 1.134 GB, free: 13.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.065, allocations: 3 kB / 1.134 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.065, allocations: 3.375 kB / 1.134 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/1.066, allocations: 91.67 kB / 1.134 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/1.067, allocations: 145.7 kB / 1.134 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/1.069, allocations: 1.513 MB / 1.136 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009841/1.07, allocations: 91.19 kB / 1.136 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/1.07, allocations: 28.36 kB / 1.136 GB, free: 11.8 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0007057/1.071, allocations: 256 kB / 1.136 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/1.071, allocations: 73.75 kB / 1.136 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/1.074, allocations: 1.002 MB / 1.137 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/1.074, allocations: 8.875 kB / 1.137 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.074, allocations: 0 / 1.137 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.074, allocations: 5.297 kB / 1.137 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/1.078, allocations: 1.916 MB / 1.139 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.078, allocations: 0 / 1.139 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/1.079, allocations: 146.5 kB / 1.139 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005946/1.079, allocations: 85.08 kB / 1.139 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/1.08, allocations: 24.73 kB / 1.139 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/1.082, allocations: 1.548 MB / 1.141 GB, free: 9.109 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.082, allocations: 0 / 1.141 GB, free: 9.109 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/1.084, allocations: 0.9195 MB / 1.142 GB, free: 8.797 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/1.084, allocations: 265.5 kB / 1.142 GB, free: 8.609 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/1.084, allocations: 18.25 kB / 1.142 GB, free: 8.609 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/1.085, allocations: 74.39 kB / 1.142 GB, free: 8.586 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.085, allocations: 62.44 kB / 1.142 GB, free: 8.562 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/1.085, allocations: 35.8 kB / 1.142 GB, free: 8.555 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007135/1.086, allocations: 418.9 kB / 1.142 GB, free: 8.406 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.086, allocations: 0 / 1.142 GB, free: 8.406 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009785/1.087, allocations: 273.5 kB / 1.143 GB, free: 8.352 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.003725/1.091, allocations: 1.914 MB / 1.145 GB, free: 7.348 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001773/1.092, allocations: 0.7392 MB / 1.145 GB, free: 7.121 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.092, allocations: 1.312 kB / 1.145 GB, free: 7.121 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008846/1.093, allocations: 494.8 kB / 1.146 GB, free: 6.938 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/1.095, allocations: 269.8 kB / 1.146 GB, free: 6.852 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.107, allocations: 4.668 MB / 1.151 GB, free: 4.805 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008982/1.108, allocations: 1.003 MB / 1.152 GB, free: 3.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001118/1.109, allocations: 249.6 kB / 1.152 GB, free: 3.855 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/1.109, allocations: 354.3 kB / 1.152 GB, free: 3.809 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/1.109, allocations: 0 / 1.152 GB, free: 3.809 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0467/1.156, allocations: 19.92 MB / 1.172 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/1.156, allocations: 289.1 kB / 1.172 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.797/3.953, allocations: 3.938 kB / 1.172 GB, free: 9.832 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)