Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008307, allocations: 91.45 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008052/0.0008052, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004694, allocations: 19.62 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005438/0.2232, allocations: 3.604 MB / 0.7908 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5856/0.8089, allocations: 136.5 MB / 0.924 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006223/0.8095, allocations: 18.38 kB / 0.9241 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.81, allocations: 126 kB / 0.9242 GB, free: 5.355 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001231/0.8113, allocations: 363.6 kB / 0.9245 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.8131, allocations: 0.5956 MB / 0.9251 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.8143, allocations: 1.03 MB / 0.9261 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007523/0.8151, allocations: 483.4 kB / 0.9266 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.8156, allocations: 297.5 kB / 0.9269 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.8161, allocations: 318.4 kB / 0.9272 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.8162, allocations: 22.31 kB / 0.9272 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007859/0.8169, allocations: 263.1 kB / 0.9274 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.8172, allocations: 164.6 kB / 0.9276 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.8176, allocations: 184.5 kB / 0.9278 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.8189, allocations: 1.026 MB / 0.9288 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8189, allocations: 4 kB / 0.9288 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8189, allocations: 0 / 0.9288 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.8189, allocations: 0 / 0.9288 GB, free: 20.75 MB / 0.7325 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.001853/0.8208, allocations: 1.134 MB / 0.9299 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.8208, allocations: 8.031 kB / 0.9299 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.8219, allocations: 243.5 kB / 0.9301 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009598/0.8229, allocations: 0.6823 MB / 0.9308 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.8229, allocations: 58.53 kB / 0.9308 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.823, allocations: 79.28 kB / 0.9309 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.8244, allocations: 0.9108 MB / 0.9318 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.8244, allocations: 0 / 0.9318 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.8245, allocations: 31.44 kB / 0.9318 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.8245, allocations: 24.41 kB / 0.9319 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.826, allocations: 1.124 MB / 0.933 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.8293, allocations: 2.675 MB / 0.9356 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.8309, allocations: 0.8752 MB / 0.9364 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.8313, allocations: 285.9 kB / 0.9367 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.412e-05/0.8314, allocations: 31.62 kB / 0.9367 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000725/0.8322, allocations: 428.3 kB / 0.9371 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 2.044e-06/0.8322, allocations: 1.375 kB / 0.9371 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.002713/0.8349, allocations: 1.106 MB / 0.9382 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.835, allocations: 188.9 kB / 0.9384 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/0.8358, allocations: 0.5689 MB / 0.9389 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.8359, allocations: 40.67 kB / 0.939 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.8361, allocations: 381.2 kB / 0.9394 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.8363, allocations: 249.9 kB / 0.9396 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.8364, allocations: 14.31 kB / 0.9396 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.8365, allocations: 379.5 kB / 0.94 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.8371, allocations: 246.1 kB / 0.9402 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/0.8377, allocations: 352.3 kB / 0.9405 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.8383, allocations: 284.2 kB / 0.9408 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8383, allocations: 4.562 kB / 0.9408 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001707/0.8401, allocations: 0.8056 MB / 0.9416 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.8401, allocations: 5.406 kB / 0.9416 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8401, allocations: 4.859 kB / 0.9416 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005049/0.8406, allocations: 86.28 kB / 0.9417 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.8412, allocations: 153.2 kB / 0.9418 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.843, allocations: 1.522 MB / 0.9433 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/0.8436, allocations: 94.16 kB / 0.9434 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.8437, allocations: 34.47 kB / 0.9434 GB, free: 15.34 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003979/0.8441, allocations: 259.7 kB / 0.9437 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.8442, allocations: 75.19 kB / 0.9438 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.8462, allocations: 1.001 MB / 0.9447 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.8462, allocations: 9.375 kB / 0.9448 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.8462, allocations: 7.953 kB / 0.9448 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.8462, allocations: 6 kB / 0.9448 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.8491, allocations: 1.904 MB / 0.9466 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8491, allocations: 1.156 kB / 0.9466 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.8496, allocations: 155.4 kB / 0.9468 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004187/0.8501, allocations: 80.22 kB / 0.9469 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.8501, allocations: 27.56 kB / 0.9469 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.8518, allocations: 1.543 MB / 0.9484 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8519, allocations: 1 kB / 0.9484 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.8535, allocations: 0.9221 MB / 0.9493 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.8538, allocations: 271 kB / 0.9495 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/0.8539, allocations: 13.06 kB / 0.9496 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.8544, allocations: 70.33 kB / 0.9496 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.8545, allocations: 64.88 kB / 0.9497 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.8546, allocations: 30.64 kB / 0.9497 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004835/0.8551, allocations: 411.8 kB / 0.9501 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8551, allocations: 0 / 0.9501 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008408/0.856, allocations: 278.4 kB / 0.9504 GB, free: 12.75 MB / 0.7325 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.001163/0.8571, allocations: 0.5571 MB / 0.9509 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.8586, allocations: 0.773 MB / 0.9517 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8586, allocations: 1.219 kB / 0.9517 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000773/0.8593, allocations: 493.9 kB / 0.9521 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.8605, allocations: 268.7 kB / 0.9524 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.864, allocations: 2.048 MB / 0.9544 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.8646, allocations: 1.008 MB / 0.9554 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008178/0.8654, allocations: 248.3 kB / 0.9556 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.8657, allocations: 98.02 kB / 0.9557 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of SimCode: time 4.3e-07/0.8657, allocations: 0 / 0.9557 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.01994/0.8856, allocations: 12.88 MB / 0.9683 GB, free: 5.742 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) Environment - environmentSimulation: