Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.724/1.724, allocations: 287.4 MB / 303.2 MB, free: 8.164 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.001168/0.001168, allocations: 184.8 kB / 371.8 MB, free: 10.77 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.639/1.639, allocations: 205.4 MB / 0.6304 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.001011/0.001011, allocations: 89.11 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004801, allocations: 15.44 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1977, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.003754/0.2015, allocations: 3.6 MB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6003/0.8018, allocations: 136.5 MB / 1.116 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00092/0.8028, allocations: 14.31 kB / 1.116 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005482/0.8034, allocations: 127.3 kB / 1.116 GB, free: 1.609 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.001571/0.805, allocations: 344.9 kB / 1.117 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.8072, allocations: 0.6128 MB / 1.117 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.8087, allocations: 1.056 MB / 1.118 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009543/0.8097, allocations: 0.6261 MB / 1.119 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006694/0.8104, allocations: 301.9 kB / 1.119 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005123/0.8109, allocations: 326.2 kB / 1.119 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.811, allocations: 21.56 kB / 1.119 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009625/0.8119, allocations: 290.5 kB / 1.12 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.8122, allocations: 165.8 kB / 1.12 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.8124, allocations: 186.5 kB / 1.12 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.8143, allocations: 1.081 MB / 1.121 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8143, allocations: 3.938 kB / 1.121 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8143, allocations: 0 / 1.121 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.8143, allocations: 0 / 1.121 GB, free: 0.7656 MB / 0.6823 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.002496/0.8168, allocations: 1.143 MB / 1.122 GB, free: 16.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.754e-05/0.8169, allocations: 15 kB / 1.122 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.8184, allocations: 215.4 kB / 1.122 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.8199, allocations: 0.7224 MB / 1.123 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.82, allocations: 65.06 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.8201, allocations: 82.03 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.8219, allocations: 0.9362 MB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.8219, allocations: 1.859 kB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/0.822, allocations: 39.47 kB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.822, allocations: 21.72 kB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.8238, allocations: 1.113 MB / 1.125 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.8278, allocations: 2.546 MB / 1.128 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.8294, allocations: 0.7462 MB / 1.129 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/0.8299, allocations: 289.7 kB / 1.129 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006927/0.8306, allocations: 468.8 kB / 1.129 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008789/0.8315, allocations: 443.2 kB / 1.13 GB, free: 14.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.707e-06/0.8315, allocations: 0 / 1.13 GB, free: 14.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003104/0.8347, allocations: 1.119 MB / 1.131 GB, free: 13.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.8348, allocations: 190.7 kB / 1.131 GB, free: 13.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/0.8356, allocations: 0.5792 MB / 1.132 GB, free: 13.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.8357, allocations: 43.42 kB / 1.132 GB, free: 13.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.836, allocations: 394.8 kB / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.8363, allocations: 242.1 kB / 1.132 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.8363, allocations: 15.22 kB / 1.132 GB, free: 13.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.8365, allocations: 377.3 kB / 1.133 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.8371, allocations: 251.8 kB / 1.133 GB, free: 12.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.8377, allocations: 343.3 kB / 1.133 GB, free: 12.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.8388, allocations: 0.5768 MB / 1.134 GB, free: 12.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.8388, allocations: 3.188 kB / 1.134 GB, free: 12.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001984/0.8408, allocations: 0.8037 MB / 1.134 GB, free: 12.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.8408, allocations: 5.906 kB / 1.135 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.8409, allocations: 0.9688 kB / 1.135 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005901/0.8415, allocations: 84.86 kB / 1.135 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/0.8422, allocations: 154.9 kB / 1.135 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.8442, allocations: 1.519 MB / 1.136 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/0.845, allocations: 90.66 kB / 1.136 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/0.8451, allocations: 35.59 kB / 1.136 GB, free: 11.18 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.0006736/0.8458, allocations: 262.5 kB / 1.137 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.8459, allocations: 80.03 kB / 1.137 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.8486, allocations: 1.021 MB / 1.138 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.8486, allocations: 4.969 kB / 1.138 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8486, allocations: 5.25 kB / 1.138 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.8491, allocations: 264.6 kB / 1.138 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.8492, allocations: 18.31 kB / 1.138 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.8498, allocations: 72.64 kB / 1.138 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.8499, allocations: 62.56 kB / 1.138 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002215/0.8522, allocations: 0.9025 MB / 1.139 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002402/0.8546, allocations: 1.3 MB / 1.14 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006535/0.8552, allocations: 331 kB / 1.141 GB, free: 10.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007209/0.856, allocations: 425.5 kB / 1.141 GB, free: 10.06 MB / 0.698 GB Notification: Performance of Backend: time 1.382e-06/0.856, allocations: 5.094 kB / 1.141 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003691/0.8597, allocations: 1.142 MB / 1.142 GB, free: 9.625 MB / 0.698 GB Notification: Performance of SimCode: time 0.003716/0.8634, allocations: 2.341 MB / 1.144 GB, free: 8 MB / 0.698 GB Notification: Performance of Templates: time 0.02922/0.8926, allocations: 13.94 MB / 1.158 GB, free: 0.9883 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)