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.00106/0.00106, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.192/1.192, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.32/2.32, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 63.38 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2173, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006128/0.2235, allocations: 5.18 MB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1353/0.3587, allocations: 150.7 MB / 1.205 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000703/0.3595, allocations: 15.94 kB / 1.205 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.3601, allocations: 202.1 kB / 1.205 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.3618, allocations: 0.5627 MB / 1.206 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.3635, allocations: 0.8502 MB / 1.207 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.3649, allocations: 1.448 MB / 1.208 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008392/0.3657, allocations: 0.6614 MB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006015/0.3663, allocations: 0.5139 MB / 1.209 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006065/0.367, allocations: 0.5601 MB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.3672, allocations: 128 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007284/0.3679, allocations: 467.7 kB / 1.21 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.3682, allocations: 323 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005398/0.3687, allocations: 0.6141 MB / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.3703, allocations: 1.71 MB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3703, allocations: 0 / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3703, allocations: 0 / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.503e-05/0.3703, allocations: 0 / 1.213 GB, free: 3.785 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.002491/0.3728, allocations: 1.516 MB / 1.214 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.3729, allocations: 12.62 kB / 1.214 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.373, allocations: 152.3 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.3746, allocations: 303.2 kB / 1.215 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/0.3756, allocations: 0.7653 MB / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.3757, allocations: 74 kB / 1.216 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.3758, allocations: 99.94 kB / 1.216 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.3775, allocations: 1.066 MB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.3776, allocations: 3.984 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.3777, allocations: 44 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.3777, allocations: 20 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.3799, allocations: 1.268 MB / 1.218 GB, free: 14.34 MB / 0.9825 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.004086/0.3839, allocations: 2.986 MB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.3864, allocations: 1.024 MB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/0.3871, allocations: 366.6 kB / 1.222 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.247e-05/0.3872, allocations: 30.5 kB / 1.222 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.3882, allocations: 0.5626 MB / 1.223 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.034e-06/0.3883, allocations: 4 kB / 1.223 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003635/0.3919, allocations: 1.38 MB / 1.224 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.392, allocations: 192.9 kB / 1.224 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.3927, allocations: 0.6411 MB / 1.225 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.3927, allocations: 45.69 kB / 1.225 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.393, allocations: 420.3 kB / 1.226 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.3932, allocations: 276 kB / 1.226 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.3934, allocations: 154.5 kB / 1.226 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3936, allocations: 386.7 kB / 1.226 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/0.3943, allocations: 309.8 kB / 1.227 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007937/0.3951, allocations: 414.5 kB / 1.227 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.3966, allocations: 0.6945 MB / 1.228 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3966, allocations: 0 / 1.228 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002186/0.3988, allocations: 0.9152 MB / 1.229 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3988, allocations: 11.94 kB / 1.229 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3988, allocations: 3.984 kB / 1.229 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.3994, allocations: 84.86 kB / 1.229 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/0.4001, allocations: 179.8 kB / 1.229 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.402, allocations: 1.629 MB / 1.23 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/0.4027, allocations: 115.3 kB / 1.231 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.4028, allocations: 27.98 kB / 1.231 GB, free: 1.07 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.0003264/0.4031, allocations: 283 kB / 1.231 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.4032, allocations: 82.97 kB / 1.231 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.406, allocations: 1.206 MB / 1.232 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.406, allocations: 12 kB / 1.232 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.406, allocations: 0 / 1.232 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.406, allocations: 3.984 kB / 1.232 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003401/0.4094, allocations: 2.155 MB / 1.234 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4094, allocations: 0 / 1.234 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.4101, allocations: 175.8 kB / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/0.4105, allocations: 72.78 kB / 1.234 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.4106, allocations: 27.92 kB / 1.235 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.4123, allocations: 1.654 MB / 1.236 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4123, allocations: 0 / 1.236 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.4146, allocations: 1.121 MB / 1.237 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.4149, allocations: 279.7 kB / 1.237 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.415, allocations: 20 kB / 1.238 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/0.4158, allocations: 87.91 kB / 1.238 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.4159, allocations: 76.83 kB / 1.238 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.416, allocations: 39.97 kB / 1.238 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004878/0.4165, allocations: 463 kB / 1.238 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4165, allocations: 7.938 kB / 1.238 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006975/0.4172, allocations: 339.1 kB / 1.238 GB, free: 8.73 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.003657/0.4209, allocations: 2.174 MB / 1.241 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002609/0.4235, allocations: 1.132 MB / 1.242 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4235, allocations: 4 kB / 1.242 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.4246, allocations: 0.5783 MB / 1.242 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4257, allocations: 310.2 kB / 1.243 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.368/0.7937, allocations: 6.977 MB / 1.249 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.7942, allocations: 1.053 MB / 1.25 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009075/0.7951, allocations: 276.1 kB / 1.251 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/0.7956, allocations: 424.3 kB / 1.251 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.7956, allocations: 0.9688 kB / 1.251 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.288/2.084, allocations: 22.42 MB / 1.273 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/14.59, allocations: 1.719 kB / 1.273 GB, free: 185.1 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)