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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001251/0.001251, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001265/0.001265, allocations: 189.8 kB / 16.25 MB, free: 6.633 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.191/1.191, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.386/2.386, allocations: 461.9 MB / 0.7344 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 58.92 kB / 0.8987 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2228, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005259/0.2281, allocations: 5.167 MB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1206/0.3487, allocations: 148.4 MB / 1.202 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.3494, allocations: 15.94 kB / 1.202 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.3499, allocations: 158.8 kB / 1.203 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.3514, allocations: 0.4974 MB / 1.203 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.353, allocations: 0.7652 MB / 1.204 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.3543, allocations: 1.452 MB / 1.205 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000769/0.355, allocations: 0.6537 MB / 1.206 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.3556, allocations: 0.5295 MB / 1.206 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005466/0.3562, allocations: 0.5579 MB / 1.207 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.3563, allocations: 131.9 kB / 1.207 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006571/0.357, allocations: 471.7 kB / 1.208 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.3572, allocations: 319 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004376/0.3577, allocations: 0.6141 MB / 1.208 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.3591, allocations: 1.706 MB / 1.21 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.3591, allocations: 0 / 1.21 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3591, allocations: 0 / 1.21 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.464e-05/0.3591, allocations: 4 kB / 1.21 GB, free: 6.598 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.002408/0.3616, allocations: 1.517 MB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3616, allocations: 8.625 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.3618, allocations: 152.3 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.3633, allocations: 299.2 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/0.3642, allocations: 0.7731 MB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.3643, allocations: 74 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3644, allocations: 92 kB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.3661, allocations: 1.066 MB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3661, allocations: 0 / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.264e-05/0.3662, allocations: 43.98 kB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.3662, allocations: 28 kB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.3682, allocations: 1.264 MB / 1.215 GB, free: 1.16 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.003853/0.3721, allocations: 2.998 MB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.3744, allocations: 1.02 MB / 1.219 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/0.3751, allocations: 362.6 kB / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.3752, allocations: 34.47 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.3762, allocations: 0.5665 MB / 1.22 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.064e-06/0.3762, allocations: 0 / 1.22 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003468/0.3797, allocations: 1.384 MB / 1.221 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.3798, allocations: 192.9 kB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/0.3805, allocations: 0.6372 MB / 1.222 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.3805, allocations: 45.64 kB / 1.222 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.3808, allocations: 428.2 kB / 1.223 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.381, allocations: 276 kB / 1.223 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.3812, allocations: 150.5 kB / 1.223 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3813, allocations: 390.8 kB / 1.224 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/0.382, allocations: 301.8 kB / 1.224 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.3828, allocations: 418.5 kB / 1.224 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.3841, allocations: 0.6866 MB / 1.225 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3842, allocations: 0 / 1.225 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002132/0.3863, allocations: 0.9228 MB / 1.226 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3863, allocations: 8 kB / 1.226 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3863, allocations: 3.984 kB / 1.226 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.3869, allocations: 80.88 kB / 1.226 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007323/0.3876, allocations: 179.8 kB / 1.226 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.3895, allocations: 1.641 MB / 1.228 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.3902, allocations: 115.3 kB / 1.228 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/0.3903, allocations: 31.97 kB / 1.228 GB, free: 3.871 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.0003286/0.3906, allocations: 271.2 kB / 1.228 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.3908, allocations: 86.97 kB / 1.228 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.3934, allocations: 1.206 MB / 1.229 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.3934, allocations: 12 kB / 1.229 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3934, allocations: 0 / 1.229 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3934, allocations: 3.984 kB / 1.229 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.3967, allocations: 2.159 MB / 1.231 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3968, allocations: 0 / 1.231 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/0.3975, allocations: 167.8 kB / 1.232 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/0.3979, allocations: 72.78 kB / 1.232 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/0.398, allocations: 31.97 kB / 1.232 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.3995, allocations: 1.658 MB / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3995, allocations: 7.969 kB / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.4017, allocations: 1.113 MB / 1.234 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.4021, allocations: 287.6 kB / 1.235 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4022, allocations: 20.06 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007805/0.403, allocations: 95.84 kB / 1.235 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.4031, allocations: 72.84 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/0.4032, allocations: 35.97 kB / 1.235 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004728/0.4037, allocations: 471 kB / 1.235 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4037, allocations: 0 / 1.235 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007735/0.4045, allocations: 351 kB / 1.236 GB, free: 11.52 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.003529/0.408, allocations: 2.169 MB / 1.238 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00249/0.4105, allocations: 1.132 MB / 1.239 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4105, allocations: 0 / 1.239 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.4115, allocations: 0.5821 MB / 1.239 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4127, allocations: 304.7 kB / 1.24 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3618/0.7745, allocations: 7.398 MB / 1.247 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.775, allocations: 1.045 MB / 1.248 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009743/0.776, allocations: 278.1 kB / 1.248 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/0.7765, allocations: 421.7 kB / 1.249 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.7765, allocations: 0 / 1.249 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9186/1.695, allocations: 22.24 MB / 1.27 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/1.695, allocations: 325.7 kB / 1.271 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/3.952, allocations: 2.391 kB / 1.271 GB, free: 187.4 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)