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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 252 MB / 267 MB, free: 10.93 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.001134/0.001134, allocations: 193.1 kB / 326.6 MB, free: 2.188 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.189/2.189, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0008131/0.0008133, allocations: 91.19 kB / 0.6822 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003671, allocations: 10.03 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.27, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004442/0.2746, allocations: 3.779 MB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1643/0.4389, allocations: 136.6 MB / 1.037 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008886/0.4398, allocations: 19.88 kB / 1.037 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.4404, allocations: 134.9 kB / 1.038 GB, free: 2.832 MB / 0.6823 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.001463/0.4419, allocations: 361.6 kB / 1.038 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.4441, allocations: 0.6625 MB / 1.039 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.4455, allocations: 1.145 MB / 1.04 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008404/0.4463, allocations: 0.5496 MB / 1.04 GB, free: 104 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006104/0.4469, allocations: 354.5 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.4475, allocations: 409.9 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.4476, allocations: 28 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007822/0.4484, allocations: 295.7 kB / 1.041 GB, free: 15.03 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.4486, allocations: 199.1 kB / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.4488, allocations: 204.9 kB / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.4499, allocations: 1.189 MB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.45, allocations: 4 kB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/0.45, allocations: 0 / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.45, allocations: 3.938 kB / 1.043 GB, free: 13.43 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.002509/0.4525, allocations: 1.287 MB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4526, allocations: 8.031 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.4528, allocations: 156.4 kB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005076/0.4578, allocations: 0.7905 MB / 1.045 GB, free: 11.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.4592, allocations: 0.7342 MB / 1.046 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.4593, allocations: 78.03 kB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.4594, allocations: 96 kB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/0.4625, allocations: 1.348 MB / 1.047 GB, free: 8.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.4626, allocations: 3.953 kB / 1.047 GB, free: 8.766 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.4627, allocations: 44 kB / 1.047 GB, free: 8.723 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.4627, allocations: 24 kB / 1.047 GB, free: 8.699 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0044/0.4671, allocations: 1.834 MB / 1.049 GB, free: 6.863 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006607/0.4737, allocations: 3.158 MB / 1.052 GB, free: 3.641 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/0.4771, allocations: 1.209 MB / 1.053 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.4785, allocations: 0.5503 MB / 1.054 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007676/0.4793, allocations: 482.6 kB / 1.054 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001744/0.481, allocations: 0.7191 MB / 1.055 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 4.268e-06/0.481, allocations: 0 / 1.055 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.5607/1.042, allocations: 1.807 MB / 1.057 GB, free: 154.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/1.042, allocations: 197.6 kB / 1.057 GB, free: 154.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/1.043, allocations: 0.5802 MB / 1.058 GB, free: 154.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.41e-05/1.043, allocations: 45.17 kB / 1.058 GB, free: 154.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/1.043, allocations: 418.6 kB / 1.058 GB, free: 154 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/1.043, allocations: 329.1 kB / 1.058 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/1.043, allocations: 15.62 kB / 1.058 GB, free: 153.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.043, allocations: 385.2 kB / 1.059 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/1.045, allocations: 443.8 kB / 1.059 GB, free: 153.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/1.046, allocations: 0.5594 MB / 1.06 GB, free: 153.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.047, allocations: 492.4 kB / 1.06 GB, free: 153.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.047, allocations: 0 / 1.06 GB, free: 153.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003396/1.051, allocations: 1.224 MB / 1.061 GB, free: 153.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.051, allocations: 6.219 kB / 1.061 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.051, allocations: 0 / 1.061 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/1.051, allocations: 86.28 kB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.052, allocations: 242.7 kB / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/1.054, allocations: 1.517 MB / 1.063 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.055, allocations: 146.3 kB / 1.063 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/1.056, allocations: 41.75 kB / 1.063 GB, free: 151.9 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0006302/1.056, allocations: 270.9 kB / 1.064 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/1.056, allocations: 86.66 kB / 1.064 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004446/1.061, allocations: 1.567 MB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.061, allocations: 11.66 kB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.061, allocations: 4.062 kB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/1.061, allocations: 6.344 kB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/1.063, allocations: 1.092 MB / 1.066 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.063, allocations: 0.6562 kB / 1.066 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/1.064, allocations: 242.6 kB / 1.066 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000552/1.065, allocations: 88.12 kB / 1.067 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.423e-05/1.065, allocations: 33 kB / 1.067 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/1.066, allocations: 1.542 MB / 1.068 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.066, allocations: 1.359 kB / 1.068 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/1.071, allocations: 1.333 MB / 1.069 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/1.071, allocations: 308.6 kB / 1.07 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.071, allocations: 20.52 kB / 1.07 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.072, allocations: 123.1 kB / 1.07 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/1.073, allocations: 75.94 kB / 1.07 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.073, allocations: 42.23 kB / 1.07 GB, free: 149.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007442/1.074, allocations: 426.6 kB / 1.07 GB, free: 149.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.22e-07/1.074, allocations: 4.844 kB / 1.07 GB, free: 149.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001211/1.075, allocations: 336.5 kB / 1.071 GB, free: 149.5 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.005662/1.08, allocations: 2.364 MB / 1.073 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003752/1.084, allocations: 1.248 MB / 1.074 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.084, allocations: 0 / 1.074 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00205/1.086, allocations: 0.759 MB / 1.075 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/1.088, allocations: 251.4 kB / 1.075 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/1.103, allocations: 5.971 MB / 1.081 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/1.104, allocations: 1.051 MB / 1.082 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001559/1.105, allocations: 329 kB / 1.082 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/1.106, allocations: 418.5 kB / 1.083 GB, free: 145.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.804e-06/1.106, allocations: 0 / 1.083 GB, free: 145.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04224/1.148, allocations: 22.83 MB / 1.105 GB, free: 126 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.148, allocations: 326.3 kB / 1.105 GB, free: 125.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.902/4.05, allocations: 0 / 1.105 GB, free: 125.6 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)