Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.781/1.781, allocations: 288.4 MB / 303.3 MB, free: 8.109 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.001177/0.001177, allocations: 168.5 kB / 371.9 MB, free: 10.26 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.704/1.704, allocations: 205.4 MB / 0.6307 GB, free: 9.941 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.0007907/0.0007906, allocations: 90.98 kB / 0.744 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004489, allocations: 18.8 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004237/0.2575, allocations: 3.604 MB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6935/0.951, allocations: 136.5 MB / 1.116 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.9523, allocations: 15.28 kB / 1.116 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.9533, allocations: 131.3 kB / 1.117 GB, free: 2.188 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.002583/0.956, allocations: 357.6 kB / 1.117 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.9589, allocations: 0.6021 MB / 1.118 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.9606, allocations: 1.023 MB / 1.119 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.9617, allocations: 0.5104 MB / 1.119 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008406/0.9625, allocations: 300.9 kB / 1.119 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007022/0.9632, allocations: 323.5 kB / 1.12 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.9635, allocations: 20.84 kB / 1.12 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.9646, allocations: 290.4 kB / 1.12 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.9649, allocations: 173 kB / 1.12 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.9653, allocations: 186.2 kB / 1.12 GB, free: 17.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.9671, allocations: 1.088 MB / 1.121 GB, free: 17.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.9672, allocations: 0 / 1.121 GB, free: 17.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9672, allocations: 0.875 kB / 1.121 GB, free: 17.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.48e-05/0.9673, allocations: 0 / 1.121 GB, free: 17.39 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.002998/0.9703, allocations: 1.155 MB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.9703, allocations: 11.73 kB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002251/0.9705, allocations: 148.7 kB / 1.123 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.9717, allocations: 210.5 kB / 1.123 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.9728, allocations: 0.6969 MB / 1.123 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.9729, allocations: 67.91 kB / 1.124 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.973, allocations: 80.03 kB / 1.124 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.9748, allocations: 0.9352 MB / 1.125 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.9749, allocations: 5.344 kB / 1.125 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/0.975, allocations: 40.61 kB / 1.125 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.975, allocations: 25.34 kB / 1.125 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.9769, allocations: 1.111 MB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.9813, allocations: 2.554 MB / 1.128 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.9828, allocations: 0.7449 MB / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007699/0.9836, allocations: 285.5 kB / 1.129 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009564/0.9846, allocations: 475.4 kB / 1.13 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009757/0.9856, allocations: 437.7 kB / 1.13 GB, free: 14.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.487e-06/0.9856, allocations: 4 kB / 1.13 GB, free: 14.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003337/0.989, allocations: 1.113 MB / 1.131 GB, free: 14.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.9891, allocations: 192.5 kB / 1.131 GB, free: 14.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/0.99, allocations: 0.5786 MB / 1.132 GB, free: 14.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.933e-05/0.9901, allocations: 47.33 kB / 1.132 GB, free: 14.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.9905, allocations: 401.7 kB / 1.132 GB, free: 13.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.9907, allocations: 240.1 kB / 1.133 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.9908, allocations: 13.16 kB / 1.133 GB, free: 13.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.991, allocations: 380.9 kB / 1.133 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.9914, allocations: 222.7 kB / 1.133 GB, free: 13.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.992, allocations: 332.7 kB / 1.133 GB, free: 13.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.9926, allocations: 281.2 kB / 1.134 GB, free: 13.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9926, allocations: 0 / 1.134 GB, free: 13.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001963/0.9946, allocations: 0.7441 MB / 1.134 GB, free: 13.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.9946, allocations: 7.188 kB / 1.134 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.9947, allocations: 3.375 kB / 1.134 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/0.9953, allocations: 85.8 kB / 1.135 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.9959, allocations: 143.6 kB / 1.135 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.9982, allocations: 1.512 MB / 1.136 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/0.999, allocations: 87.8 kB / 1.136 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/0.9991, allocations: 31.61 kB / 1.136 GB, free: 11.54 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.0005917/0.9997, allocations: 259.2 kB / 1.137 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.9999, allocations: 81.05 kB / 1.137 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/1.003, allocations: 1.03 MB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.003, allocations: 8.594 kB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/1.003, allocations: 1.188 kB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/1.003, allocations: 7.938 kB / 1.138 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/1.004, allocations: 0.8728 MB / 1.138 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.004, allocations: 0 / 1.138 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/1.005, allocations: 147.9 kB / 1.139 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005481/1.005, allocations: 89.11 kB / 1.139 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/1.006, allocations: 27.98 kB / 1.139 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/1.008, allocations: 1.544 MB / 1.14 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.008, allocations: 0 / 1.14 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/1.011, allocations: 0.8606 MB / 1.141 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.012, allocations: 268.6 kB / 1.141 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/1.013, allocations: 21.55 kB / 1.141 GB, free: 8.738 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008857/1.013, allocations: 66.55 kB / 1.141 GB, free: 8.723 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/1.014, allocations: 61 kB / 1.141 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.014, allocations: 31.33 kB / 1.141 GB, free: 8.695 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001067/1.015, allocations: 427 kB / 1.142 GB, free: 8.547 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/1.015, allocations: 0 / 1.142 GB, free: 8.547 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001676/1.017, allocations: 291.7 kB / 1.142 GB, free: 8.484 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.005485/1.022, allocations: 1.883 MB / 1.144 GB, free: 7.523 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002644/1.025, allocations: 0.7387 MB / 1.145 GB, free: 7.297 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.025, allocations: 2.75 kB / 1.145 GB, free: 7.297 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/1.026, allocations: 0.4943 MB / 1.145 GB, free: 7.105 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/1.028, allocations: 252.5 kB / 1.145 GB, free: 7.027 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/1.046, allocations: 4.782 MB / 1.15 GB, free: 4.949 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.047, allocations: 1.017 MB / 1.151 GB, free: 4.117 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00182/1.049, allocations: 260.8 kB / 1.151 GB, free: 3.988 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008764/1.05, allocations: 372.1 kB / 1.152 GB, free: 3.938 MB / 0.698 GB Notification: Performance of SimCode: time 2.275e-06/1.05, allocations: 1.406 kB / 1.152 GB, free: 3.938 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06317/1.113, allocations: 20.08 MB / 1.171 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/1.114, allocations: 295.2 kB / 1.172 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.818/3.932, allocations: 0 / 1.172 GB, free: 9.926 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)