Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 288.4 MB / 303.7 MB, free: 8.137 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.001053/0.001053, allocations: 182.6 kB / 372.3 MB, free: 10.12 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.449/1.449, allocations: 205.4 MB / 0.631 GB, free: 9.781 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.0007458/0.0007456, allocations: 90.86 kB / 0.7444 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 11.41 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.196, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.003831/0.1999, allocations: 3.604 MB / 0.9837 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5818/0.7817, allocations: 136.5 MB / 1.117 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008049/0.7826, allocations: 18.91 kB / 1.117 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.7832, allocations: 126.8 kB / 1.117 GB, free: 2.305 MB / 0.6823 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.001227/0.7844, allocations: 358.4 kB / 1.117 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.7864, allocations: 0.6059 MB / 1.118 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.7876, allocations: 1.049 MB / 1.119 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008261/0.7884, allocations: 0.6244 MB / 1.12 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.7889, allocations: 302.5 kB / 1.12 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.7893, allocations: 323 kB / 1.12 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.7894, allocations: 21.62 kB / 1.12 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007109/0.7901, allocations: 300.1 kB / 1.121 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.7903, allocations: 172.9 kB / 1.121 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.7907, allocations: 402.3 kB / 1.121 GB, free: 17.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009979/0.7917, allocations: 1.09 MB / 1.122 GB, free: 17.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.7917, allocations: 2.938 kB / 1.122 GB, free: 17.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7917, allocations: 1.438 kB / 1.122 GB, free: 17.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.7917, allocations: 0 / 1.122 GB, free: 17.35 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001787/0.7935, allocations: 1.136 MB / 1.123 GB, free: 16.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.7936, allocations: 11.97 kB / 1.123 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009895/0.7946, allocations: 215.7 kB / 1.124 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009778/0.7956, allocations: 0.721 MB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-05/0.7956, allocations: 69 kB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.7958, allocations: 82.69 kB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.7974, allocations: 0.9354 MB / 1.125 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.7974, allocations: 0 / 1.125 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/0.7975, allocations: 36.66 kB / 1.125 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.7975, allocations: 25.23 kB / 1.125 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.7992, allocations: 1.115 MB / 1.126 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.8029, allocations: 2.559 MB / 1.129 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.8042, allocations: 0.7428 MB / 1.13 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.8047, allocations: 294.1 kB / 1.13 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/0.8053, allocations: 470.6 kB / 1.13 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007597/0.8061, allocations: 450.8 kB / 1.131 GB, free: 14.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.8061, allocations: 0 / 1.131 GB, free: 14.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00277/0.8089, allocations: 1.115 MB / 1.132 GB, free: 14.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.809, allocations: 187.1 kB / 1.132 GB, free: 14.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/0.8097, allocations: 0.5818 MB / 1.133 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/0.8098, allocations: 38.98 kB / 1.133 GB, free: 14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.8101, allocations: 391.8 kB / 1.133 GB, free: 13.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.8103, allocations: 251 kB / 1.133 GB, free: 13.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.8103, allocations: 18.53 kB / 1.133 GB, free: 13.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.8104, allocations: 380.7 kB / 1.134 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.8109, allocations: 244.7 kB / 1.134 GB, free: 13.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.8115, allocations: 342.4 kB / 1.134 GB, free: 13.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009673/0.8125, allocations: 0.577 MB / 1.135 GB, free: 13.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8125, allocations: 0 / 1.135 GB, free: 13.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0017/0.8142, allocations: 0.8028 MB / 1.136 GB, free: 12.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.8142, allocations: 4.312 kB / 1.136 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.8143, allocations: 1.406 kB / 1.136 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/0.8149, allocations: 89.27 kB / 1.136 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.8155, allocations: 153.4 kB / 1.136 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.8175, allocations: 1.521 MB / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.8182, allocations: 83.42 kB / 1.137 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.8183, allocations: 35.19 kB / 1.137 GB, free: 11.45 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 (84): * Single equations (assignments): 83 * 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.0004942/0.8188, allocations: 266.2 kB / 1.138 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.8189, allocations: 77.41 kB / 1.138 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.8213, allocations: 1.018 MB / 1.139 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.8213, allocations: 8.719 kB / 1.139 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8213, allocations: 0.9688 kB / 1.139 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.8213, allocations: 3.984 kB / 1.139 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.8224, allocations: 0.8655 MB / 1.14 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.8224, allocations: 7.938 kB / 1.14 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.8231, allocations: 147 kB / 1.14 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.8236, allocations: 82.92 kB / 1.14 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.8237, allocations: 24.48 kB / 1.14 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.8255, allocations: 1.548 MB / 1.141 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8256, allocations: 0 / 1.141 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.8277, allocations: 0.8607 MB / 1.142 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/0.8281, allocations: 276.2 kB / 1.142 GB, free: 8.652 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.8282, allocations: 16.97 kB / 1.142 GB, free: 8.652 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/0.8288, allocations: 74.5 kB / 1.143 GB, free: 8.629 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.8289, allocations: 56.17 kB / 1.143 GB, free: 8.605 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.829, allocations: 34.22 kB / 1.143 GB, free: 8.598 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005554/0.8296, allocations: 422.2 kB / 1.143 GB, free: 8.453 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8296, allocations: 0 / 1.143 GB, free: 8.453 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009762/0.8306, allocations: 299.2 kB / 1.143 GB, free: 8.391 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 (84): * Single equations (assignments): 81 * 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.001391/0.832, allocations: 0.5716 MB / 1.144 GB, free: 8.125 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.8336, allocations: 0.7852 MB / 1.145 GB, free: 7.887 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.8336, allocations: 2.344 kB / 1.145 GB, free: 7.887 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008744/0.8345, allocations: 497 kB / 1.145 GB, free: 7.707 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.8357, allocations: 251.7 kB / 1.145 GB, free: 7.633 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.84, allocations: 2.135 MB / 1.147 GB, free: 6.438 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.8406, allocations: 1.017 MB / 1.148 GB, free: 5.609 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009517/0.8416, allocations: 263.4 kB / 1.149 GB, free: 5.477 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.8418, allocations: 99.5 kB / 1.149 GB, free: 5.453 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/0.8418, allocations: 0 / 1.149 GB, free: 5.453 MB / 0.698 GB Notification: Performance of Templates: time 0.0229/0.8647, allocations: 13.13 MB / 1.162 GB, free: 14.87 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)