Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001243/0.001243, allocations: 177.7 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0006851/0.0006852, allocations: 90.34 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 13.69 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1623, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.003686/0.166, allocations: 4.089 MB / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1328/0.2988, allocations: 148.1 MB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005625/0.2994, allocations: 19.88 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.2999, allocations: 134.9 kB / 1.045 GB, free: 11.25 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001028/0.3009, allocations: 367 kB / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3026, allocations: 0.7628 MB / 1.047 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.3037, allocations: 1.247 MB / 1.048 GB, free: 8.887 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008338/0.3045, allocations: 0.6618 MB / 1.048 GB, free: 8.199 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.305, allocations: 366.2 kB / 1.049 GB, free: 7.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.3055, allocations: 425.7 kB / 1.049 GB, free: 7.422 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9e-05/0.3056, allocations: 32 kB / 1.049 GB, free: 7.391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000657/0.3063, allocations: 319.7 kB / 1.05 GB, free: 7.078 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.3065, allocations: 207 kB / 1.05 GB, free: 6.875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.3069, allocations: 460.9 kB / 1.05 GB, free: 6.422 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.3082, allocations: 1.499 MB / 1.052 GB, free: 4.918 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3082, allocations: 4 kB / 1.052 GB, free: 4.914 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3082, allocations: 3.938 kB / 1.052 GB, free: 4.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.3083, allocations: 0 / 1.052 GB, free: 4.91 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.002198/0.3105, allocations: 1.274 MB / 1.053 GB, free: 3.586 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3105, allocations: 8.031 kB / 1.053 GB, free: 3.578 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004814/0.3153, allocations: 0.7913 MB / 1.054 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.3164, allocations: 0.7617 MB / 1.054 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.3165, allocations: 74.03 kB / 1.054 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.3166, allocations: 107.9 kB / 1.055 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.3195, allocations: 1.356 MB / 1.056 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.3195, allocations: 0 / 1.056 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3197, allocations: 40 kB / 1.056 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3197, allocations: 28 kB / 1.056 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3146/0.6343, allocations: 1.841 MB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005551/0.6399, allocations: 3.146 MB / 1.061 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.6428, allocations: 1.215 MB / 1.062 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.644, allocations: 0.5643 MB / 1.063 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.6446, allocations: 481.5 kB / 1.063 GB, free: 158.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.6464, allocations: 0.7247 MB / 1.064 GB, free: 158.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 3.065e-06/0.6464, allocations: 0 / 1.064 GB, free: 158.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.005445/0.6518, allocations: 1.819 MB / 1.066 GB, free: 158.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.6519, allocations: 196.1 kB / 1.066 GB, free: 158 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009209/0.6529, allocations: 0.5904 MB / 1.066 GB, free: 157.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.349e-05/0.653, allocations: 45.42 kB / 1.066 GB, free: 157.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.6532, allocations: 404.4 kB / 1.067 GB, free: 157.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.6535, allocations: 330.6 kB / 1.067 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.6536, allocations: 76.88 kB / 1.067 GB, free: 157.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.6537, allocations: 391.3 kB / 1.067 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.6551, allocations: 466.9 kB / 1.068 GB, free: 157.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.6565, allocations: 0.5653 MB / 1.068 GB, free: 157 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/0.6594, allocations: 1.011 MB / 1.069 GB, free: 156.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6594, allocations: 0.9062 kB / 1.069 GB, free: 156.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003663/0.6631, allocations: 1.28 MB / 1.071 GB, free: 156.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6631, allocations: 5.938 kB / 1.071 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.6631, allocations: 4.844 kB / 1.071 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005833/0.6637, allocations: 81.12 kB / 1.071 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.665, allocations: 252.1 kB / 1.071 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.6667, allocations: 1.524 MB / 1.073 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.6678, allocations: 143.8 kB / 1.073 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.697e-05/0.6679, allocations: 49.95 kB / 1.073 GB, free: 155 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 (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 (111): * Single equations (assignments): 110 * 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.0004482/0.6683, allocations: 284.5 kB / 1.073 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.6685, allocations: 83.14 kB / 1.073 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/0.6727, allocations: 1.561 MB / 1.075 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.6728, allocations: 9.531 kB / 1.075 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6728, allocations: 1.031 kB / 1.075 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.6731, allocations: 294 kB / 1.075 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.6733, allocations: 24.58 kB / 1.075 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009894/0.6743, allocations: 123.2 kB / 1.075 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.6745, allocations: 75.5 kB / 1.075 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003686/0.6782, allocations: 1.434 MB / 1.076 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004125/0.6823, allocations: 2.086 MB / 1.079 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001268/0.6836, allocations: 0.5914 MB / 1.079 GB, free: 151.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004984/0.6841, allocations: 432.3 kB / 1.08 GB, free: 151.7 MB / 0.698 GB Notification: Performance of Backend: time 3.71e-07/0.6841, allocations: 0 / 1.08 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004032/0.6881, allocations: 1.432 MB / 1.081 GB, free: 151 MB / 0.698 GB Notification: Performance of SimCode: time 0.003289/0.6914, allocations: 2.577 MB / 1.083 GB, free: 149 MB / 0.698 GB Notification: Performance of Templates: time 0.02485/0.7163, allocations: 18.28 MB / 1.101 GB, free: 132.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)