Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.717/2.717, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.001449/0.001448, allocations: 178.5 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.4 MB / 0.6297 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009616/0.0009612, allocations: 89.92 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007143/0.0007146, allocations: 14.59 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2388, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005612/0.2445, allocations: 3.588 MB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9007/1.145, allocations: 136.4 MB / 1.115 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/1.147, allocations: 18.97 kB / 1.115 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007489/1.147, allocations: 125 kB / 1.115 GB, free: 1.539 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.002221/1.15, allocations: 358.1 kB / 1.116 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/1.153, allocations: 0.5981 MB / 1.116 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00226/1.155, allocations: 1.012 MB / 1.117 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/1.156, allocations: 0.5081 MB / 1.118 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/1.158, allocations: 293.2 kB / 1.118 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007798/1.158, allocations: 322.5 kB / 1.118 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001803/1.159, allocations: 22.06 kB / 1.118 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/1.16, allocations: 269.1 kB / 1.119 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/1.16, allocations: 164.5 kB / 1.119 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004408/1.161, allocations: 186.2 kB / 1.119 GB, free: 16.85 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002785/1.164, allocations: 1.083 MB / 1.12 GB, free: 16.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/1.164, allocations: 0 / 1.12 GB, free: 16.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/1.164, allocations: 0 / 1.12 GB, free: 16.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.972e-05/1.164, allocations: 1.344 kB / 1.12 GB, free: 16.76 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00396/1.168, allocations: 1.149 MB / 1.121 GB, free: 16.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.168, allocations: 14.61 kB / 1.121 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/1.17, allocations: 276.7 kB / 1.121 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/1.173, allocations: 0.6942 MB / 1.122 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/1.173, allocations: 64.53 kB / 1.122 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/1.173, allocations: 84.98 kB / 1.122 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/1.176, allocations: 0.9741 MB / 1.123 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/1.176, allocations: 0 / 1.123 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/1.176, allocations: 38.88 kB / 1.123 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/1.176, allocations: 26.22 kB / 1.123 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003701/1.18, allocations: 1.179 MB / 1.124 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00764/1.188, allocations: 2.6 MB / 1.127 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004268/1.192, allocations: 0.8691 MB / 1.128 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/1.193, allocations: 315.2 kB / 1.128 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/1.194, allocations: 33.81 kB / 1.128 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/1.195, allocations: 476 kB / 1.128 GB, free: 14.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.128e-06/1.195, allocations: 4 kB / 1.128 GB, free: 14.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.005745/1.201, allocations: 1.2 MB / 1.13 GB, free: 14.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/1.201, allocations: 193.6 kB / 1.13 GB, free: 14.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.202, allocations: 0.5774 MB / 1.13 GB, free: 13.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002553/1.203, allocations: 36.92 kB / 1.13 GB, free: 13.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004565/1.203, allocations: 400.2 kB / 1.131 GB, free: 13.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00038/1.204, allocations: 242.9 kB / 1.131 GB, free: 13.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/1.204, allocations: 14.06 kB / 1.131 GB, free: 13.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002213/1.204, allocations: 376.7 kB / 1.131 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/1.205, allocations: 285.1 kB / 1.132 GB, free: 13.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/1.206, allocations: 365.4 kB / 1.132 GB, free: 13.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/1.208, allocations: 317.4 kB / 1.132 GB, free: 13.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.208, allocations: 4 kB / 1.132 GB, free: 13.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003831/1.212, allocations: 0.8584 MB / 1.133 GB, free: 13.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/1.212, allocations: 4.781 kB / 1.133 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.212, allocations: 1.312 kB / 1.133 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009799/1.213, allocations: 83.33 kB / 1.133 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.214, allocations: 170.2 kB / 1.133 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/1.218, allocations: 1.513 MB / 1.135 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.219, allocations: 94.39 kB / 1.135 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/1.219, allocations: 40.36 kB / 1.135 GB, free: 11.65 MB / 0.698 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.0008419/1.22, allocations: 269.7 kB / 1.135 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/1.221, allocations: 75.66 kB / 1.135 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/1.225, allocations: 1.088 MB / 1.136 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.225, allocations: 10.25 kB / 1.136 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.225, allocations: 7.938 kB / 1.136 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.242e-05/1.225, allocations: 16.86 kB / 1.136 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.227, allocations: 0.8752 MB / 1.137 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.227, allocations: 4.078 kB / 1.137 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/1.229, allocations: 159.9 kB / 1.137 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009197/1.23, allocations: 83.83 kB / 1.138 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/1.23, allocations: 21.86 kB / 1.138 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/1.233, allocations: 1.539 MB / 1.139 GB, free: 9.668 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.233, allocations: 0 / 1.139 GB, free: 9.668 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/1.237, allocations: 0.924 MB / 1.14 GB, free: 9.402 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008832/1.238, allocations: 277.2 kB / 1.14 GB, free: 9.207 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/1.238, allocations: 22.05 kB / 1.14 GB, free: 9.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.24, allocations: 76.78 kB / 1.14 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/1.24, allocations: 60.34 kB / 1.14 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.24, allocations: 32.05 kB / 1.14 GB, free: 9.156 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000979/1.241, allocations: 420.1 kB / 1.141 GB, free: 9.004 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/1.241, allocations: 0 / 1.141 GB, free: 9.004 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001657/1.243, allocations: 288 kB / 1.141 GB, free: 8.945 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.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.001908/1.245, allocations: 0.545 MB / 1.142 GB, free: 8.719 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003609/1.248, allocations: 0.8334 MB / 1.142 GB, free: 8.469 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.248, allocations: 4 kB / 1.142 GB, free: 8.465 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.25, allocations: 0.5185 MB / 1.143 GB, free: 8.281 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/1.253, allocations: 247.1 kB / 1.143 GB, free: 8.207 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007655/1.26, allocations: 2.163 MB / 1.145 GB, free: 7.004 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009717/1.261, allocations: 1.018 MB / 1.146 GB, free: 6.176 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001867/1.263, allocations: 263.5 kB / 1.147 GB, free: 6.043 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/1.264, allocations: 103.9 kB / 1.147 GB, free: 6.016 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/1.264, allocations: 0 / 1.147 GB, free: 6.016 MB / 0.698 GB Notification: Performance of Templates: time 0.04128/1.305, allocations: 12.86 MB / 1.159 GB, free: 15.59 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)