Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 104 kB / 16.37 MB, free: 6.363 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.001681/0.001681, allocations: 191.8 kB / 17.3 MB, free: 5.898 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.387/1.387, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.757/1.757, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001689/0.001689, allocations: 74.23 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2221, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.3815/0.6037, allocations: 4.166 MB / 0.7889 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.7741, allocations: 150.2 MB / 0.9355 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009178/0.775, allocations: 19.88 kB / 0.9356 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.7757, allocations: 167.3 kB / 0.9357 GB, free: 15.46 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001778/0.7776, allocations: 419 kB / 0.9361 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.7796, allocations: 0.7796 MB / 0.9369 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001451/0.781, allocations: 1.18 MB / 0.938 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009164/0.782, allocations: 0.6634 MB / 0.9387 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006335/0.7826, allocations: 451.8 kB / 0.9391 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.7831, allocations: 481.8 kB / 0.9396 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.7832, allocations: 108 kB / 0.9397 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006867/0.7839, allocations: 403.7 kB / 0.9401 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.7842, allocations: 279.1 kB / 0.9403 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004114/0.7846, allocations: 0.5207 MB / 0.9408 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.7862, allocations: 1.504 MB / 0.9423 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7862, allocations: 0 / 0.9423 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7862, allocations: 0 / 0.9423 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.7862, allocations: 4 kB / 0.9423 GB, free: 8.711 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002105/0.7883, allocations: 1.348 MB / 0.9436 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.7884, allocations: 8.031 kB / 0.9436 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.7898, allocations: 267.3 kB / 0.9439 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.7908, allocations: 0.7383 MB / 0.9446 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.7909, allocations: 67.41 kB / 0.9447 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.791, allocations: 87.98 kB / 0.9448 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.7927, allocations: 0.9613 MB / 0.9457 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.7927, allocations: 4 kB / 0.9457 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.7928, allocations: 43.98 kB / 0.9457 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.7928, allocations: 20 kB / 0.9458 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.7948, allocations: 1.171 MB / 0.9469 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.7986, allocations: 2.531 MB / 0.9494 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.8011, allocations: 0.8601 MB / 0.9502 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000693/0.8018, allocations: 326.6 kB / 0.9505 GB, free: 88 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.768e-05/0.8019, allocations: 26.75 kB / 0.9506 GB, free: 64 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009633/0.8029, allocations: 471.2 kB / 0.951 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 2.604e-06/0.8029, allocations: 0 / 0.951 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.003524/0.8064, allocations: 1.194 MB / 0.9522 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.8066, allocations: 188.6 kB / 0.9524 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.8073, allocations: 0.5861 MB / 0.9529 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.8074, allocations: 37.7 kB / 0.953 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.8078, allocations: 400.1 kB / 0.9533 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.808, allocations: 244.4 kB / 0.9536 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.8082, allocations: 154.5 kB / 0.9537 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8084, allocations: 378.8 kB / 0.9541 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.809, allocations: 277.8 kB / 0.9543 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007091/0.8097, allocations: 367.1 kB / 0.9547 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.811, allocations: 0.6306 MB / 0.9553 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8111, allocations: 0 / 0.9553 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002112/0.8132, allocations: 0.8565 MB / 0.9562 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.8132, allocations: 7.984 kB / 0.9562 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.8132, allocations: 6.312 kB / 0.9562 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.8138, allocations: 80.88 kB / 0.9562 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.8146, allocations: 163.8 kB / 0.9564 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.8167, allocations: 1.632 MB / 0.958 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/0.8175, allocations: 92.27 kB / 0.9581 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/0.8176, allocations: 35.97 kB / 0.9581 GB, free: 8.012 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 (85): * Single equations (assignments): 84 * 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.0004704/0.8181, allocations: 257.6 kB / 0.9584 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.8182, allocations: 83.09 kB / 0.9584 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.8208, allocations: 1.014 MB / 0.9594 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.8208, allocations: 4.859 kB / 0.9594 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8209, allocations: 0 / 0.9594 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.8212, allocations: 255.8 kB / 0.9597 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.8213, allocations: 20 kB / 0.9597 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/0.822, allocations: 71.86 kB / 0.9598 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.8221, allocations: 56.92 kB / 0.9598 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002328/0.8244, allocations: 0.9563 MB / 0.9608 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002624/0.8271, allocations: 1.391 MB / 0.9621 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007589/0.8278, allocations: 363.8 kB / 0.9625 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000583/0.8284, allocations: 427 kB / 0.9629 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of Backend: time 4.4e-07/0.8284, allocations: 0 / 0.9629 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003453/0.8319, allocations: 1.174 MB / 0.964 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of SimCode: time 0.003143/0.8351, allocations: 2.009 MB / 0.966 GB, free: 144 kB / 0.7481 GB Notification: Performance of Templates: time 0.02538/0.8605, allocations: 15.22 MB / 0.9808 GB, free: 1.141 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)