Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008612/0.0008612, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004849/0.004849, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.371/2.371, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 11 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2285, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004642/0.2332, allocations: 4.747 MB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1275/0.3607, allocations: 146.8 MB / 1.207 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006205/0.3614, allocations: 15.88 kB / 1.207 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.3619, allocations: 154.8 kB / 1.207 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.3633, allocations: 496.1 kB / 1.207 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.3648, allocations: 0.7402 MB / 1.208 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001278/0.3661, allocations: 1.358 MB / 1.209 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008142/0.3669, allocations: 0.6369 MB / 1.21 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.3674, allocations: 370.2 kB / 1.21 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004435/0.3679, allocations: 414.8 kB / 1.211 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.368, allocations: 28 kB / 1.211 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006048/0.3686, allocations: 371.6 kB / 1.211 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.3688, allocations: 195.1 kB / 1.211 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.3691, allocations: 0.4986 MB / 1.212 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.3704, allocations: 1.6 MB / 1.213 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3704, allocations: 4 kB / 1.213 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3704, allocations: 0 / 1.213 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.3704, allocations: 0 / 1.213 GB, free: 5.906 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001984/0.3724, allocations: 1.278 MB / 1.215 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3724, allocations: 12.03 kB / 1.215 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.3726, allocations: 152.3 kB / 1.215 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.3741, allocations: 315.1 kB / 1.215 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/0.375, allocations: 0.7692 MB / 1.216 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.3751, allocations: 78 kB / 1.216 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3752, allocations: 96 kB / 1.216 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.3769, allocations: 1.066 MB / 1.217 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3769, allocations: 3.938 kB / 1.217 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.377, allocations: 51.98 kB / 1.217 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.3771, allocations: 24 kB / 1.217 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.3792, allocations: 1.268 MB / 1.218 GB, free: 0.6719 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003931/0.3831, allocations: 3.018 MB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.3855, allocations: 1.024 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/0.3863, allocations: 378.5 kB / 1.223 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.815e-05/0.3863, allocations: 38.47 kB / 1.223 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.3873, allocations: 0.555 MB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 1.814e-06/0.3874, allocations: 0 / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003539/0.3909, allocations: 1.403 MB / 1.225 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.391, allocations: 196.9 kB / 1.225 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006418/0.3916, allocations: 0.6333 MB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.3917, allocations: 45.7 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.392, allocations: 436.1 kB / 1.226 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.3922, allocations: 268 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.3923, allocations: 65.69 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3924, allocations: 386.8 kB / 1.227 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007005/0.3931, allocations: 313.8 kB / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/0.3939, allocations: 418.5 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.3953, allocations: 0.6945 MB / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3953, allocations: 0 / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002119/0.3974, allocations: 0.9346 MB / 1.229 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3975, allocations: 4 kB / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3975, allocations: 0 / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005356/0.398, allocations: 88.86 kB / 1.229 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.3988, allocations: 179.7 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.4005, allocations: 1.529 MB / 1.231 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007358/0.4012, allocations: 123.3 kB / 1.231 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.4013, allocations: 31.92 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003316/0.4016, allocations: 275.1 kB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4017, allocations: 82.97 kB / 1.231 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.4044, allocations: 1.218 MB / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4044, allocations: 8 kB / 1.232 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.4044, allocations: 4 kB / 1.232 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.4045, allocations: 3.984 kB / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.4078, allocations: 2.159 MB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4078, allocations: 0 / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/0.4085, allocations: 183.8 kB / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.409, allocations: 88.7 kB / 1.235 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.4091, allocations: 23.98 kB / 1.235 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.4106, allocations: 1.552 MB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4107, allocations: 0 / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.4129, allocations: 1.121 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.4132, allocations: 307.5 kB / 1.238 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.4133, allocations: 16 kB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007813/0.4141, allocations: 103.3 kB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4143, allocations: 76.89 kB / 1.238 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.4143, allocations: 35.92 kB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004776/0.4148, allocations: 475 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4148, allocations: 0 / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006813/0.4155, allocations: 339.1 kB / 1.239 GB, free: 11.21 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003555/0.4191, allocations: 2.182 MB / 1.241 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.4209, allocations: 0.9251 MB / 1.242 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.421, allocations: 0 / 1.242 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.422, allocations: 0.5861 MB / 1.242 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.4232, allocations: 289.7 kB / 1.243 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4008/0.824, allocations: 7.442 MB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.8245, allocations: 1.046 MB / 1.251 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001016/0.8255, allocations: 279.3 kB / 1.251 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/0.8261, allocations: 421.5 kB / 1.251 GB, free: 188 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/0.8261, allocations: 0 / 1.251 GB, free: 188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.594/4.42, allocations: 21.32 MB / 1.272 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/4.421, allocations: 316.2 kB / 1.273 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/6.933, allocations: 0 / 1.273 GB, free: 183.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)