Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 177.3 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9307/0.9307, allocations: 177.2 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001712/0.001712, allocations: 240.5 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7135/0.7135, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 1.312 kB / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.531e-05, allocations: 6.062 kB / 462.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004819/0.004834, allocations: 4.986 MB / 467.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1237/0.1285, allocations: 146.1 MB / 0.599 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.1293, allocations: 23.81 kB / 0.5991 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.1297, allocations: 206 kB / 0.5992 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.1309, allocations: 0.5938 MB / 0.5998 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1322, allocations: 0.8546 MB / 0.6007 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1334, allocations: 1.516 MB / 0.6021 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005419/0.1339, allocations: 471.8 kB / 0.6026 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.135, allocations: 0.8225 MB / 0.6034 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.1354, allocations: 414.7 kB / 0.6038 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.1355, allocations: 120 kB / 0.6039 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.1361, allocations: 0.5072 MB / 0.6044 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.1363, allocations: 314.9 kB / 0.6047 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.1366, allocations: 410.9 kB / 0.6051 GB, free: 5.051 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1377, allocations: 1.304 MB / 0.6064 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1377, allocations: 7.984 kB / 0.6064 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.01e-07/0.1377, allocations: 0 / 0.6064 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.1377, allocations: 0 / 0.6064 GB, free: 3.734 MB / 0.5573 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.001375/0.1391, allocations: 1.434 MB / 0.6078 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.1391, allocations: 8.75 kB / 0.6078 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.1403, allocations: 405.2 kB / 0.6082 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.141, allocations: 0.59 MB / 0.6087 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.141, allocations: 82.11 kB / 0.6088 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.1411, allocations: 92 kB / 0.6089 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.1421, allocations: 0.9608 MB / 0.6099 GB, free: 44 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1421, allocations: 4 kB / 0.6099 GB, free: 40 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/0.1422, allocations: 44.02 kB / 0.6099 GB, free: 15.99 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.1422, allocations: 24 kB / 0.6099 GB, free: 15.97 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/0.1428, allocations: 0.6117 MB / 0.6105 GB, free: 15.36 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.1447, allocations: 1.669 MB / 0.6121 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.1455, allocations: 468.6 kB / 0.6126 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1456, allocations: 140.2 kB / 0.6127 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.1457, allocations: 28.64 kB / 0.6128 GB, free: 13.04 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.146, allocations: 467.5 kB / 0.6132 GB, free: 12.55 MB / 0.573 GB Notification: Performance of pre-optimization done (n=84): time 2.074e-06/0.146, allocations: 0 / 0.6132 GB, free: 12.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=84): time 0.00102/0.1471, allocations: 0.5811 MB / 0.6138 GB, free: 11.96 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.1471, allocations: 196.9 kB / 0.614 GB, free: 11.72 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1474, allocations: 498.6 kB / 0.6144 GB, free: 11.22 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.1475, allocations: 45.64 kB / 0.6145 GB, free: 11.17 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1476, allocations: 374.2 kB / 0.6148 GB, free: 10.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.1478, allocations: 281.5 kB / 0.6151 GB, free: 10.52 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.1479, allocations: 162.5 kB / 0.6153 GB, free: 10.36 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.148, allocations: 390.5 kB / 0.6156 GB, free: 9.965 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1482, allocations: 103.1 kB / 0.6157 GB, free: 9.867 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1484, allocations: 315.6 kB / 0.616 GB, free: 9.512 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.1487, allocations: 324.7 kB / 0.6163 GB, free: 9.184 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1487, allocations: 0 / 0.6163 GB, free: 9.184 MB / 0.573 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008395/0.1495, allocations: 459 kB / 0.6168 GB, free: 8.727 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1496, allocations: 4 kB / 0.6168 GB, free: 8.723 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1496, allocations: 0.625 kB / 0.6168 GB, free: 8.723 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.15, allocations: 128.7 kB / 0.6169 GB, free: 8.594 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.1504, allocations: 179.8 kB / 0.6171 GB, free: 8.418 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009374/0.1513, allocations: 1.308 MB / 0.6184 GB, free: 7.023 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.1516, allocations: 83.62 kB / 0.6184 GB, free: 6.941 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.1516, allocations: 27.97 kB / 0.6185 GB, free: 6.914 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,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 (98): * Single equations (assignments): 97 * 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.0001785/0.1518, allocations: 163.4 kB / 0.6186 GB, free: 6.746 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.1519, allocations: 79.86 kB / 0.6187 GB, free: 6.668 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.1528, allocations: 0.6546 MB / 0.6193 GB, free: 6.008 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1528, allocations: 8 kB / 0.6193 GB, free: 6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1528, allocations: 0 / 0.6193 GB, free: 6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1528, allocations: 7.969 kB / 0.6193 GB, free: 5.992 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1539, allocations: 1.021 MB / 0.6203 GB, free: 4.949 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.154, allocations: 0 / 0.6203 GB, free: 4.949 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.1543, allocations: 163.8 kB / 0.6205 GB, free: 4.789 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.1546, allocations: 108.7 kB / 0.6206 GB, free: 4.68 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.1546, allocations: 31.91 kB / 0.6206 GB, free: 4.648 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007964/0.1554, allocations: 1.319 MB / 0.6219 GB, free: 3.238 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1554, allocations: 6.938 kB / 0.6219 GB, free: 3.234 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.1561, allocations: 0.5763 MB / 0.6225 GB, free: 2.641 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.1562, allocations: 151.1 kB / 0.6226 GB, free: 2.492 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.1563, allocations: 20 kB / 0.6227 GB, free: 2.473 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.1566, allocations: 47.95 kB / 0.6227 GB, free: 2.426 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/0.1567, allocations: 72.86 kB / 0.6228 GB, free: 2.355 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/0.1567, allocations: 23.92 kB / 0.6228 GB, free: 2.332 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001781/0.1569, allocations: 247.4 kB / 0.623 GB, free: 2.09 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.1569, allocations: 4 kB / 0.623 GB, free: 2.086 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004952/0.1574, allocations: 359 kB / 0.6234 GB, free: 1.734 MB / 0.573 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.001566/0.1589, allocations: 0.7587 MB / 0.6241 GB, free: 1.344 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005888/0.1595, allocations: 0.5139 MB / 0.6246 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.1595, allocations: 8 kB / 0.6246 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.1599, allocations: 379 kB / 0.625 GB, free: 436 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.1604, allocations: 314.5 kB / 0.6253 GB, free: 160 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.1626, allocations: 1.596 MB / 0.6268 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.1627, allocations: 199 kB / 0.627 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004142/0.1631, allocations: 209.6 kB / 0.6272 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.1636, allocations: 307 kB / 0.6275 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.1636, allocations: 0 / 0.6275 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of Templates: time 0.01861/0.1822, allocations: 17.05 MB / 0.6442 GB, free: 13.13 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.027045249007642]