Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 292.3 MB / 308.1 MB, free: 4.266 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.001248/0.001249, allocations: 190 kB / 376.9 MB, free: 1.797 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.727/1.727, allocations: 205 MB / 0.6353 GB, free: 9.801 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.001247/0.001247, allocations: 105 kB / 0.748 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2835, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00854/0.2921, allocations: 4.211 MB / 0.9863 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.7857/1.078, allocations: 148 MB / 1.131 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008734/1.079, allocations: 17.44 kB / 1.131 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005675/1.079, allocations: 135.4 kB / 1.131 GB, free: 7.074 MB / 0.7448 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.001408/1.081, allocations: 357.2 kB / 1.131 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/1.083, allocations: 0.6904 MB / 1.132 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009938/1.084, allocations: 1.121 MB / 1.133 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007895/1.084, allocations: 0.6465 MB / 1.134 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005748/1.085, allocations: 395.9 kB / 1.134 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/1.086, allocations: 445.3 kB / 1.135 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/1.086, allocations: 58.62 kB / 1.135 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007642/1.086, allocations: 363.9 kB / 1.135 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002239/1.087, allocations: 224.8 kB / 1.135 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003691/1.087, allocations: 489.5 kB / 1.136 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/1.088, allocations: 1.42 MB / 1.137 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.088, allocations: 4 kB / 1.137 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/1.088, allocations: 0 / 1.137 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.231e-05/1.088, allocations: 0 / 1.137 GB, free: 4.094 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002074/1.09, allocations: 1.357 MB / 1.138 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.091, allocations: 8.719 kB / 1.138 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/1.092, allocations: 210.1 kB / 1.139 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/1.092, allocations: 0.7238 MB / 1.139 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/1.093, allocations: 65.5 kB / 1.139 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/1.093, allocations: 83.12 kB / 1.139 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/1.094, allocations: 0.9369 MB / 1.14 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/1.094, allocations: 3.516 kB / 1.14 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/1.094, allocations: 37.72 kB / 1.14 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/1.094, allocations: 24.06 kB / 1.14 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/1.096, allocations: 1.109 MB / 1.141 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/1.099, allocations: 2.513 MB / 1.144 GB, free: 456 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/1.1, allocations: 0.7406 MB / 1.145 GB, free: 176 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/1.101, allocations: 292.1 kB / 1.145 GB, free: 60 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006767/1.101, allocations: 475.4 kB / 1.145 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008449/1.102, allocations: 443.3 kB / 1.146 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=73): time 2.775e-06/1.102, allocations: 0 / 1.146 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73): time 0.003033/1.105, allocations: 1.106 MB / 1.147 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/1.106, allocations: 191 kB / 1.147 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/1.106, allocations: 0.5807 MB / 1.148 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/1.106, allocations: 48.08 kB / 1.148 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/1.107, allocations: 394.5 kB / 1.148 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/1.107, allocations: 246 kB / 1.148 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/1.107, allocations: 151.2 kB / 1.148 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.107, allocations: 378.5 kB / 1.149 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/1.108, allocations: 245.7 kB / 1.149 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/1.108, allocations: 342.4 kB / 1.149 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/1.11, allocations: 0.5722 MB / 1.15 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.11, allocations: 3.312 kB / 1.15 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00188/1.111, allocations: 0.7988 MB / 1.151 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.111, allocations: 6.5 kB / 1.151 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.111, allocations: 0 / 1.151 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005911/1.112, allocations: 78.81 kB / 1.151 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/1.113, allocations: 158.4 kB / 1.151 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/1.115, allocations: 1.519 MB / 1.152 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/1.116, allocations: 87.12 kB / 1.152 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/1.116, allocations: 37.77 kB / 1.152 GB, free: 11.14 MB / 0.7605 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 (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 (84): * Single equations (assignments): 83 * 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.0004489/1.116, allocations: 256.5 kB / 1.153 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.116, allocations: 77.22 kB / 1.153 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/1.119, allocations: 1.014 MB / 1.154 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.119, allocations: 9.469 kB / 1.154 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.119, allocations: 3.984 kB / 1.154 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.119, allocations: 6.438 kB / 1.154 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/1.12, allocations: 0.8687 MB / 1.155 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.12, allocations: 0.75 kB / 1.155 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/1.12, allocations: 146.4 kB / 1.155 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/1.121, allocations: 80.02 kB / 1.155 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/1.121, allocations: 24.7 kB / 1.155 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/1.123, allocations: 1.546 MB / 1.156 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.123, allocations: 3.469 kB / 1.156 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/1.125, allocations: 1.871 MB / 1.158 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/1.126, allocations: 258.5 kB / 1.158 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/1.126, allocations: 18.19 kB / 1.159 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/1.126, allocations: 53.17 kB / 1.159 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.127, allocations: 60.23 kB / 1.159 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/1.127, allocations: 37.62 kB / 1.159 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004941/1.127, allocations: 432 kB / 1.159 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/1.127, allocations: 0 / 1.159 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008947/1.128, allocations: 294.5 kB / 1.159 GB, free: 6.883 MB / 0.7605 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 (84): * Single equations (assignments): 81 * 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.001318/1.129, allocations: 0.5738 MB / 1.16 GB, free: 6.633 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001569/1.131, allocations: 0.775 MB / 1.161 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.131, allocations: 3.938 kB / 1.161 GB, free: 6.309 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008983/1.132, allocations: 0.4925 MB / 1.161 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/1.133, allocations: 259 kB / 1.161 GB, free: 6 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/1.137, allocations: 2.57 MB / 1.164 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/1.138, allocations: 1.04 MB / 1.165 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0008618/1.139, allocations: 266.8 kB / 1.165 GB, free: 3.641 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/1.139, allocations: 98.41 kB / 1.165 GB, free: 3.621 MB / 0.7605 GB Notification: Performance of SimCode: time 7.62e-07/1.139, allocations: 0 / 1.165 GB, free: 3.621 MB / 0.7605 GB Notification: Performance of Templates: time 0.02555/1.164, allocations: 13.75 MB / 1.179 GB, free: 2.492 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)