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.0011/0.0011, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009512/0.009512, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.775/1.775, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005148/0.0005146, allocations: 14.75 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2695, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004911/0.2744, allocations: 3.796 MB / 0.7916 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.646/0.9205, allocations: 146.3 MB / 0.9345 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006599/0.9212, allocations: 18.38 kB / 0.9345 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.9216, allocations: 138.8 kB / 0.9346 GB, free: 1.473 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.001075/0.9227, allocations: 361.3 kB / 0.935 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.9243, allocations: 0.6834 MB / 0.9356 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009898/0.9253, allocations: 1.113 MB / 0.9367 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007674/0.9261, allocations: 0.584 MB / 0.9373 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004481/0.9266, allocations: 302.3 kB / 0.9376 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.927, allocations: 336.6 kB / 0.9379 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.927, allocations: 20.47 kB / 0.9379 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.9277, allocations: 294.1 kB / 0.9382 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.9278, allocations: 175 kB / 0.9384 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.9283, allocations: 414.9 kB / 0.9387 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.9295, allocations: 1.301 MB / 0.94 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9295, allocations: 0 / 0.94 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9295, allocations: 0 / 0.94 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.9295, allocations: 0 / 0.94 GB, free: 16.86 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.001753/0.9313, allocations: 1.116 MB / 0.9411 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.9313, allocations: 11.97 kB / 0.9411 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.9326, allocations: 241.8 kB / 0.9414 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.9337, allocations: 0.7074 MB / 0.942 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/0.9338, allocations: 61.06 kB / 0.9421 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.9339, allocations: 80.91 kB / 0.9422 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.9356, allocations: 0.9254 MB / 0.9431 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.9357, allocations: 0 / 0.9431 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/0.9358, allocations: 36.05 kB / 0.9431 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.9358, allocations: 19.94 kB / 0.9431 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.9378, allocations: 1.122 MB / 0.9442 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004473/0.9422, allocations: 2.702 MB / 0.9469 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.944, allocations: 0.8743 MB / 0.9477 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.9446, allocations: 289.7 kB / 0.948 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.257e-05/0.9447, allocations: 33.59 kB / 0.948 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007662/0.9454, allocations: 438.2 kB / 0.9484 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 2.384e-06/0.9454, allocations: 0 / 0.9484 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.003019/0.9485, allocations: 1.101 MB / 0.9495 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.9486, allocations: 189.1 kB / 0.9497 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/0.9493, allocations: 0.5711 MB / 0.9503 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.475e-05/0.9494, allocations: 40.92 kB / 0.9503 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.9497, allocations: 384.7 kB / 0.9507 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.9499, allocations: 248.2 kB / 0.9509 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/0.95, allocations: 63.03 kB / 0.951 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.9502, allocations: 377.8 kB / 0.9513 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.9507, allocations: 247.1 kB / 0.9516 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.9513, allocations: 360.1 kB / 0.9519 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.9524, allocations: 0.5949 MB / 0.9525 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.9524, allocations: 1.062 kB / 0.9525 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001852/0.9542, allocations: 0.8103 MB / 0.9533 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.9543, allocations: 6.281 kB / 0.9533 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.9543, allocations: 1.031 kB / 0.9533 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/0.9549, allocations: 88.2 kB / 0.9534 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.9556, allocations: 154.9 kB / 0.9535 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.9578, allocations: 1.523 MB / 0.955 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.9585, allocations: 89.73 kB / 0.9551 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/0.9586, allocations: 40.8 kB / 0.9551 GB, free: 11.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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (88): * Single equations (assignments): 87 * 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.0004164/0.959, allocations: 256.4 kB / 0.9554 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.9591, allocations: 80.64 kB / 0.9554 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.9614, allocations: 0.9946 MB / 0.9564 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.9614, allocations: 9.375 kB / 0.9564 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.9614, allocations: 1.969 kB / 0.9564 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.9614, allocations: 4.594 kB / 0.9564 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.9647, allocations: 1.925 MB / 0.9583 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.9647, allocations: 3.938 kB / 0.9583 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/0.9653, allocations: 143.4 kB / 0.9585 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005349/0.9659, allocations: 83.17 kB / 0.9585 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.9659, allocations: 26.94 kB / 0.9586 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.9678, allocations: 1.547 MB / 0.9601 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9678, allocations: 0 / 0.9601 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.9697, allocations: 0.9271 MB / 0.961 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.9701, allocations: 262.1 kB / 0.9612 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.9703, allocations: 19.25 kB / 0.9612 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/0.9709, allocations: 69.48 kB / 0.9613 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.971, allocations: 61.41 kB / 0.9614 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.9711, allocations: 35.69 kB / 0.9614 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005292/0.9716, allocations: 417.1 kB / 0.9618 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.366e-06/0.9716, allocations: 0 / 0.9618 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008837/0.9725, allocations: 282.6 kB / 0.9621 GB, free: 8.758 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 (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.001292/0.9738, allocations: 0.5674 MB / 0.9626 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.9754, allocations: 0.7775 MB / 0.9634 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.9755, allocations: 0 / 0.9634 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008392/0.9763, allocations: 499.9 kB / 0.9639 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.9776, allocations: 262.9 kB / 0.9641 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.9815, allocations: 2.119 MB / 0.9662 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.9821, allocations: 1.007 MB / 0.9672 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009125/0.983, allocations: 257.7 kB / 0.9674 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.9833, allocations: 95.42 kB / 0.9675 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.9833, allocations: 0 / 0.9675 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.02384/1.007, allocations: 13.29 MB / 0.9805 GB, free: 15.46 MB / 0.7481 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: