Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00129/0.00129, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.498/1.498, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.643/1.643, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001339/0.001339, allocations: 61.19 kB / 0.671 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2509, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006277/0.2572, allocations: 4.508 MB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6033/0.8606, allocations: 148.1 MB / 0.9319 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009253/0.8616, allocations: 18.25 kB / 0.9319 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006589/0.8623, allocations: 151.3 kB / 0.932 GB, free: 5.242 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.001343/0.8636, allocations: 387.8 kB / 0.9324 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.8655, allocations: 0.7164 MB / 0.9331 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.867, allocations: 1.305 MB / 0.9344 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.8682, allocations: 0.8921 MB / 0.9352 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008918/0.8691, allocations: 0.5289 MB / 0.9358 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.8699, allocations: 0.5674 MB / 0.9363 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.8701, allocations: 139.5 kB / 0.9364 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008883/0.871, allocations: 410.7 kB / 0.9368 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.8712, allocations: 338.6 kB / 0.9372 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005885/0.8718, allocations: 0.6399 MB / 0.9378 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.8738, allocations: 1.708 MB / 0.9395 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8738, allocations: 3.703 kB / 0.9395 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8739, allocations: 4 kB / 0.9395 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.8739, allocations: 0 / 0.9395 GB, free: 4.914 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.00267/0.8766, allocations: 1.548 MB / 0.941 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.8766, allocations: 7.938 kB / 0.941 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000906/0.8775, allocations: 214.1 kB / 0.9412 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.8785, allocations: 0.8007 MB / 0.942 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.8786, allocations: 82.84 kB / 0.942 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.8787, allocations: 106 kB / 0.9421 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.8805, allocations: 1.122 MB / 0.9432 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.8805, allocations: 0 / 0.9432 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.745e-05/0.8806, allocations: 48.72 kB / 0.9433 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.8807, allocations: 27.16 kB / 0.9433 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.8826, allocations: 1.224 MB / 0.9445 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004499/0.8871, allocations: 2.976 MB / 0.9474 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.8885, allocations: 0.7705 MB / 0.9482 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.889, allocations: 296 kB / 0.9485 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.052e-05/0.8891, allocations: 32.11 kB / 0.9485 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000928/0.89, allocations: 455.6 kB / 0.9489 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=78): time 2.265e-06/0.8901, allocations: 1.219 kB / 0.9489 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=78): time 0.003312/0.8934, allocations: 1.133 MB / 0.95 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.8935, allocations: 192.4 kB / 0.9502 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.8947, allocations: 0.6656 MB / 0.9509 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/0.8948, allocations: 40.33 kB / 0.9509 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/0.8953, allocations: 491.2 kB / 0.9514 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.8955, allocations: 267.9 kB / 0.9516 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.8958, allocations: 162.2 kB / 0.9518 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.896, allocations: 385.1 kB / 0.9521 GB, free: 17.19 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.8966, allocations: 264.9 kB / 0.9524 GB, free: 17.19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/0.8972, allocations: 347.5 kB / 0.9527 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.8982, allocations: 0.5996 MB / 0.9533 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8982, allocations: 1.125 kB / 0.9533 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001939/0.9001, allocations: 0.8363 MB / 0.9541 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.9002, allocations: 8.891 kB / 0.9541 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.9002, allocations: 2.812 kB / 0.9541 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.9009, allocations: 82.22 kB / 0.9542 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/0.9016, allocations: 160 kB / 0.9544 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.9038, allocations: 1.627 MB / 0.956 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.9045, allocations: 88.42 kB / 0.956 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.9046, allocations: 40.03 kB / 0.9561 GB, free: 15.54 MB / 0.7481 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 (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 (92): * Single equations (assignments): 91 * 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.0005287/0.9052, allocations: 280 kB / 0.9563 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.9053, allocations: 85.5 kB / 0.9564 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.9077, allocations: 1.027 MB / 0.9574 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.9077, allocations: 8.656 kB / 0.9574 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9077, allocations: 5.891 kB / 0.9574 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.9077, allocations: 4.141 kB / 0.9575 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.909, allocations: 0.9804 MB / 0.9584 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.909, allocations: 0 / 0.9584 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006153/0.9096, allocations: 151.7 kB / 0.9586 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/0.9101, allocations: 75.16 kB / 0.9586 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.9102, allocations: 21 kB / 0.9586 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.912, allocations: 1.657 MB / 0.9603 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9121, allocations: 1.188 kB / 0.9603 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.914, allocations: 0.8835 MB / 0.9611 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.9144, allocations: 265.6 kB / 0.9614 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.9146, allocations: 21.78 kB / 0.9614 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.9151, allocations: 61.66 kB / 0.9615 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.9152, allocations: 63.55 kB / 0.9615 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/0.9153, allocations: 30.25 kB / 0.9616 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006678/0.916, allocations: 477.7 kB / 0.962 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.916, allocations: 0 / 0.962 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001157/0.9172, allocations: 318.1 kB / 0.9623 GB, free: 13.15 MB / 0.7481 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 (89): * Single equations (assignments): 86 * 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.00137/0.9185, allocations: 0.5695 MB / 0.9629 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002328/0.9209, allocations: 0.9965 MB / 0.9638 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.9209, allocations: 1.125 kB / 0.9638 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008668/0.9218, allocations: 0.5053 MB / 0.9643 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.923, allocations: 304.2 kB / 0.9646 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.9275, allocations: 2.458 MB / 0.967 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.9282, allocations: 1.074 MB / 0.9681 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009473/0.9291, allocations: 263.2 kB / 0.9683 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.9294, allocations: 104.9 kB / 0.9684 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of SimCode: time 1.924e-06/0.9294, allocations: 0 / 0.9684 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of Templates: time 0.02303/0.9524, allocations: 14.06 MB / 0.9822 GB, free: 7.371 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)