Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.802/1.802, allocations: 288.2 MB / 303.2 MB, free: 8.117 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.001448/0.001448, allocations: 187.8 kB / 371.8 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.863/1.863, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001437/0.001437, allocations: 98.34 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004803, allocations: 11.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2651, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004142/0.2693, allocations: 3.515 MB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7711/1.04, allocations: 127.2 MB / 1.107 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009999/1.042, allocations: 17.88 kB / 1.107 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004433/1.042, allocations: 70.62 kB / 1.107 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/1.044, allocations: 418.9 kB / 1.108 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/1.046, allocations: 0.6016 MB / 1.108 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001281/1.047, allocations: 0.7393 MB / 1.109 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008436/1.048, allocations: 0.5046 MB / 1.109 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006281/1.048, allocations: 306.4 kB / 1.11 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/1.049, allocations: 303.8 kB / 1.11 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.563e-05/1.049, allocations: 20.62 kB / 1.11 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008318/1.05, allocations: 250.6 kB / 1.11 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/1.05, allocations: 166.8 kB / 1.11 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/1.05, allocations: 186 kB / 1.111 GB, free: 17.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/1.052, allocations: 1.074 MB / 1.112 GB, free: 17.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.052, allocations: 1.375 kB / 1.112 GB, free: 17.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/1.052, allocations: 7.938 kB / 1.112 GB, free: 17.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.069e-05/1.052, allocations: 0 / 1.112 GB, free: 17.73 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002445/1.054, allocations: 1.151 MB / 1.113 GB, free: 17.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.055, allocations: 9.469 kB / 1.113 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002113/1.055, allocations: 143.9 kB / 1.113 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/1.056, allocations: 271.8 kB / 1.113 GB, free: 16.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/1.057, allocations: 0.7027 MB / 1.114 GB, free: 16.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/1.057, allocations: 63.19 kB / 1.114 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.058, allocations: 82.91 kB / 1.114 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/1.059, allocations: 0.9558 MB / 1.115 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/1.06, allocations: 5.656 kB / 1.115 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/1.06, allocations: 41.52 kB / 1.115 GB, free: 16.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/1.06, allocations: 25.28 kB / 1.115 GB, free: 16.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/1.062, allocations: 1.173 MB / 1.116 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004611/1.066, allocations: 2.597 MB / 1.119 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/1.069, allocations: 0.8789 MB / 1.12 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.945e-05/1.069, allocations: 33.75 kB / 1.12 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/1.07, allocations: 472.4 kB / 1.12 GB, free: 15.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.156e-06/1.07, allocations: 4 kB / 1.12 GB, free: 15.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.003316/1.074, allocations: 1.197 MB / 1.121 GB, free: 15.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.074, allocations: 195.3 kB / 1.121 GB, free: 14.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/1.074, allocations: 0.5744 MB / 1.122 GB, free: 14.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/1.075, allocations: 40.14 kB / 1.122 GB, free: 14.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/1.075, allocations: 396.6 kB / 1.122 GB, free: 14.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/1.075, allocations: 245.8 kB / 1.123 GB, free: 14.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/1.075, allocations: 10.97 kB / 1.123 GB, free: 14.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001957/1.075, allocations: 376.6 kB / 1.123 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005807/1.076, allocations: 258.9 kB / 1.123 GB, free: 14.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/1.077, allocations: 361.8 kB / 1.124 GB, free: 14.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/1.077, allocations: 300.3 kB / 1.124 GB, free: 14.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.077, allocations: 1.859 kB / 1.124 GB, free: 14.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001918/1.079, allocations: 0.8008 MB / 1.125 GB, free: 13.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.079, allocations: 7.438 kB / 1.125 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.079, allocations: 0 / 1.125 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/1.08, allocations: 87.92 kB / 1.125 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/1.081, allocations: 156.8 kB / 1.125 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/1.083, allocations: 1.537 MB / 1.126 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/1.083, allocations: 89.14 kB / 1.126 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/1.083, allocations: 31.58 kB / 1.126 GB, free: 12.43 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 (77): * Single equations (assignments): 76 * 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.0005788/1.084, allocations: 259.2 kB / 1.127 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/1.084, allocations: 77.5 kB / 1.127 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/1.087, allocations: 1.094 MB / 1.128 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.087, allocations: 6 kB / 1.128 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.087, allocations: 3.953 kB / 1.128 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/1.087, allocations: 11.16 kB / 1.128 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/1.088, allocations: 0.8795 MB / 1.129 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.088, allocations: 0 / 1.129 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/1.089, allocations: 164.9 kB / 1.129 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004904/1.089, allocations: 88.47 kB / 1.129 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-05/1.089, allocations: 24.52 kB / 1.129 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/1.091, allocations: 1.554 MB / 1.131 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.091, allocations: 0 / 1.131 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/1.093, allocations: 0.9184 MB / 1.131 GB, free: 9.789 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/1.094, allocations: 274.3 kB / 1.132 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/1.094, allocations: 19.97 kB / 1.132 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/1.095, allocations: 82.56 kB / 1.132 GB, free: 9.574 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.095, allocations: 63.94 kB / 1.132 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.522e-05/1.095, allocations: 27.02 kB / 1.132 GB, free: 9.547 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008203/1.096, allocations: 431.2 kB / 1.132 GB, free: 9.391 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.096, allocations: 3.328 kB / 1.132 GB, free: 9.391 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001197/1.097, allocations: 272.2 kB / 1.133 GB, free: 9.336 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 (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.004293/1.102, allocations: 1.921 MB / 1.134 GB, free: 8.375 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00215/1.104, allocations: 0.7987 MB / 1.135 GB, free: 8.137 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.104, allocations: 1.125 kB / 1.135 GB, free: 8.137 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/1.105, allocations: 0.5263 MB / 1.136 GB, free: 7.941 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/1.106, allocations: 239.3 kB / 1.136 GB, free: 7.867 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/1.12, allocations: 5.3 MB / 1.141 GB, free: 5.309 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.121, allocations: 1.035 MB / 1.142 GB, free: 4.457 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001402/1.122, allocations: 261.1 kB / 1.142 GB, free: 4.328 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/1.123, allocations: 372.5 kB / 1.143 GB, free: 4.277 MB / 0.698 GB Notification: Performance of SimCode: time 1.413e-06/1.123, allocations: 5.594 kB / 1.143 GB, free: 4.273 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/1.173, allocations: 19.98 MB / 1.162 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/1.173, allocations: 307.1 kB / 1.163 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.911, allocations: 0 / 1.163 GB, free: 10.28 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)