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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001336/0.001337, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001221/0.001221, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.451/1.451, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 251.7 MB / 0.5088 GB, free: 3.363 MB / 414.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.001219/0.001219, allocations: 71.89 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.521/0.5222, allocations: 104.7 MB / 0.7238 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00545/0.5277, allocations: 4.227 MB / 0.7279 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1747/0.7025, allocations: 147.9 MB / 0.8724 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.7036, allocations: 23.88 kB / 0.8724 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.7042, allocations: 131 kB / 0.8725 GB, free: 4.434 MB / 0.6856 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.001432/0.7057, allocations: 365.2 kB / 0.8729 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.7075, allocations: 0.6796 MB / 0.8735 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.7089, allocations: 1.117 MB / 0.8746 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009265/0.7099, allocations: 0.6051 MB / 0.8752 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.7105, allocations: 374.4 kB / 0.8756 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005078/0.711, allocations: 422 kB / 0.876 GB, free: 0.8711 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.7111, allocations: 52 kB / 0.876 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007612/0.7119, allocations: 327.7 kB / 0.8763 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.7121, allocations: 219.1 kB / 0.8765 GB, free: 292 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.7125, allocations: 457.4 kB / 0.877 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.7139, allocations: 1.343 MB / 0.8783 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7139, allocations: 0 / 0.8783 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7139, allocations: 3.938 kB / 0.8783 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.7139, allocations: 0 / 0.8783 GB, free: 14.48 MB / 0.7012 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.002299/0.7162, allocations: 1.319 MB / 0.8796 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.7163, allocations: 12.03 kB / 0.8796 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.7175, allocations: 219.4 kB / 0.8798 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009585/0.7185, allocations: 0.7072 MB / 0.8805 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.989e-05/0.7186, allocations: 62 kB / 0.8805 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.7187, allocations: 79.94 kB / 0.8806 GB, free: 12 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.7203, allocations: 0.9053 MB / 0.8815 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.7203, allocations: 0 / 0.8815 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/0.7204, allocations: 36 kB / 0.8815 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.7204, allocations: 20 kB / 0.8816 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.7222, allocations: 1.104 MB / 0.8826 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003925/0.7262, allocations: 2.66 MB / 0.8852 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.7277, allocations: 0.8586 MB / 0.8861 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.7282, allocations: 282.7 kB / 0.8863 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-05/0.7283, allocations: 32.69 kB / 0.8864 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008674/0.7292, allocations: 435.1 kB / 0.8868 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=74): time 2.374e-06/0.7292, allocations: 0 / 0.8868 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74): time 0.00297/0.7322, allocations: 1.081 MB / 0.8878 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.7323, allocations: 192.6 kB / 0.888 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007267/0.7331, allocations: 0.5743 MB / 0.8886 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/0.7331, allocations: 41.7 kB / 0.8886 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.7335, allocations: 388.1 kB / 0.889 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.7337, allocations: 240.4 kB / 0.8892 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.7339, allocations: 158.5 kB / 0.8894 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7341, allocations: 378.7 kB / 0.8897 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.7346, allocations: 241.9 kB / 0.89 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.7352, allocations: 353.6 kB / 0.8903 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009906/0.7362, allocations: 0.5824 MB / 0.8909 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7362, allocations: 0 / 0.8909 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001822/0.738, allocations: 0.8019 MB / 0.8917 GB, free: 360 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.738, allocations: 8.188 kB / 0.8917 GB, free: 352 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7381, allocations: 4 kB / 0.8917 GB, free: 348 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.7387, allocations: 80.72 kB / 0.8918 GB, free: 264 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.7393, allocations: 155.8 kB / 0.8919 GB, free: 108 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.7414, allocations: 1.528 MB / 0.8934 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.7421, allocations: 87.42 kB / 0.8935 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.7422, allocations: 35.97 kB / 0.8935 GB, free: 14.32 MB / 0.7169 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.000488/0.7427, allocations: 249.7 kB / 0.8937 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.7429, allocations: 71.16 kB / 0.8938 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.7451, allocations: 0.9984 MB / 0.8948 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.7451, allocations: 8 kB / 0.8948 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7451, allocations: 4 kB / 0.8948 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.7451, allocations: 8.062 kB / 0.8948 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.7483, allocations: 1.911 MB / 0.8967 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.7484, allocations: 0 / 0.8967 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/0.7489, allocations: 143.8 kB / 0.8968 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005028/0.7494, allocations: 88.72 kB / 0.8969 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.7495, allocations: 19.98 kB / 0.8969 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.7513, allocations: 1.536 MB / 0.8984 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7513, allocations: 4.062 kB / 0.8984 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.7531, allocations: 0.9179 MB / 0.8993 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.7535, allocations: 247.9 kB / 0.8996 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.7536, allocations: 19.98 kB / 0.8996 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.7541, allocations: 55.86 kB / 0.8996 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.7543, allocations: 60.84 kB / 0.8997 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.7544, allocations: 35.98 kB / 0.8997 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005404/0.7549, allocations: 419.1 kB / 0.9001 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7549, allocations: 0 / 0.9001 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008773/0.7558, allocations: 279.2 kB / 0.9004 GB, free: 7.004 MB / 0.7169 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.001357/0.7572, allocations: 0.5609 MB / 0.9009 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.7589, allocations: 0.769 MB / 0.9017 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7589, allocations: 4 kB / 0.9017 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008526/0.7597, allocations: 488.3 kB / 0.9022 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.761, allocations: 274.2 kB / 0.9024 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.7649, allocations: 2.054 MB / 0.9044 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.7655, allocations: 0.9994 MB / 0.9054 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008652/0.7664, allocations: 254.2 kB / 0.9056 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.7667, allocations: 103.4 kB / 0.9057 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/0.7667, allocations: 0 / 0.9057 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of Templates: time 0.4217/1.188, allocations: 13.36 MB / 0.9188 GB, free: 177.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (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 & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)