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.454/1.454, allocations: 252 MB / 267 MB, free: 10.95 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.001388/0.001388, allocations: 182.7 kB / 326.6 MB, free: 2.191 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.924/1.924, allocations: 205.4 MB / 0.5777 GB, free: 20.47 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.0008656/0.0008657, allocations: 91.25 kB / 0.6823 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004632, allocations: 9 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2663, allocations: 106.3 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004277/0.2707, allocations: 3.607 MB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1738/0.4445, allocations: 136.5 MB / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008844/0.4454, allocations: 19.88 kB / 1.037 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.446, allocations: 131 kB / 1.037 GB, free: 3.535 MB / 0.6823 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.001511/0.4475, allocations: 358.5 kB / 1.038 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.4495, allocations: 0.6045 MB / 1.038 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.4509, allocations: 1.031 MB / 1.039 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.4517, allocations: 475.2 kB / 1.04 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005699/0.4523, allocations: 294.7 kB / 1.04 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.4528, allocations: 318.3 kB / 1.04 GB, free: 480 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.4529, allocations: 24 kB / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007737/0.4536, allocations: 263.8 kB / 1.04 GB, free: 192 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.4538, allocations: 167.2 kB / 1.041 GB, free: 24 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.4541, allocations: 181.2 kB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.4551, allocations: 1.029 MB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4552, allocations: 4 kB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4552, allocations: 0 / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4552, allocations: 0 / 1.042 GB, free: 14.8 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.002143/0.4573, allocations: 1.132 MB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4574, allocations: 8.031 kB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/0.4576, allocations: 138.9 kB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.4588, allocations: 238.5 kB / 1.043 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4599, allocations: 0.6837 MB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.46, allocations: 61.98 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.4601, allocations: 80 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.4617, allocations: 0.9091 MB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.4618, allocations: 0 / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/0.4619, allocations: 36 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.4619, allocations: 27.95 kB / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.4638, allocations: 1.116 MB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004181/0.468, allocations: 2.689 MB / 1.049 GB, free: 7.469 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.4696, allocations: 0.8673 MB / 1.05 GB, free: 6.574 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.4702, allocations: 286.7 kB / 1.05 GB, free: 6.293 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.908e-05/0.4703, allocations: 24.62 kB / 1.05 GB, free: 6.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008526/0.4711, allocations: 435.4 kB / 1.05 GB, free: 5.824 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 5.21e-06/0.4712, allocations: 0 / 1.05 GB, free: 5.824 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.003077/0.4742, allocations: 1.1 MB / 1.051 GB, free: 4.695 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.4744, allocations: 192.6 kB / 1.052 GB, free: 4.465 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.4752, allocations: 0.5666 MB / 1.052 GB, free: 3.895 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.4753, allocations: 45.64 kB / 1.052 GB, free: 3.844 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.4757, allocations: 388.1 kB / 1.053 GB, free: 3.457 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.4759, allocations: 244.5 kB / 1.053 GB, free: 3.215 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.476, allocations: 12 kB / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.4762, allocations: 374.8 kB / 1.053 GB, free: 2.828 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/0.4767, allocations: 221.2 kB / 1.053 GB, free: 2.613 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/0.4773, allocations: 349.3 kB / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/0.4779, allocations: 267.1 kB / 1.054 GB, free: 1.977 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.4779, allocations: 3.953 kB / 1.054 GB, free: 1.973 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001735/0.4796, allocations: 0.7508 MB / 1.055 GB, free: 1.211 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.4797, allocations: 4 kB / 1.055 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4797, allocations: 4 kB / 1.055 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.4803, allocations: 84.95 kB / 1.055 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.4809, allocations: 143.8 kB / 1.055 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5578/1.039, allocations: 1.51 MB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/1.04, allocations: 91.62 kB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/1.04, allocations: 31.17 kB / 1.056 GB, free: 153.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.0005065/1.04, allocations: 250.3 kB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/1.04, allocations: 80.72 kB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/1.043, allocations: 1.001 MB / 1.058 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.043, allocations: 11.59 kB / 1.058 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.043, allocations: 0 / 1.058 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.043, allocations: 3.234 kB / 1.058 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/1.046, allocations: 1.916 MB / 1.06 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.046, allocations: 1.719 kB / 1.06 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/1.046, allocations: 152.4 kB / 1.06 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005081/1.047, allocations: 82.95 kB / 1.06 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/1.047, allocations: 22.94 kB / 1.06 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/1.049, allocations: 1.551 MB / 1.061 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.049, allocations: 0.6562 kB / 1.061 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/1.05, allocations: 0.9111 MB / 1.062 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/1.051, allocations: 268.4 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.051, allocations: 18.55 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/1.052, allocations: 75.95 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.052, allocations: 64 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/1.052, allocations: 32.59 kB / 1.063 GB, free: 151.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005877/1.052, allocations: 414.8 kB / 1.063 GB, free: 151.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.052, allocations: 0 / 1.063 GB, free: 151.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008754/1.053, allocations: 273 kB / 1.063 GB, free: 151.4 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.003181/1.056, allocations: 1.924 MB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001692/1.058, allocations: 0.7406 MB / 1.066 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.058, allocations: 1.25 kB / 1.066 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009859/1.059, allocations: 493.6 kB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/1.061, allocations: 265.8 kB / 1.067 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.073, allocations: 4.673 MB / 1.071 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/1.073, allocations: 1.004 MB / 1.072 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001276/1.075, allocations: 256.5 kB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/1.075, allocations: 356.5 kB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of SimCode: time 1.884e-06/1.075, allocations: 1.094 kB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/1.126, allocations: 19.9 MB / 1.092 GB, free: 137 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/1.126, allocations: 287.4 kB / 1.093 GB, free: 136.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/4.01, allocations: 4 kB / 1.093 GB, free: 136.6 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)