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.463/1.463, allocations: 288.4 MB / 303.6 MB, free: 8.047 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.0008856/0.0008857, allocations: 188.5 kB / 372.3 MB, free: 10.12 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.228/1.228, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0007531/0.0007531, allocations: 107.2 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003274, allocations: 14.62 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00324/0.166, allocations: 3.608 MB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5201/0.6861, allocations: 136.5 MB / 1.117 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005131/0.6867, allocations: 22.03 kB / 1.117 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.6871, allocations: 130 kB / 1.117 GB, free: 2.355 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.000931/0.688, allocations: 358.4 kB / 1.117 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.6896, allocations: 0.5956 MB / 1.118 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009052/0.6905, allocations: 1.061 MB / 1.119 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.6912, allocations: 0.5847 MB / 1.12 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.6916, allocations: 295.6 kB / 1.12 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.692, allocations: 319.7 kB / 1.12 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/0.6921, allocations: 21.75 kB / 1.12 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000581/0.6926, allocations: 280.9 kB / 1.121 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.6928, allocations: 162.9 kB / 1.121 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.6931, allocations: 398.2 kB / 1.121 GB, free: 17.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008735/0.694, allocations: 1.024 MB / 1.122 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.694, allocations: 4.938 kB / 1.122 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.694, allocations: 0 / 1.122 GB, free: 17.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.6941, allocations: 0 / 1.122 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.001734/0.6958, allocations: 1.126 MB / 1.123 GB, free: 16.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.6958, allocations: 9.375 kB / 1.123 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.696, allocations: 130.8 kB / 1.123 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.6971, allocations: 237.2 kB / 1.124 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008512/0.6979, allocations: 0.7165 MB / 1.124 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.698, allocations: 63.38 kB / 1.124 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.6981, allocations: 76.03 kB / 1.124 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.6995, allocations: 0.9076 MB / 1.125 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.6996, allocations: 8.953 kB / 1.125 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.6996, allocations: 32.22 kB / 1.125 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.6997, allocations: 24.28 kB / 1.125 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.7013, allocations: 1.114 MB / 1.126 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.7046, allocations: 2.701 MB / 1.129 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.7059, allocations: 0.8754 MB / 1.13 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/0.7064, allocations: 280.8 kB / 1.13 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.375e-05/0.7065, allocations: 35.25 kB / 1.13 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006836/0.7071, allocations: 439.9 kB / 1.131 GB, free: 14.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 2.655e-06/0.7072, allocations: 3.938 kB / 1.131 GB, free: 14.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.002525/0.7097, allocations: 1.087 MB / 1.132 GB, free: 14.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.7098, allocations: 193.8 kB / 1.132 GB, free: 14.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.7104, allocations: 0.5619 MB / 1.132 GB, free: 14.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.7104, allocations: 46.45 kB / 1.132 GB, free: 14.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.7107, allocations: 390.1 kB / 1.133 GB, free: 13.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.7108, allocations: 250 kB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.7109, allocations: 9.875 kB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.711, allocations: 381.1 kB / 1.133 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.7114, allocations: 221.8 kB / 1.134 GB, free: 13.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.7118, allocations: 341.5 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008583/0.7127, allocations: 0.5665 MB / 1.135 GB, free: 13.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7127, allocations: 0 / 1.135 GB, free: 13.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001471/0.7142, allocations: 0.7414 MB / 1.135 GB, free: 13.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.7142, allocations: 3.125 kB / 1.135 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7142, allocations: 2.625 kB / 1.135 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.7148, allocations: 88.3 kB / 1.135 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.7154, allocations: 154.6 kB / 1.135 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.7171, allocations: 1.521 MB / 1.137 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/0.7178, allocations: 89.56 kB / 1.137 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.7178, allocations: 23.83 kB / 1.137 GB, free: 11.64 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.0003949/0.7182, allocations: 253 kB / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.7183, allocations: 72.81 kB / 1.137 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.7204, allocations: 0.9959 MB / 1.138 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.7204, allocations: 7.625 kB / 1.138 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.7204, allocations: 0.8125 kB / 1.138 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.7205, allocations: 3.984 kB / 1.138 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.7235, allocations: 1.922 MB / 1.14 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7235, allocations: 5.062 kB / 1.14 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.7241, allocations: 144.3 kB / 1.14 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.7246, allocations: 91.8 kB / 1.14 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.7247, allocations: 26.92 kB / 1.14 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.7263, allocations: 1.54 MB / 1.142 GB, free: 8.949 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7263, allocations: 0 / 1.142 GB, free: 8.949 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.728, allocations: 0.9246 MB / 1.143 GB, free: 8.633 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.7284, allocations: 268.2 kB / 1.143 GB, free: 8.445 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.7285, allocations: 17.73 kB / 1.143 GB, free: 8.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.7291, allocations: 66.02 kB / 1.143 GB, free: 8.426 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.7293, allocations: 67.56 kB / 1.143 GB, free: 8.398 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/0.7293, allocations: 28.64 kB / 1.143 GB, free: 8.395 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000553/0.7299, allocations: 417.9 kB / 1.144 GB, free: 8.246 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7299, allocations: 0 / 1.144 GB, free: 8.246 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008164/0.7307, allocations: 281.7 kB / 1.144 GB, free: 8.188 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.00295/0.7337, allocations: 1.924 MB / 1.146 GB, free: 7.176 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.7352, allocations: 0.7351 MB / 1.147 GB, free: 6.949 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.7352, allocations: 5.031 kB / 1.147 GB, free: 6.945 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008191/0.736, allocations: 497.1 kB / 1.147 GB, free: 6.762 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.7373, allocations: 256.9 kB / 1.147 GB, free: 6.688 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/0.7462, allocations: 4.67 MB / 1.152 GB, free: 4.648 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.7468, allocations: 1.004 MB / 1.153 GB, free: 3.828 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009494/0.7478, allocations: 258.1 kB / 1.153 GB, free: 3.695 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/0.7482, allocations: 357.1 kB / 1.153 GB, free: 3.645 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/0.7482, allocations: 1.781 kB / 1.153 GB, free: 3.645 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8337/1.582, allocations: 20.06 MB / 1.173 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/1.582, allocations: 277.8 kB / 1.173 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/4.071, allocations: 0 / 1.173 GB, free: 9.57 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)