Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.4 MB / 303.7 MB, free: 8.066 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.0009747/0.0009747, allocations: 176.5 kB / 372.3 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.388/1.388, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0007321/0.0007322, allocations: 106.7 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 11.25 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005182/0.2127, allocations: 5.218 MB / 0.9852 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6183/0.831, allocations: 137.3 MB / 1.119 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.8324, allocations: 18.44 kB / 1.119 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.8331, allocations: 171.9 kB / 1.12 GB, free: 2.246 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.001982/0.8351, allocations: 470.1 kB / 1.12 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.8378, allocations: 0.9046 MB / 1.121 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002896/0.8407, allocations: 2.059 MB / 1.123 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.8425, allocations: 1.415 MB / 1.124 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.844, allocations: 0.6572 MB / 1.125 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.8451, allocations: 0.7789 MB / 1.126 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.8454, allocations: 56.56 kB / 1.126 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.8464, allocations: 325.3 kB / 1.126 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.8467, allocations: 346.9 kB / 1.126 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007541/0.8475, allocations: 0.8111 MB / 1.127 GB, free: 16.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.8498, allocations: 2.295 MB / 1.129 GB, free: 16.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.8498, allocations: 2.438 kB / 1.129 GB, free: 16.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8499, allocations: 0 / 1.129 GB, free: 16.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.731e-05/0.8499, allocations: 0 / 1.129 GB, free: 16.45 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.0047/0.8547, allocations: 2.051 MB / 1.131 GB, free: 15.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.8547, allocations: 13.72 kB / 1.131 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.869, allocations: 2.191 MB / 1.134 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.8718, allocations: 1.188 MB / 1.135 GB, free: 13.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.8719, allocations: 151.8 kB / 1.135 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004481/0.8724, allocations: 201.8 kB / 1.135 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008221/0.8806, allocations: 3.093 MB / 1.138 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.8807, allocations: 0 / 1.138 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.8809, allocations: 84.16 kB / 1.138 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.757e-05/0.881, allocations: 50.72 kB / 1.138 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.8935, allocations: 4.081 MB / 1.142 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01448/0.908, allocations: 6.611 MB / 1.149 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008607/0.9167, allocations: 2.733 MB / 1.151 GB, free: 8.445 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004064/0.9208, allocations: 1.375 MB / 1.153 GB, free: 8.211 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007337/0.9216, allocations: 0.5008 MB / 1.153 GB, free: 7.707 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004405/0.926, allocations: 1.641 MB / 1.155 GB, free: 7.145 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 4.258e-06/0.926, allocations: 0 / 1.155 GB, free: 7.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.01243/0.9384, allocations: 4.042 MB / 1.159 GB, free: 6.191 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.9386, allocations: 204.9 kB / 1.159 GB, free: 5.965 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.9397, allocations: 0.8342 MB / 1.16 GB, free: 5.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.9399, allocations: 55.2 kB / 1.16 GB, free: 5.648 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000481/0.9404, allocations: 0.6849 MB / 1.16 GB, free: 5.227 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005168/0.9409, allocations: 0.6196 MB / 1.161 GB, free: 4.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.941, allocations: 35.53 kB / 1.161 GB, free: 4.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9412, allocations: 375.4 kB / 1.161 GB, free: 4.438 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003646/0.9448, allocations: 1.138 MB / 1.163 GB, free: 4.215 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.9486, allocations: 1.314 MB / 1.164 GB, free: 3.887 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00703/0.9556, allocations: 2.402 MB / 1.166 GB, free: 3.293 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.9556, allocations: 0 / 1.166 GB, free: 3.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.00857/0.9642, allocations: 2.844 MB / 1.169 GB, free: 1.875 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.9643, allocations: 4.969 kB / 1.169 GB, free: 1.875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.9643, allocations: 3.031 kB / 1.169 GB, free: 1.875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/0.9649, allocations: 90.12 kB / 1.169 GB, free: 1.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/0.9682, allocations: 0.5534 MB / 1.17 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.9702, allocations: 1.53 MB / 1.171 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.973, allocations: 316.9 kB / 1.171 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.9733, allocations: 93.14 kB / 1.171 GB, free: 15.95 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (212): * Single equations (assignments): 211 * 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.001017/0.9743, allocations: 405.1 kB / 1.172 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.9746, allocations: 143.5 kB / 1.172 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009974/0.9846, allocations: 3.365 MB / 1.175 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.9846, allocations: 19.47 kB / 1.175 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.9846, allocations: 6.469 kB / 1.175 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/0.9847, allocations: 17.66 kB / 1.175 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.9974, allocations: 5.568 MB / 1.181 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.9974, allocations: 0 / 1.181 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.001, allocations: 0.5304 MB / 1.181 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/1.001, allocations: 88.77 kB / 1.181 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/1.001, allocations: 63.92 kB / 1.181 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/1.003, allocations: 1.547 MB / 1.183 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.003, allocations: 0 / 1.183 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008964/1.012, allocations: 2.949 MB / 1.186 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.013, allocations: 0.5258 MB / 1.186 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004351/1.014, allocations: 36 kB / 1.186 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002657/1.016, allocations: 243.8 kB / 1.187 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/1.017, allocations: 129.8 kB / 1.187 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/1.017, allocations: 79.92 kB / 1.187 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009621/1.018, allocations: 0.6086 MB / 1.187 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.018, allocations: 0 / 1.187 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001864/1.02, allocations: 0.5801 MB / 1.188 GB, free: 0.8711 MB / 0.7136 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * 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.001369/1.021, allocations: 0.6015 MB / 1.188 GB, free: 452 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008746/1.03, allocations: 2.883 MB / 1.191 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.03, allocations: 0 / 1.191 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0046/1.035, allocations: 1.607 MB / 1.193 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/1.036, allocations: 305.8 kB / 1.193 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00977/1.046, allocations: 4.687 MB / 1.198 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000953/1.047, allocations: 1.357 MB / 1.199 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003648/1.051, allocations: 0.5424 MB / 1.2 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009281/1.052, allocations: 215.2 kB / 1.2 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/1.052, allocations: 0 / 1.2 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of Templates: time 0.04416/1.096, allocations: 25.23 MB / 1.224 GB, free: 11.65 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)