Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.586/2.586, allocations: 287.5 MB / 302.4 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001383, allocations: 181.3 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 93.27 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006591/0.0006594, allocations: 16.38 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2377, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005976/0.2438, allocations: 3.776 MB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8987/1.142, allocations: 136.6 MB / 1.115 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/1.144, allocations: 14.09 kB / 1.115 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006516/1.144, allocations: 135 kB / 1.116 GB, free: 1.48 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.002054/1.146, allocations: 354.5 kB / 1.116 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/1.15, allocations: 0.6749 MB / 1.117 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00265/1.152, allocations: 1.143 MB / 1.118 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/1.154, allocations: 0.5378 MB / 1.118 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/1.155, allocations: 356.2 kB / 1.119 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008911/1.156, allocations: 407.9 kB / 1.119 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/1.156, allocations: 30 kB / 1.119 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/1.157, allocations: 298.6 kB / 1.119 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003229/1.158, allocations: 195.5 kB / 1.119 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000409/1.158, allocations: 205 kB / 1.12 GB, free: 16.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/1.161, allocations: 1.18 MB / 1.121 GB, free: 16.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.398e-05/1.161, allocations: 3.312 kB / 1.121 GB, free: 16.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.466e-06/1.161, allocations: 5.906 kB / 1.121 GB, free: 16.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.657e-05/1.161, allocations: 1.656 kB / 1.121 GB, free: 16.63 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.004413/1.165, allocations: 1.285 MB / 1.122 GB, free: 15.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.166, allocations: 19.61 kB / 1.122 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008875/1.174, allocations: 0.7833 MB / 1.123 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/1.177, allocations: 0.7405 MB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.055e-05/1.177, allocations: 74.28 kB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/1.177, allocations: 101.6 kB / 1.124 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005113/1.182, allocations: 1.348 MB / 1.125 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/1.182, allocations: 3.312 kB / 1.125 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/1.182, allocations: 45.27 kB / 1.125 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/1.183, allocations: 24.62 kB / 1.125 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007862/1.19, allocations: 1.837 MB / 1.127 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009701/1.2, allocations: 3.154 MB / 1.13 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005884/1.206, allocations: 1.209 MB / 1.131 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/1.209, allocations: 0.5526 MB / 1.132 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.21, allocations: 482 kB / 1.132 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003293/1.213, allocations: 0.7148 MB / 1.133 GB, free: 13.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 5.761e-06/1.213, allocations: 5.969 kB / 1.133 GB, free: 13.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.01078/1.224, allocations: 1.806 MB / 1.135 GB, free: 13.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.224, allocations: 190.8 kB / 1.135 GB, free: 12.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/1.226, allocations: 0.59 MB / 1.135 GB, free: 12.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004136/1.226, allocations: 47.92 kB / 1.135 GB, free: 12.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/1.227, allocations: 410.6 kB / 1.136 GB, free: 12.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006127/1.227, allocations: 327.2 kB / 1.136 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.227, allocations: 19.84 kB / 1.136 GB, free: 12.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002912/1.228, allocations: 384.1 kB / 1.137 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/1.23, allocations: 469.7 kB / 1.137 GB, free: 11.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/1.233, allocations: 0.5652 MB / 1.138 GB, free: 11.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/1.236, allocations: 498.8 kB / 1.138 GB, free: 11.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/1.236, allocations: 1.469 kB / 1.138 GB, free: 11.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00727/1.244, allocations: 1.266 MB / 1.139 GB, free: 11.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/1.244, allocations: 8.344 kB / 1.139 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.244, allocations: 5.266 kB / 1.139 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009917/1.245, allocations: 86.67 kB / 1.139 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/1.248, allocations: 253.5 kB / 1.14 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/1.251, allocations: 1.524 MB / 1.141 GB, free: 9.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/1.253, allocations: 144.6 kB / 1.141 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/1.254, allocations: 45.66 kB / 1.141 GB, free: 9.742 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.001006/1.255, allocations: 280.2 kB / 1.142 GB, free: 9.602 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003716/1.255, allocations: 82.25 kB / 1.142 GB, free: 9.559 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00843/1.264, allocations: 1.57 MB / 1.143 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/1.264, allocations: 15.69 kB / 1.143 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.264, allocations: 0 / 1.143 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.644e-05/1.264, allocations: 5.109 kB / 1.143 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/1.266, allocations: 1.084 MB / 1.144 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.266, allocations: 0 / 1.144 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/1.269, allocations: 244 kB / 1.144 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009693/1.27, allocations: 83.38 kB / 1.145 GB, free: 8.508 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002911/1.27, allocations: 29.69 kB / 1.145 GB, free: 8.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/1.273, allocations: 1.544 MB / 1.146 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.273, allocations: 5.203 kB / 1.146 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007272/1.281, allocations: 1.334 MB / 1.147 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.282, allocations: 315.8 kB / 1.148 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/1.282, allocations: 19.09 kB / 1.148 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/1.285, allocations: 118.6 kB / 1.148 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/1.285, allocations: 73.11 kB / 1.148 GB, free: 6.504 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.285, allocations: 44.03 kB / 1.148 GB, free: 6.496 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009904/1.286, allocations: 423.5 kB / 1.148 GB, free: 6.348 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.286, allocations: 0 / 1.148 GB, free: 6.348 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001902/1.288, allocations: 346.8 kB / 1.149 GB, free: 6.281 MB / 0.698 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 (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002011/1.29, allocations: 0.5852 MB / 1.149 GB, free: 6.027 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006513/1.297, allocations: 1.279 MB / 1.15 GB, free: 5.691 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.297, allocations: 0 / 1.15 GB, free: 5.691 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/1.3, allocations: 0.7653 MB / 1.151 GB, free: 5.449 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/1.302, allocations: 250.2 kB / 1.151 GB, free: 5.383 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009143/1.312, allocations: 2.513 MB / 1.154 GB, free: 4.055 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008782/1.313, allocations: 1.057 MB / 1.155 GB, free: 3.211 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002704/1.315, allocations: 323.6 kB / 1.155 GB, free: 3.031 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006955/1.316, allocations: 121 kB / 1.155 GB, free: 3 MB / 0.698 GB Notification: Performance of SimCode: time 1.442e-06/1.316, allocations: 0 / 1.155 GB, free: 3 MB / 0.698 GB Notification: Performance of Templates: time 0.04417/1.36, allocations: 15.12 MB / 1.17 GB, free: 11.44 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)