Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.462/1.462, allocations: 252 MB / 267 MB, free: 10.96 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.001024/0.001024, allocations: 174.8 kB / 326.6 MB, free: 2.215 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.128/2.128, allocations: 205.4 MB / 0.5777 GB, free: 20.19 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.0007951/0.0007951, allocations: 92.05 kB / 0.6823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 14.2 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2659, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005118/0.271, allocations: 3.611 MB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1729/0.444, allocations: 136.5 MB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007902/0.4449, allocations: 15.94 kB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.4454, allocations: 127 kB / 1.037 GB, free: 3.137 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.001338/0.4467, allocations: 354.8 kB / 1.038 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.4486, allocations: 0.603 MB / 1.038 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.4499, allocations: 1.016 MB / 1.039 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007986/0.4507, allocations: 0.518 MB / 1.04 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005189/0.4512, allocations: 306.5 kB / 1.04 GB, free: 356 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000473/0.4517, allocations: 326.2 kB / 1.04 GB, free: 28 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.211e-05/0.4518, allocations: 20 kB / 1.04 GB, free: 8 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007786/0.4526, allocations: 287.7 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.4528, allocations: 171.2 kB / 1.041 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.453, allocations: 185.1 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.4543, allocations: 1.087 MB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4543, allocations: 0 / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.777e-06/0.4544, allocations: 4 kB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.4544, allocations: 0 / 1.042 GB, free: 14.28 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002397/0.4568, allocations: 1.158 MB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.4568, allocations: 12.03 kB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.4571, allocations: 139.4 kB / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.4582, allocations: 214.5 kB / 1.043 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.4593, allocations: 0.6914 MB / 1.044 GB, free: 11.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-05/0.4595, allocations: 70 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.4596, allocations: 84 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.4614, allocations: 0.9301 MB / 1.045 GB, free: 10.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.4614, allocations: 0 / 1.045 GB, free: 10.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.4615, allocations: 36 kB / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.4616, allocations: 27.95 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.4635, allocations: 1.112 MB / 1.046 GB, free: 9.668 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004368/0.4679, allocations: 2.563 MB / 1.049 GB, free: 7.039 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.4694, allocations: 0.7472 MB / 1.05 GB, free: 6.285 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.4699, allocations: 294.6 kB / 1.05 GB, free: 5.996 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007032/0.4706, allocations: 471.4 kB / 1.05 GB, free: 5.445 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008996/0.4716, allocations: 435.3 kB / 1.051 GB, free: 5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.707e-06/0.4716, allocations: 0 / 1.051 GB, free: 5 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003166/0.4747, allocations: 1.127 MB / 1.052 GB, free: 3.848 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.4749, allocations: 188.6 kB / 1.052 GB, free: 3.617 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/0.4758, allocations: 0.5784 MB / 1.053 GB, free: 3.031 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.4758, allocations: 37.7 kB / 1.053 GB, free: 2.988 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.4762, allocations: 404 kB / 1.053 GB, free: 2.586 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.4765, allocations: 244.5 kB / 1.053 GB, free: 2.344 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.4766, allocations: 11.94 kB / 1.053 GB, free: 2.332 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.4768, allocations: 386.8 kB / 1.054 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.4773, allocations: 221.2 kB / 1.054 GB, free: 1.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.4779, allocations: 334.8 kB / 1.054 GB, free: 1.375 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.4785, allocations: 271.1 kB / 1.054 GB, free: 1.113 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4785, allocations: 0 / 1.054 GB, free: 1.113 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002001/0.4805, allocations: 0.747 MB / 1.055 GB, free: 364 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4805, allocations: 4 kB / 1.055 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4806, allocations: 96 / 1.055 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/0.4812, allocations: 84.77 kB / 1.055 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.4819, allocations: 151.8 kB / 1.055 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6365/1.118, allocations: 1.509 MB / 1.057 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009686/1.119, allocations: 85.23 kB / 1.057 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/1.119, allocations: 28.8 kB / 1.057 GB, free: 153.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0005577/1.12, allocations: 254.3 kB / 1.057 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/1.12, allocations: 81.42 kB / 1.057 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/1.123, allocations: 1.033 MB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/1.123, allocations: 8.438 kB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.123, allocations: 0 / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/1.123, allocations: 3.281 kB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/1.124, allocations: 0.8658 MB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.124, allocations: 4.281 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/1.124, allocations: 146.9 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005187/1.125, allocations: 87.86 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/1.125, allocations: 24.86 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/1.127, allocations: 1.54 MB / 1.061 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.127, allocations: 0 / 1.061 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/1.129, allocations: 0.8599 MB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/1.129, allocations: 272.4 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/1.129, allocations: 17.75 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/1.13, allocations: 69.2 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.13, allocations: 58.39 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.037e-05/1.13, allocations: 36.05 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006147/1.131, allocations: 426.1 kB / 1.063 GB, free: 151.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.131, allocations: 3.688 kB / 1.063 GB, free: 151.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009193/1.132, allocations: 287.5 kB / 1.063 GB, free: 151.1 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 (84): * Single equations (assignments): 81 * 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.003471/1.135, allocations: 1.884 MB / 1.065 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00174/1.137, allocations: 0.7417 MB / 1.065 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.137, allocations: 0 / 1.065 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008816/1.138, allocations: 0.494 MB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.139, allocations: 257.9 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/1.153, allocations: 4.773 MB / 1.071 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009983/1.154, allocations: 1.013 MB / 1.072 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001287/1.156, allocations: 257.5 kB / 1.072 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006267/1.156, allocations: 377.1 kB / 1.072 GB, free: 147.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.156, allocations: 0 / 1.072 GB, free: 147.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06097/1.217, allocations: 20.09 MB / 1.092 GB, free: 137.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/1.217, allocations: 299.3 kB / 1.092 GB, free: 136.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/4.252, allocations: 0 / 1.092 GB, free: 136.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)