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.51/1.51, allocations: 252 MB / 267.3 MB, free: 10.84 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.00128/0.00128, allocations: 174.6 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0009767/0.0009759, allocations: 96.19 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 5.875 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005134/0.267, allocations: 3.799 MB / 0.9046 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1898/0.4569, allocations: 146.3 MB / 1.048 GB, free: 8.703 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.4579, allocations: 19.88 kB / 1.048 GB, free: 8.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.4584, allocations: 131 kB / 1.048 GB, free: 8.555 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.001527/0.46, allocations: 364.1 kB / 1.048 GB, free: 8.199 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.4621, allocations: 0.6796 MB / 1.049 GB, free: 7.527 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.4636, allocations: 1.113 MB / 1.05 GB, free: 6.406 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.4646, allocations: 0.586 MB / 1.05 GB, free: 5.797 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006243/0.4652, allocations: 306.4 kB / 1.051 GB, free: 5.496 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.4658, allocations: 338.9 kB / 1.051 GB, free: 5.164 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.84e-05/0.4659, allocations: 24 kB / 1.051 GB, free: 5.141 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008452/0.4667, allocations: 287.7 kB / 1.051 GB, free: 4.859 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.467, allocations: 171.2 kB / 1.051 GB, free: 4.691 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004495/0.4674, allocations: 419.1 kB / 1.052 GB, free: 4.273 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.469, allocations: 1.3 MB / 1.053 GB, free: 2.969 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4691, allocations: 0 / 1.053 GB, free: 2.969 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4691, allocations: 0 / 1.053 GB, free: 2.969 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.4691, allocations: 4 kB / 1.053 GB, free: 2.965 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.00239/0.4715, allocations: 1.128 MB / 1.054 GB, free: 1.789 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/0.4716, allocations: 12.03 kB / 1.054 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.4718, allocations: 131.2 kB / 1.054 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.473, allocations: 239.5 kB / 1.055 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.4742, allocations: 0.7148 MB / 1.055 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.644e-05/0.4743, allocations: 58 kB / 1.055 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-05/0.4744, allocations: 76 kB / 1.055 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5678/1.042, allocations: 0.9132 MB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/1.042, allocations: 3.844 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/1.042, allocations: 34.69 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/1.042, allocations: 20.97 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/1.044, allocations: 1.128 MB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004165/1.049, allocations: 2.687 MB / 1.06 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.05, allocations: 0.8747 MB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/1.051, allocations: 286 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.046e-05/1.051, allocations: 32.8 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008098/1.052, allocations: 429.5 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.437e-06/1.052, allocations: 0 / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.002968/1.055, allocations: 1.108 MB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/1.055, allocations: 190.1 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/1.056, allocations: 0.5729 MB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/1.056, allocations: 38.97 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/1.056, allocations: 386.7 kB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/1.056, allocations: 250.1 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/1.056, allocations: 13.69 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.056, allocations: 381.6 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/1.057, allocations: 223.8 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/1.057, allocations: 349.3 kB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000976/1.058, allocations: 0.5589 MB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.058, allocations: 2.969 kB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001954/1.06, allocations: 0.7549 MB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.06, allocations: 5.781 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.06, allocations: 2.062 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006517/1.061, allocations: 84.23 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/1.062, allocations: 148.6 kB / 1.067 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/1.064, allocations: 1.527 MB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007684/1.065, allocations: 87.67 kB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/1.065, allocations: 28.5 kB / 1.068 GB, free: 151.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 ($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 (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.0005115/1.065, allocations: 252.5 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/1.065, allocations: 75.84 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/1.068, allocations: 1.004 MB / 1.069 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.068, allocations: 9.094 kB / 1.069 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.068, allocations: 0.6094 kB / 1.069 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/1.068, allocations: 6.578 kB / 1.069 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/1.072, allocations: 1.93 MB / 1.071 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.072, allocations: 0 / 1.071 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/1.073, allocations: 145.2 kB / 1.071 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005502/1.073, allocations: 83.3 kB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/1.073, allocations: 23.64 kB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/1.075, allocations: 1.549 MB / 1.073 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.075, allocations: 8.906 kB / 1.073 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/1.077, allocations: 0.9171 MB / 1.074 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004476/1.078, allocations: 265 kB / 1.074 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.078, allocations: 20.58 kB / 1.074 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/1.079, allocations: 66.62 kB / 1.074 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/1.079, allocations: 67.33 kB / 1.074 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/1.079, allocations: 30.73 kB / 1.074 GB, free: 149.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007439/1.08, allocations: 421 kB / 1.075 GB, free: 149.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.08, allocations: 1.125 kB / 1.075 GB, free: 149.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001169/1.081, allocations: 276.9 kB / 1.075 GB, free: 149 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.003448/1.084, allocations: 1.928 MB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001816/1.086, allocations: 0.7449 MB / 1.078 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.086, allocations: 5.031 kB / 1.078 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.087, allocations: 494.5 kB / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.089, allocations: 272.3 kB / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/1.102, allocations: 6.523 MB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/1.102, allocations: 1.004 MB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00105/1.103, allocations: 259.4 kB / 1.086 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/1.104, allocations: 350.2 kB / 1.086 GB, free: 142.9 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/1.104, allocations: 4 kB / 1.086 GB, free: 142.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/1.141, allocations: 18.8 MB / 1.105 GB, free: 126.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/1.141, allocations: 315.9 kB / 1.105 GB, free: 126.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.975, allocations: 0 / 1.105 GB, free: 126.2 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)