Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.836/1.836, allocations: 288.4 MB / 303.3 MB, free: 8.105 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.001042/0.001042, allocations: 184.4 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0008401/0.0008403, allocations: 94.3 kB / 0.744 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004247, allocations: 11.41 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2776, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004733/0.2824, allocations: 3.776 MB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8099/1.092, allocations: 136.6 MB / 1.117 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009653/1.093, allocations: 15.28 kB / 1.117 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005883/1.094, allocations: 135.3 kB / 1.117 GB, free: 1.809 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001577/1.096, allocations: 346 kB / 1.117 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/1.098, allocations: 0.6746 MB / 1.118 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002127/1.1, allocations: 1.149 MB / 1.119 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/1.101, allocations: 0.5383 MB / 1.119 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/1.102, allocations: 362.6 kB / 1.12 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/1.103, allocations: 408.4 kB / 1.12 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/1.103, allocations: 30 kB / 1.12 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/1.104, allocations: 296 kB / 1.121 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/1.105, allocations: 200.6 kB / 1.121 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004185/1.105, allocations: 198.5 kB / 1.121 GB, free: 17.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/1.107, allocations: 1.184 MB / 1.122 GB, free: 16.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/1.107, allocations: 0 / 1.122 GB, free: 16.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/1.107, allocations: 1.344 kB / 1.122 GB, free: 16.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.997e-05/1.107, allocations: 0 / 1.122 GB, free: 16.96 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.003033/1.11, allocations: 1.298 MB / 1.123 GB, free: 16.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.11, allocations: 17.36 kB / 1.123 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002621/1.11, allocations: 153.6 kB / 1.124 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005387/1.116, allocations: 0.7845 MB / 1.124 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/1.118, allocations: 0.7422 MB / 1.125 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/1.118, allocations: 75.83 kB / 1.125 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/1.118, allocations: 97.41 kB / 1.125 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/1.121, allocations: 1.348 MB / 1.126 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/1.121, allocations: 1 kB / 1.126 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/1.122, allocations: 45 kB / 1.127 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/1.122, allocations: 27.36 kB / 1.127 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00452/1.126, allocations: 1.832 MB / 1.128 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006805/1.133, allocations: 3.163 MB / 1.131 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/1.136, allocations: 1.224 MB / 1.133 GB, free: 14.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/1.137, allocations: 0.5538 MB / 1.133 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007407/1.138, allocations: 478.3 kB / 1.134 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001796/1.14, allocations: 0.7184 MB / 1.134 GB, free: 13.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 3.767e-06/1.14, allocations: 0 / 1.134 GB, free: 13.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.006207/1.146, allocations: 1.808 MB / 1.136 GB, free: 12.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.146, allocations: 194.6 kB / 1.136 GB, free: 12.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/1.147, allocations: 0.5834 MB / 1.137 GB, free: 12.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/1.148, allocations: 44.42 kB / 1.137 GB, free: 12.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/1.148, allocations: 418.8 kB / 1.137 GB, free: 11.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000423/1.149, allocations: 324.7 kB / 1.138 GB, free: 11.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/1.149, allocations: 14.03 kB / 1.138 GB, free: 11.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002155/1.149, allocations: 388.5 kB / 1.138 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/1.15, allocations: 446.4 kB / 1.138 GB, free: 11.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/1.152, allocations: 0.5615 MB / 1.139 GB, free: 11.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/1.153, allocations: 482.8 kB / 1.139 GB, free: 11.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.153, allocations: 7.984 kB / 1.139 GB, free: 11.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003972/1.157, allocations: 1.22 MB / 1.141 GB, free: 10.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.157, allocations: 14.36 kB / 1.141 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.157, allocations: 1.594 kB / 1.141 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/1.158, allocations: 85.17 kB / 1.141 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/1.159, allocations: 235.6 kB / 1.141 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/1.162, allocations: 1.517 MB / 1.142 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/1.163, allocations: 153.8 kB / 1.143 GB, free: 9.242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.163, allocations: 42.94 kB / 1.143 GB, free: 9.23 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.0007049/1.164, allocations: 266.1 kB / 1.143 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/1.164, allocations: 87.64 kB / 1.143 GB, free: 9.051 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/1.169, allocations: 1.566 MB / 1.144 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.169, allocations: 11.19 kB / 1.144 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/1.169, allocations: 3.062 kB / 1.144 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/1.169, allocations: 7.969 kB / 1.144 GB, free: 8.594 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/1.171, allocations: 1.081 MB / 1.146 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.171, allocations: 0 / 1.146 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/1.172, allocations: 244.6 kB / 1.146 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005928/1.173, allocations: 97.06 kB / 1.146 GB, free: 8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.694e-05/1.173, allocations: 30.62 kB / 1.146 GB, free: 7.992 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/1.175, allocations: 1.536 MB / 1.147 GB, free: 6.625 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.175, allocations: 0 / 1.147 GB, free: 6.625 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/1.179, allocations: 1.334 MB / 1.149 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/1.18, allocations: 306.8 kB / 1.149 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.18, allocations: 30.28 kB / 1.149 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.181, allocations: 115.8 kB / 1.149 GB, free: 6.035 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.181, allocations: 72.52 kB / 1.149 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.182, allocations: 43.28 kB / 1.149 GB, free: 6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006876/1.182, allocations: 431.5 kB / 1.15 GB, free: 5.848 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.182, allocations: 1.375 kB / 1.15 GB, free: 5.848 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001273/1.184, allocations: 330.4 kB / 1.15 GB, free: 5.785 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.005464/1.189, allocations: 2.364 MB / 1.152 GB, free: 4.727 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003751/1.193, allocations: 1.241 MB / 1.153 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.193, allocations: 1.344 kB / 1.153 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.195, allocations: 0.7655 MB / 1.154 GB, free: 4.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.196, allocations: 261.1 kB / 1.154 GB, free: 4.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.211, allocations: 5.97 MB / 1.16 GB, free: 1.652 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/1.212, allocations: 1.052 MB / 1.161 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001714/1.213, allocations: 333 kB / 1.162 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007073/1.214, allocations: 414.2 kB / 1.162 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of SimCode: time 1.724e-06/1.214, allocations: 4 kB / 1.162 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05417/1.268, allocations: 22.84 MB / 1.184 GB, free: 488 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002984/1.269, allocations: 314.7 kB / 1.185 GB, free: 120 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/4.2, allocations: 0 / 1.185 GB, free: 120 kB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)