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: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.258/1.258, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008828/0.0008829, allocations: 168.1 kB / 325.8 MB, free: 2.695 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.317/1.317, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007003/0.0007002, allocations: 89.23 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 15.88 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1498, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.003326/0.1531, allocations: 3.882 MB / 0.9 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1262/0.2793, allocations: 147.9 MB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006633/0.28, allocations: 19.94 kB / 1.044 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.2806, allocations: 127 kB / 1.045 GB, free: 11.55 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.001292/0.2819, allocations: 378.5 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.2834, allocations: 0.6771 MB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.2844, allocations: 1.113 MB / 1.047 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007432/0.2851, allocations: 0.5896 MB / 1.047 GB, free: 8.777 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.2855, allocations: 302.5 kB / 1.048 GB, free: 8.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.2859, allocations: 338 kB / 1.048 GB, free: 8.148 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.778e-05/0.286, allocations: 20 kB / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000533/0.2865, allocations: 295.7 kB / 1.048 GB, free: 7.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.2867, allocations: 175.1 kB / 1.048 GB, free: 7.668 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.287, allocations: 389.4 kB / 1.049 GB, free: 7.285 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.288, allocations: 1.304 MB / 1.05 GB, free: 5.977 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2881, allocations: 0 / 1.05 GB, free: 5.977 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2881, allocations: 0 / 1.05 GB, free: 5.977 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2881, allocations: 0 / 1.05 GB, free: 5.977 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.001677/0.2898, allocations: 1.128 MB / 1.051 GB, free: 4.801 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2898, allocations: 8.031 kB / 1.051 GB, free: 4.793 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.2899, allocations: 131.2 kB / 1.051 GB, free: 4.656 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.291, allocations: 239.5 kB / 1.051 GB, free: 4.422 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.2918, allocations: 0.707 MB / 1.052 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.2919, allocations: 69.98 kB / 1.052 GB, free: 3.605 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.334e-05/0.292, allocations: 76 kB / 1.052 GB, free: 3.531 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.2933, allocations: 0.9131 MB / 1.053 GB, free: 2.566 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.2933, allocations: 3.938 kB / 1.053 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/0.2934, allocations: 36 kB / 1.053 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.2934, allocations: 20 kB / 1.053 GB, free: 2.508 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.2951, allocations: 1.124 MB / 1.054 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3061/0.6012, allocations: 2.688 MB / 1.057 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.6025, allocations: 0.8783 MB / 1.058 GB, free: 158.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.6029, allocations: 281 kB / 1.058 GB, free: 158.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.028e-05/0.603, allocations: 34.11 kB / 1.058 GB, free: 158.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006133/0.6036, allocations: 435 kB / 1.059 GB, free: 158.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 2.755e-06/0.6036, allocations: 0 / 1.059 GB, free: 158.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.002522/0.6061, allocations: 1.098 MB / 1.06 GB, free: 158.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.6062, allocations: 200.3 kB / 1.06 GB, free: 158 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/0.6068, allocations: 0.5724 MB / 1.06 GB, free: 157.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.6068, allocations: 42.39 kB / 1.06 GB, free: 157.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.607, allocations: 388.1 kB / 1.061 GB, free: 157.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.6072, allocations: 242.5 kB / 1.061 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.6072, allocations: 56.31 kB / 1.061 GB, free: 157.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6074, allocations: 383.9 kB / 1.061 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.6077, allocations: 222.2 kB / 1.062 GB, free: 157.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.6082, allocations: 346.4 kB / 1.062 GB, free: 157.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008233/0.609, allocations: 0.5657 MB / 1.062 GB, free: 157.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.609, allocations: 0 / 1.062 GB, free: 157.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001516/0.6106, allocations: 0.7594 MB / 1.063 GB, free: 157 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.6106, allocations: 6.594 kB / 1.063 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6106, allocations: 1.781 kB / 1.063 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/0.6111, allocations: 85.97 kB / 1.063 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.6117, allocations: 144 kB / 1.063 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.6133, allocations: 1.516 MB / 1.065 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.6138, allocations: 91.41 kB / 1.065 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.6139, allocations: 31.69 kB / 1.065 GB, free: 155.6 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 (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 (80): * Single equations (assignments): 79 * 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.0002812/0.6142, allocations: 251.7 kB / 1.065 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.6143, allocations: 75.19 kB / 1.065 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.6164, allocations: 1.006 MB / 1.066 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.6164, allocations: 12.84 kB / 1.066 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6164, allocations: 1.328 kB / 1.066 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.6164, allocations: 4.078 kB / 1.066 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.6194, allocations: 1.919 MB / 1.068 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6194, allocations: 0.6094 kB / 1.068 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.6199, allocations: 156 kB / 1.068 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/0.6204, allocations: 83.94 kB / 1.068 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.6205, allocations: 22.55 kB / 1.068 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.622, allocations: 1.545 MB / 1.07 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.622, allocations: 4.844 kB / 1.07 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.6238, allocations: 0.9187 MB / 1.071 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.624, allocations: 258.3 kB / 1.071 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.6241, allocations: 16.97 kB / 1.071 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000529/0.6247, allocations: 72.66 kB / 1.071 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.6248, allocations: 61.11 kB / 1.071 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/0.6249, allocations: 36.64 kB / 1.071 GB, free: 153.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004691/0.6253, allocations: 420.9 kB / 1.072 GB, free: 153.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6254, allocations: 0 / 1.072 GB, free: 153.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000695/0.6261, allocations: 269.4 kB / 1.072 GB, free: 153.1 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002755/0.6288, allocations: 1.941 MB / 1.074 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.6301, allocations: 0.7412 MB / 1.075 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6301, allocations: 1.375 kB / 1.075 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.6308, allocations: 498.4 kB / 1.075 GB, free: 151.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.6319, allocations: 274.2 kB / 1.075 GB, free: 151.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009557/0.6415, allocations: 6.487 MB / 1.082 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.6419, allocations: 1.005 MB / 1.083 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007744/0.6427, allocations: 262.5 kB / 1.083 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.6431, allocations: 352.9 kB / 1.083 GB, free: 146.7 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/0.6431, allocations: 0 / 1.083 GB, free: 146.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.6725, allocations: 18.8 MB / 1.102 GB, free: 131.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.6727, allocations: 314.2 kB / 1.102 GB, free: 130.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.077, allocations: 0 / 1.102 GB, free: 130.7 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)