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.677/1.677, allocations: 288.4 MB / 304.3 MB, free: 8.059 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.0009417/0.0009418, allocations: 180.5 kB / 372.9 MB, free: 10.14 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.447/1.447, allocations: 205.4 MB / 0.6316 GB, free: 9.922 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.0008318/0.000832, allocations: 102.7 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004215, allocations: 15.84 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2109, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.003953/0.2149, allocations: 3.612 MB / 0.9843 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6805/0.8955, allocations: 136.5 MB / 1.118 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007815/0.8964, allocations: 15.22 kB / 1.118 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.8969, allocations: 127.9 kB / 1.118 GB, free: 2.309 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.001404/0.8983, allocations: 358.4 kB / 1.118 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.9005, allocations: 0.6029 MB / 1.119 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.9019, allocations: 1.051 MB / 1.12 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009202/0.9028, allocations: 0.6282 MB / 1.12 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.9034, allocations: 299.2 kB / 1.121 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.9038, allocations: 323.1 kB / 1.121 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.9039, allocations: 20.94 kB / 1.121 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008271/0.9047, allocations: 301.3 kB / 1.121 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.9049, allocations: 171.2 kB / 1.121 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.9054, allocations: 406.8 kB / 1.122 GB, free: 17.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.9065, allocations: 1.085 MB / 1.123 GB, free: 17.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9065, allocations: 0 / 1.123 GB, free: 17.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.245e-06/0.9066, allocations: 0 / 1.123 GB, free: 17.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.9066, allocations: 0 / 1.123 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.001827/0.9084, allocations: 1.143 MB / 1.124 GB, free: 16.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.9085, allocations: 9.078 kB / 1.124 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.9096, allocations: 220.2 kB / 1.124 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.9106, allocations: 0.7177 MB / 1.125 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.9106, allocations: 65.94 kB / 1.125 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.9108, allocations: 83.41 kB / 1.125 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.9124, allocations: 0.9337 MB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.9124, allocations: 0 / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.9125, allocations: 38.78 kB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.9125, allocations: 20.38 kB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.9144, allocations: 1.116 MB / 1.127 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.9186, allocations: 2.566 MB / 1.13 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.92, allocations: 0.7499 MB / 1.13 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.9205, allocations: 288.1 kB / 1.131 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/0.9212, allocations: 472.4 kB / 1.131 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000817/0.922, allocations: 450 kB / 1.131 GB, free: 14.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.837e-06/0.922, allocations: 0 / 1.131 GB, free: 14.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002846/0.9249, allocations: 1.118 MB / 1.132 GB, free: 14.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.925, allocations: 194.9 kB / 1.133 GB, free: 14.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.9258, allocations: 0.5767 MB / 1.133 GB, free: 14.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/0.9258, allocations: 40.83 kB / 1.133 GB, free: 14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.9261, allocations: 394.5 kB / 1.134 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.9264, allocations: 246.1 kB / 1.134 GB, free: 13.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.9264, allocations: 15.22 kB / 1.134 GB, free: 13.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9266, allocations: 376.7 kB / 1.134 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.9271, allocations: 246.3 kB / 1.134 GB, free: 13.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/0.9277, allocations: 339.6 kB / 1.135 GB, free: 13.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.9289, allocations: 0.5785 MB / 1.135 GB, free: 13.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.9289, allocations: 0 / 1.135 GB, free: 13.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002082/0.931, allocations: 0.8058 MB / 1.136 GB, free: 12.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.931, allocations: 9.578 kB / 1.136 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.931, allocations: 0.8438 kB / 1.136 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006257/0.9317, allocations: 83.28 kB / 1.136 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/0.9324, allocations: 151.1 kB / 1.136 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.9346, allocations: 1.518 MB / 1.138 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008147/0.9354, allocations: 85.05 kB / 1.138 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.9355, allocations: 37.03 kB / 1.138 GB, free: 11.44 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.000538/0.936, allocations: 264.5 kB / 1.138 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.9362, allocations: 76.06 kB / 1.138 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.9387, allocations: 1.031 MB / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.9387, allocations: 3.984 kB / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9388, allocations: 0 / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.9392, allocations: 264.8 kB / 1.14 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.9393, allocations: 19.55 kB / 1.14 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.9399, allocations: 74.72 kB / 1.14 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.9401, allocations: 60.7 kB / 1.14 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002065/0.9421, allocations: 0.8994 MB / 1.141 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002119/0.9443, allocations: 1.303 MB / 1.142 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005516/0.9448, allocations: 332.8 kB / 1.142 GB, free: 9.969 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005829/0.9454, allocations: 426.2 kB / 1.143 GB, free: 9.82 MB / 0.698 GB Notification: Performance of Backend: time 4.31e-07/0.9454, allocations: 1.438 kB / 1.143 GB, free: 9.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003322/0.9488, allocations: 1.166 MB / 1.144 GB, free: 9.344 MB / 0.698 GB Notification: Performance of SimCode: time 0.003741/0.9525, allocations: 2.338 MB / 1.146 GB, free: 7.727 MB / 0.698 GB Notification: Performance of Templates: time 0.02881/0.9814, allocations: 14.07 MB / 1.16 GB, free: 0.6562 MB / 0.698 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)