Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.363/2.363, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001354, allocations: 175.3 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.377/2.377, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009314/0.0009312, allocations: 95.66 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006484/0.0006485, allocations: 12.88 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.205, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006289/0.2114, allocations: 3.783 MB / 0.9032 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2621/0.4736, allocations: 136.6 MB / 1.037 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009529/0.4746, allocations: 15.94 kB / 1.037 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.4753, allocations: 122.9 kB / 1.037 GB, free: 4.605 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.001976/0.4773, allocations: 356.5 kB / 1.037 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.4805, allocations: 0.6737 MB / 1.038 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002375/0.4829, allocations: 1.172 MB / 1.039 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.4844, allocations: 0.6628 MB / 1.04 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009342/0.4854, allocations: 362.4 kB / 1.04 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007923/0.4862, allocations: 405.9 kB / 1.04 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.4864, allocations: 31.94 kB / 1.04 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.4874, allocations: 299.7 kB / 1.041 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.4877, allocations: 195.1 kB / 1.041 GB, free: 468 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.4881, allocations: 201.1 kB / 1.041 GB, free: 260 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.4901, allocations: 1.181 MB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4902, allocations: 0 / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4902, allocations: 0 / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.4902, allocations: 0 / 1.042 GB, free: 15.07 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00407/0.4943, allocations: 1.283 MB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.4944, allocations: 12.03 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009163/0.5036, allocations: 0.7836 MB / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.5058, allocations: 0.7505 MB / 1.045 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.586e-05/0.5059, allocations: 74.03 kB / 1.045 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.5062, allocations: 96 kB / 1.045 GB, free: 11.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005779/0.512, allocations: 1.344 MB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.5121, allocations: 0 / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.5123, allocations: 48 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.5123, allocations: 24 kB / 1.046 GB, free: 10.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008701/0.521, allocations: 1.834 MB / 1.048 GB, free: 8.656 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.5319, allocations: 3.148 MB / 1.051 GB, free: 5.438 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006516/0.5385, allocations: 1.213 MB / 1.052 GB, free: 4.215 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/0.5413, allocations: 0.562 MB / 1.053 GB, free: 3.652 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.5424, allocations: 470.6 kB / 1.053 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003267/0.5457, allocations: 0.7231 MB / 1.054 GB, free: 2.355 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 4.83e-06/0.5458, allocations: 4 kB / 1.054 GB, free: 2.352 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.01054/0.5563, allocations: 1.799 MB / 1.056 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.5565, allocations: 196.9 kB / 1.056 GB, free: 300 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6278/1.184, allocations: 0.5789 MB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003763/1.185, allocations: 43.73 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005901/1.185, allocations: 414 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006598/1.186, allocations: 325.7 kB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/1.186, allocations: 19.09 kB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002459/1.186, allocations: 389.5 kB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/1.19, allocations: 468.1 kB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00396/1.194, allocations: 0.5634 MB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/1.198, allocations: 0.489 MB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/1.198, allocations: 3 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01026/1.209, allocations: 1.276 MB / 1.061 GB, free: 155.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.209, allocations: 4.969 kB / 1.061 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.209, allocations: 3.188 kB / 1.061 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/1.21, allocations: 87.66 kB / 1.061 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/1.214, allocations: 244.8 kB / 1.061 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/1.217, allocations: 1.512 MB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/1.22, allocations: 148 kB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/1.22, allocations: 49.19 kB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0007451/1.221, allocations: 271.3 kB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/1.221, allocations: 84.77 kB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007973/1.229, allocations: 1.574 MB / 1.064 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.876e-05/1.229, allocations: 13.84 kB / 1.064 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.229, allocations: 0 / 1.064 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008473/1.23, allocations: 308.1 kB / 1.065 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/1.23, allocations: 19.39 kB / 1.065 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/1.232, allocations: 124.8 kB / 1.065 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/1.233, allocations: 74.56 kB / 1.065 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008229/1.241, allocations: 1.428 MB / 1.066 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01138/1.252, allocations: 2.076 MB / 1.068 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002914/1.255, allocations: 0.5841 MB / 1.069 GB, free: 153.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009368/1.256, allocations: 425.7 kB / 1.069 GB, free: 153.2 MB / 0.698 GB Notification: Performance of Backend: time 8.82e-07/1.256, allocations: 0 / 1.069 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006772/1.263, allocations: 1.43 MB / 1.071 GB, free: 152.9 MB / 0.698 GB Notification: Performance of SimCode: time 0.008592/1.272, allocations: 2.505 MB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of Templates: time 0.07584/1.348, allocations: 17.83 MB / 1.091 GB, free: 141.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)