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.874/1.874, allocations: 287.5 MB / 302.6 MB, free: 8.133 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.001292/0.001292, allocations: 186.2 kB / 371.2 MB, free: 10.74 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.573/1.573, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0009892/0.0009892, allocations: 100.7 kB / 0.7432 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003931, allocations: 15.58 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1994, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.003751/0.2032, allocations: 3.6 MB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6021/0.8053, allocations: 136.5 MB / 1.116 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009207/0.8062, allocations: 19.09 kB / 1.116 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.8068, allocations: 125.6 kB / 1.116 GB, free: 1.582 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.0015/0.8083, allocations: 350.8 kB / 1.116 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.8105, allocations: 0.6132 MB / 1.117 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.8119, allocations: 1.045 MB / 1.118 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.8129, allocations: 0.6268 MB / 1.118 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007473/0.8137, allocations: 304.5 kB / 1.118 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004901/0.8142, allocations: 321.4 kB / 1.119 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.95e-05/0.8143, allocations: 21.16 kB / 1.119 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.8153, allocations: 290 kB / 1.119 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.8156, allocations: 175 kB / 1.119 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.8158, allocations: 185.9 kB / 1.119 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.8172, allocations: 1.08 MB / 1.12 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.8172, allocations: 0 / 1.12 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8172, allocations: 0 / 1.12 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.8172, allocations: 0 / 1.12 GB, free: 0.7422 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.002379/0.8196, allocations: 1.148 MB / 1.122 GB, free: 16.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.8197, allocations: 11.97 kB / 1.122 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.8207, allocations: 217.8 kB / 1.122 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.8218, allocations: 0.717 MB / 1.123 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.8218, allocations: 68.59 kB / 1.123 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.8219, allocations: 85.27 kB / 1.123 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.8235, allocations: 0.9308 MB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.8235, allocations: 0 / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/0.8236, allocations: 36.34 kB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.8236, allocations: 21.72 kB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.8253, allocations: 1.119 MB / 1.125 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/0.8292, allocations: 2.546 MB / 1.127 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.8306, allocations: 0.7484 MB / 1.128 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.8311, allocations: 288.1 kB / 1.128 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006797/0.8318, allocations: 473.8 kB / 1.129 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007975/0.8326, allocations: 448.6 kB / 1.129 GB, free: 14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.975e-06/0.8327, allocations: 0 / 1.129 GB, free: 14 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002883/0.8356, allocations: 1.113 MB / 1.13 GB, free: 13.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.8357, allocations: 194.3 kB / 1.13 GB, free: 13.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/0.8364, allocations: 0.5789 MB / 1.131 GB, free: 13.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.8365, allocations: 40.89 kB / 1.131 GB, free: 13.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.8368, allocations: 396.5 kB / 1.131 GB, free: 13.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.837, allocations: 247.5 kB / 1.132 GB, free: 13.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.8371, allocations: 13.31 kB / 1.132 GB, free: 13.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.8373, allocations: 378.6 kB / 1.132 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.8378, allocations: 246.2 kB / 1.132 GB, free: 12.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.8384, allocations: 339.1 kB / 1.133 GB, free: 12.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.8395, allocations: 0.5835 MB / 1.133 GB, free: 12.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8395, allocations: 0 / 1.133 GB, free: 12.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001928/0.8414, allocations: 0.8034 MB / 1.134 GB, free: 12.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.8415, allocations: 5.719 kB / 1.134 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8415, allocations: 0 / 1.134 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.8421, allocations: 86.5 kB / 1.134 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.8428, allocations: 153.5 kB / 1.134 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.8449, allocations: 1.518 MB / 1.136 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007715/0.8457, allocations: 90.83 kB / 1.136 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/0.8458, allocations: 32.66 kB / 1.136 GB, free: 11.16 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.0005489/0.8463, allocations: 263.2 kB / 1.136 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.8465, allocations: 79.02 kB / 1.136 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.8489, allocations: 1.027 MB / 1.137 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.8489, allocations: 8.656 kB / 1.137 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.849, allocations: 0 / 1.137 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.849, allocations: 5.812 kB / 1.137 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.8505, allocations: 0.8663 MB / 1.138 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.8505, allocations: 3.938 kB / 1.138 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.8512, allocations: 149.4 kB / 1.138 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005473/0.8518, allocations: 86.69 kB / 1.138 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.8519, allocations: 26.09 kB / 1.138 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.8537, allocations: 1.548 MB / 1.14 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8538, allocations: 0 / 1.14 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.8557, allocations: 0.8645 MB / 1.141 GB, free: 9.031 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.8561, allocations: 267.3 kB / 1.141 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.8562, allocations: 20.64 kB / 1.141 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.8568, allocations: 72.55 kB / 1.141 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.8569, allocations: 60.66 kB / 1.141 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.857, allocations: 30.84 kB / 1.141 GB, free: 8.785 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005644/0.8576, allocations: 425 kB / 1.141 GB, free: 8.637 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8576, allocations: 0 / 1.141 GB, free: 8.637 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009106/0.8585, allocations: 298 kB / 1.142 GB, free: 8.574 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.001301/0.8598, allocations: 0.5632 MB / 1.142 GB, free: 8.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.8616, allocations: 0.786 MB / 1.143 GB, free: 8.098 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8616, allocations: 1.031 kB / 1.143 GB, free: 8.098 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000901/0.8625, allocations: 0.4925 MB / 1.143 GB, free: 7.914 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.8637, allocations: 240.2 kB / 1.144 GB, free: 7.844 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.8678, allocations: 2.13 MB / 1.146 GB, free: 6.652 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.8685, allocations: 1.019 MB / 1.147 GB, free: 5.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001019/0.8695, allocations: 254.3 kB / 1.147 GB, free: 5.695 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.8698, allocations: 100.4 kB / 1.147 GB, free: 5.672 MB / 0.698 GB Notification: Performance of SimCode: time 8.52e-07/0.8698, allocations: 0.9062 kB / 1.147 GB, free: 5.672 MB / 0.698 GB Notification: Performance of Templates: time 0.02246/0.8922, allocations: 12.98 MB / 1.16 GB, free: 15.18 MB / 0.7136 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)