Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.488/1.488, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 174.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001102/0.001102, allocations: 84.05 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.743e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2629, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.668/6.931, allocations: 2.19 GB / 3.082 GB, free: 194 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/6.932, allocations: 87.95 kB / 3.082 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1313/7.063, allocations: 63.45 MB / 3.144 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.324e-06/7.063, allocations: 0 / 3.144 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.711e-05/7.063, allocations: 27.94 kB / 3.144 GB, free: 130.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001651/7.065, allocations: 1.079 MB / 3.145 GB, free: 129 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/7.065, allocations: 8.031 kB / 3.145 GB, free: 129 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/7.065, allocations: 139.5 kB / 3.146 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/7.067, allocations: 270.4 kB / 3.146 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/7.068, allocations: 0.6269 MB / 3.146 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.278e-05/7.068, allocations: 62 kB / 3.147 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/7.068, allocations: 84 kB / 3.147 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/7.07, allocations: 0.9145 MB / 3.147 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/7.071, allocations: 0 / 3.147 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/7.071, allocations: 43.95 kB / 3.148 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/7.071, allocations: 20 kB / 3.148 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/7.073, allocations: 1.081 MB / 3.149 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00556/7.078, allocations: 2.589 MB / 3.151 GB, free: 123 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/7.081, allocations: 0.7829 MB / 3.152 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/7.082, allocations: 267.2 kB / 3.152 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/7.082, allocations: 36.8 kB / 3.152 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008902/7.083, allocations: 441.3 kB / 3.153 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 4.157e-06/7.083, allocations: 0 / 3.153 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.002357/7.085, allocations: 0.7071 MB / 3.153 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/7.085, allocations: 248 kB / 3.154 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/7.086, allocations: 0.5698 MB / 3.154 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-05/7.086, allocations: 41.7 kB / 3.154 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/7.087, allocations: 396.1 kB / 3.155 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/7.087, allocations: 252.3 kB / 3.155 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/7.087, allocations: 16 kB / 3.155 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001342/7.087, allocations: 374.8 kB / 3.155 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/7.088, allocations: 209.5 kB / 3.155 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/7.088, allocations: 321.1 kB / 3.156 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/7.089, allocations: 258 kB / 3.156 GB, free: 118 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/7.089, allocations: 4 kB / 3.156 GB, free: 118 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002168/7.091, allocations: 0.7071 MB / 3.157 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/7.091, allocations: 4 kB / 3.157 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/7.091, allocations: 4.062 kB / 3.157 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/7.092, allocations: 84.77 kB / 3.157 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008943/7.093, allocations: 151.8 kB / 3.157 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/7.095, allocations: 1.517 MB / 3.158 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/7.096, allocations: 87.39 kB / 3.158 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/7.096, allocations: 31.98 kB / 3.158 GB, free: 115.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * 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.0002486/7.097, allocations: 144.9 kB / 3.159 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/7.097, allocations: 75.14 kB / 3.159 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/7.1, allocations: 1.005 MB / 3.16 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/7.1, allocations: 8 kB / 3.16 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/7.1, allocations: 3.953 kB / 3.16 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/7.1, allocations: 7.969 kB / 3.16 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/7.101, allocations: 0.8955 MB / 3.16 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/7.101, allocations: 0 / 3.16 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009798/7.102, allocations: 163.8 kB / 3.161 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006473/7.103, allocations: 84.72 kB / 3.161 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/7.103, allocations: 23.98 kB / 3.161 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/7.105, allocations: 1.552 MB / 3.162 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/7.105, allocations: 3.938 kB / 3.162 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/7.107, allocations: 0.8246 MB / 3.163 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005607/7.108, allocations: 283.7 kB / 3.163 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/7.108, allocations: 19.94 kB / 3.163 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008393/7.109, allocations: 79.94 kB / 3.163 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/7.109, allocations: 56.69 kB / 3.163 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.883e-05/7.109, allocations: 31.98 kB / 3.164 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008036/7.11, allocations: 475.1 kB / 3.164 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/7.11, allocations: 0 / 3.164 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001482/7.112, allocations: 343.2 kB / 3.164 GB, free: 108.9 MB / 0.8698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.004602/7.116, allocations: 2.264 MB / 3.167 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001737/7.118, allocations: 0.7098 MB / 3.167 GB, free: 106 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/7.118, allocations: 0 / 3.167 GB, free: 106 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009824/7.119, allocations: 479 kB / 3.168 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/7.121, allocations: 236.8 kB / 3.168 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/7.126, allocations: 1.591 MB / 3.169 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/7.127, allocations: 1.031 MB / 3.17 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008972/7.127, allocations: 270 kB / 3.171 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/7.128, allocations: 367.3 kB / 3.171 GB, free: 102 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/7.128, allocations: 0 / 3.171 GB, free: 102 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07292/7.201, allocations: 31.09 MB / 3.201 GB, free: 71.17 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/7.201, allocations: 277.2 kB / 3.202 GB, free: 70.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/10.09, allocations: 0 / 3.202 GB, free: 70.82 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)