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.001401/0.001401, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001673/0.001673, allocations: 195 kB / 16.14 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.175/1.175, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.308/2.308, allocations: 461.9 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.62 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.209, allocations: 157.4 MB / 1.052 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005473/0.2145, allocations: 5.178 MB / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1208/0.3353, allocations: 148.3 MB / 1.202 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007018/0.336, allocations: 15.88 kB / 1.202 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.3366, allocations: 162.8 kB / 1.202 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.3381, allocations: 499.4 kB / 1.203 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.3396, allocations: 0.7385 MB / 1.204 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001192/0.3408, allocations: 1.358 MB / 1.205 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.3416, allocations: 0.6447 MB / 1.205 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.3421, allocations: 466.2 kB / 1.206 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/0.3427, allocations: 0.5133 MB / 1.206 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.3428, allocations: 68 kB / 1.206 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006496/0.3435, allocations: 415.6 kB / 1.207 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.3437, allocations: 263 kB / 1.207 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000439/0.3441, allocations: 0.5555 MB / 1.208 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.3457, allocations: 1.655 MB / 1.209 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3457, allocations: 3.938 kB / 1.209 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.02e-07/0.3457, allocations: 0 / 1.209 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.864e-05/0.3458, allocations: 0 / 1.209 GB, free: 6.703 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.002486/0.3483, allocations: 1.508 MB / 1.211 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3483, allocations: 16.03 kB / 1.211 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.3485, allocations: 148.3 kB / 1.211 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.35, allocations: 307.2 kB / 1.211 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/0.3509, allocations: 0.7653 MB / 1.212 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.351, allocations: 74 kB / 1.212 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3511, allocations: 92 kB / 1.212 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.3528, allocations: 1.07 MB / 1.213 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3528, allocations: 0 / 1.213 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/0.3529, allocations: 36 kB / 1.213 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.3529, allocations: 24 kB / 1.213 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.355, allocations: 1.276 MB / 1.214 GB, free: 1.266 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.00394/0.359, allocations: 2.986 MB / 1.217 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.3613, allocations: 1.023 MB / 1.218 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.362, allocations: 370.6 kB / 1.219 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.948e-05/0.3621, allocations: 34.48 kB / 1.219 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.3631, allocations: 0.5626 MB / 1.219 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 1.883e-06/0.3631, allocations: 0 / 1.219 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003465/0.3666, allocations: 1.384 MB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.3667, allocations: 192.9 kB / 1.221 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/0.3673, allocations: 0.6333 MB / 1.221 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.3674, allocations: 45.7 kB / 1.222 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.3677, allocations: 432.2 kB / 1.222 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.3679, allocations: 272 kB / 1.222 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.3681, allocations: 154.5 kB / 1.222 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3682, allocations: 390.8 kB / 1.223 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006713/0.3689, allocations: 301.8 kB / 1.223 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/0.3697, allocations: 414.5 kB / 1.223 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.371, allocations: 0.6906 MB / 1.224 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3711, allocations: 0 / 1.224 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002103/0.3732, allocations: 0.9267 MB / 1.225 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3732, allocations: 5.25 kB / 1.225 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3732, allocations: 3.938 kB / 1.225 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.3737, allocations: 80.88 kB / 1.225 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.3745, allocations: 175.8 kB / 1.225 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02727/0.4018, allocations: 1.525 MB / 1.227 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/0.4026, allocations: 119.3 kB / 1.227 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.4027, allocations: 31.92 kB / 1.227 GB, free: 4.105 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.0003131/0.403, allocations: 273.6 kB / 1.227 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.4032, allocations: 82.97 kB / 1.227 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.4057, allocations: 1.21 MB / 1.228 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.4058, allocations: 8 kB / 1.228 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.4058, allocations: 0 / 1.228 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.4058, allocations: 7.984 kB / 1.228 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.409, allocations: 2.159 MB / 1.23 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.409, allocations: 0 / 1.23 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.4097, allocations: 167.8 kB / 1.231 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/0.4103, allocations: 88.7 kB / 1.231 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.4103, allocations: 27.98 kB / 1.231 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.4119, allocations: 1.54 MB / 1.232 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4119, allocations: 4.031 kB / 1.232 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.4142, allocations: 1.121 MB / 1.233 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.4145, allocations: 283.7 kB / 1.234 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.4146, allocations: 19.98 kB / 1.234 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/0.4154, allocations: 91.97 kB / 1.234 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4155, allocations: 72.89 kB / 1.234 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.4156, allocations: 31.98 kB / 1.234 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004728/0.4161, allocations: 471 kB / 1.234 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4161, allocations: 0 / 1.234 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006967/0.4168, allocations: 343.1 kB / 1.235 GB, free: 11.88 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.003524/0.4203, allocations: 2.17 MB / 1.237 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.4221, allocations: 0.9134 MB / 1.238 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4221, allocations: 4 kB / 1.238 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.4232, allocations: 0.5821 MB / 1.238 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4242, allocations: 289.3 kB / 1.238 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.4356, allocations: 7.397 MB / 1.246 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3428/0.7783, allocations: 1.048 MB / 1.247 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001012/0.7794, allocations: 273.1 kB / 1.247 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/0.7799, allocations: 420.2 kB / 1.247 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.7799, allocations: 0 / 1.247 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.41/4.19, allocations: 21.62 MB / 1.268 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/4.19, allocations: 328.5 kB / 1.269 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/6.723, allocations: 3.5 kB / 1.269 GB, free: 186.9 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)