Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.2 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 65.02 kB / 0.6708 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2171, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008191/0.2254, allocations: 6.044 MB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6447/0.8701, allocations: 148.8 MB / 0.9339 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.8712, allocations: 24.38 kB / 0.9339 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006687/0.8719, allocations: 182.1 kB / 0.9341 GB, free: 5.078 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001673/0.8736, allocations: 489 kB / 0.9345 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.8765, allocations: 1.101 MB / 0.9356 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002839/0.8793, allocations: 2.188 MB / 0.9377 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.8811, allocations: 1.457 MB / 0.9392 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.8826, allocations: 0.8742 MB / 0.94 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.8841, allocations: 1.058 MB / 0.941 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003275/0.8844, allocations: 144.5 kB / 0.9412 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.8854, allocations: 436.2 kB / 0.9416 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005088/0.8859, allocations: 493.7 kB / 0.9421 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.887, allocations: 1.003 MB / 0.943 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.8896, allocations: 2.975 MB / 0.946 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8897, allocations: 4 kB / 0.946 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8897, allocations: 0 / 0.946 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.145e-05/0.8897, allocations: 0 / 0.946 GB, free: 4.18 MB / 0.7325 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.005714/0.8955, allocations: 2.529 MB / 0.9484 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.8955, allocations: 9.781 kB / 0.9484 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/0.9115, allocations: 1.999 MB / 0.9504 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.9143, allocations: 1.184 MB / 0.9515 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.9145, allocations: 155.4 kB / 0.9517 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006112/0.9151, allocations: 205.2 kB / 0.9519 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008912/0.924, allocations: 3.033 MB / 0.9549 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/0.9241, allocations: 4.969 kB / 0.9549 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/0.9244, allocations: 87.75 kB / 0.9549 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.516e-05/0.9244, allocations: 49.84 kB / 0.955 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.9365, allocations: 3.948 MB / 0.9588 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.9503, allocations: 6.564 MB / 0.9653 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008198/0.9586, allocations: 2.724 MB / 0.9679 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003954/0.9625, allocations: 1.371 MB / 0.9693 GB, free: 16.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007831/0.9634, allocations: 0.5029 MB / 0.9697 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004376/0.9677, allocations: 1.629 MB / 0.9713 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=192): time 3.687e-06/0.9678, allocations: 0 / 0.9713 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=192): time 0.01289/0.9807, allocations: 4.014 MB / 0.9753 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.9808, allocations: 211 kB / 0.9755 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.9821, allocations: 0.8394 MB / 0.9763 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.9823, allocations: 59.25 kB / 0.9763 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/0.9828, allocations: 0.6855 MB / 0.977 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/0.9834, allocations: 0.6247 MB / 0.9776 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006595/0.984, allocations: 359.4 kB / 0.978 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.9841, allocations: 301.1 kB / 0.9782 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003608/0.9878, allocations: 1.134 MB / 0.9793 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003829/0.9916, allocations: 1.298 MB / 0.9806 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007309/0.9989, allocations: 2.389 MB / 0.9829 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.999, allocations: 3.984 kB / 0.983 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.008843/1.008, allocations: 2.825 MB / 0.9857 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.008, allocations: 4.938 kB / 0.9857 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.008, allocations: 2.562 kB / 0.9857 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/1.008, allocations: 92.14 kB / 0.9858 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/1.012, allocations: 0.5456 MB / 0.9863 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/1.014, allocations: 1.531 MB / 0.9878 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/1.017, allocations: 312.9 kB / 0.9881 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/1.018, allocations: 97.7 kB / 0.9882 GB, free: 6.336 MB / 0.7481 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001138/1.019, allocations: 397.8 kB / 0.9886 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/1.019, allocations: 136.3 kB / 0.9887 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.029, allocations: 3.358 MB / 0.992 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/1.029, allocations: 21.19 kB / 0.992 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.029, allocations: 6.562 kB / 0.992 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/1.03, allocations: 11.95 kB / 0.9921 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/1.043, allocations: 5.553 MB / 0.9975 GB, free: 0.625 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.043, allocations: 0 / 0.9975 GB, free: 0.625 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003412/1.046, allocations: 0.5231 MB / 0.998 GB, free: 492 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005527/1.047, allocations: 85.75 kB / 0.9981 GB, free: 448 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/1.047, allocations: 71.59 kB / 0.9981 GB, free: 396 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/1.049, allocations: 1.542 MB / 0.9996 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.049, allocations: 0 / 0.9996 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009433/1.059, allocations: 2.932 MB / 1.003 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.06, allocations: 0.4963 MB / 1.003 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/1.06, allocations: 49.64 kB / 1.003 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002632/1.063, allocations: 227.8 kB / 1.003 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/1.063, allocations: 125.8 kB / 1.003 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/1.063, allocations: 86.34 kB / 1.003 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00113/1.064, allocations: 0.6172 MB / 1.004 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.665e-06/1.064, allocations: 0 / 1.004 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0026/1.067, allocations: 0.5749 MB / 1.005 GB, free: 12.16 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0021/1.069, allocations: 0.5984 MB / 1.005 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009194/1.078, allocations: 2.859 MB / 1.008 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.078, allocations: 4.938 kB / 1.008 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004926/1.083, allocations: 1.597 MB / 1.01 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/1.085, allocations: 320.3 kB / 1.01 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.096, allocations: 4.767 MB / 1.015 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.097, allocations: 1.357 MB / 1.016 GB, free: 3.773 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004732/1.102, allocations: 0.5424 MB / 1.016 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/1.103, allocations: 219.2 kB / 1.017 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of SimCode: time 1.252e-06/1.103, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of Templates: time 0.04443/1.148, allocations: 25.96 MB / 1.042 GB, free: 9.285 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)