Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.896/1.896, allocations: 288.4 MB / 303.7 MB, free: 8.848 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 176.5 kB / 372.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 0.631 GB, free: 13.53 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007029/0.0007029, allocations: 92.7 kB / 0.7444 GB, free: 64.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 12 kB / 0.8675 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 115.3 MB / 0.9801 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004927/0.2374, allocations: 3.599 MB / 0.9836 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.5421/0.7795, allocations: 136.4 MB / 1.117 GB, free: 22.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006237/0.7802, allocations: 13.19 kB / 1.117 GB, free: 22.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.7806, allocations: 126.1 kB / 1.117 GB, free: 22.68 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001166/0.7818, allocations: 358.8 kB / 1.117 GB, free: 22.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.7835, allocations: 0.5947 MB / 1.118 GB, free: 22.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009695/0.7845, allocations: 1.045 MB / 1.119 GB, free: 21.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007292/0.7852, allocations: 0.6263 MB / 1.12 GB, free: 21.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004229/0.7857, allocations: 299.9 kB / 1.12 GB, free: 21.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.786, allocations: 322.2 kB / 1.12 GB, free: 21.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.944e-05/0.7861, allocations: 21.59 kB / 1.12 GB, free: 21.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.7867, allocations: 273 kB / 1.12 GB, free: 20.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.7869, allocations: 169.4 kB / 1.121 GB, free: 20.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.7872, allocations: 404.9 kB / 1.121 GB, free: 20.63 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009545/0.7882, allocations: 1.083 MB / 1.122 GB, free: 20.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7882, allocations: 4.75 kB / 1.122 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7882, allocations: 0 / 1.122 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.7883, allocations: 0 / 1.122 GB, free: 20.34 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001717/0.79, allocations: 1.138 MB / 1.123 GB, free: 19.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.79, allocations: 9.781 kB / 1.123 GB, free: 19.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.7913, allocations: 278.8 kB / 1.123 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009187/0.7923, allocations: 0.7238 MB / 1.124 GB, free: 18.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.7923, allocations: 70.33 kB / 1.124 GB, free: 18.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.7924, allocations: 83.78 kB / 1.124 GB, free: 18.92 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.794, allocations: 0.9606 MB / 1.125 GB, free: 18.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.794, allocations: 4 kB / 1.125 GB, free: 18.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/0.7941, allocations: 37.59 kB / 1.125 GB, free: 18.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.7941, allocations: 20.34 kB / 1.125 GB, free: 18.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.7959, allocations: 1.176 MB / 1.126 GB, free: 18.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.7995, allocations: 2.589 MB / 1.129 GB, free: 16.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.8018, allocations: 0.8667 MB / 1.13 GB, free: 16.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/0.8024, allocations: 322.1 kB / 1.13 GB, free: 16.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.289e-05/0.8025, allocations: 28.16 kB / 1.13 GB, free: 16.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008332/0.8033, allocations: 475.6 kB / 1.131 GB, free: 16.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 3.116e-06/0.8034, allocations: 1.031 kB / 1.131 GB, free: 16.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.003012/0.8064, allocations: 1.193 MB / 1.132 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.8065, allocations: 193.8 kB / 1.132 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.8071, allocations: 0.587 MB / 1.133 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.8072, allocations: 37.08 kB / 1.133 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.8074, allocations: 394.3 kB / 1.133 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.8076, allocations: 244.4 kB / 1.133 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.8076, allocations: 15.47 kB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.8077, allocations: 379.9 kB / 1.134 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.8083, allocations: 277.6 kB / 1.134 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.8089, allocations: 368.3 kB / 1.134 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.8101, allocations: 0.6322 MB / 1.135 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8102, allocations: 0 / 1.135 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001916/0.8121, allocations: 0.8659 MB / 1.136 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.8121, allocations: 6.719 kB / 1.136 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.8121, allocations: 0.625 kB / 1.136 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005737/0.8127, allocations: 81.22 kB / 1.136 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.8134, allocations: 165.2 kB / 1.136 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.8151, allocations: 1.519 MB / 1.137 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007996/0.8159, allocations: 100.4 kB / 1.137 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.816, allocations: 33.8 kB / 1.137 GB, free: 11.94 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (85): * Single equations (assignments): 84 * 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.0004568/0.8165, allocations: 267.4 kB / 1.138 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.8166, allocations: 78.38 kB / 1.138 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.8189, allocations: 1.081 MB / 1.139 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.8189, allocations: 13.53 kB / 1.139 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.8189, allocations: 0 / 1.139 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.819, allocations: 10.42 kB / 1.139 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.8198, allocations: 0.8775 MB / 1.14 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8199, allocations: 4.688 kB / 1.14 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.8205, allocations: 158.3 kB / 1.14 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004967/0.821, allocations: 92.2 kB / 1.14 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.8211, allocations: 20.88 kB / 1.14 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.8226, allocations: 1.544 MB / 1.142 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8227, allocations: 0 / 1.142 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.8246, allocations: 0.9198 MB / 1.142 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.8249, allocations: 269.7 kB / 1.143 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.825, allocations: 22.75 kB / 1.143 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/0.8256, allocations: 87.66 kB / 1.143 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.8258, allocations: 58.95 kB / 1.143 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/0.8258, allocations: 36.33 kB / 1.143 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004636/0.8263, allocations: 417.8 kB / 1.143 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/0.8263, allocations: 0 / 1.143 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007273/0.827, allocations: 285.9 kB / 1.144 GB, free: 8.41 MB / 0.7448 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.conTimMin.tNext,weaDat.conTim.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.001183/0.8282, allocations: 0.5522 MB / 1.144 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.83, allocations: 0.8446 MB / 1.145 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.83, allocations: 4 kB / 1.145 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000966/0.831, allocations: 0.5221 MB / 1.145 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.8321, allocations: 250.2 kB / 1.146 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.8358, allocations: 2.167 MB / 1.148 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.8363, allocations: 1.015 MB / 1.149 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001054/0.8374, allocations: 265.9 kB / 1.149 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.8376, allocations: 102.3 kB / 1.149 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of SimCode: time 1.342e-06/0.8377, allocations: 2.969 kB / 1.149 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of Templates: time 0.02171/0.8594, allocations: 13.05 MB / 1.162 GB, free: 4.418 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)