Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.0008656/0.0008656, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009233/0.0009233, allocations: 177 kB / 23.36 MB, free: 1.137 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.9283/0.9283, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.001641/0.001641, allocations: 234 kB / 260.5 MB, free: 12.69 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.7187/0.7187, allocations: 138.4 MB / 402.2 MB, free: 0.5352 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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 462.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.947e-06/1.026e-05, allocations: 3.844 kB / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004679/0.004689, allocations: 5.001 MB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1244/0.129, allocations: 146.1 MB / 0.5991 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008747/0.1299, allocations: 19.81 kB / 0.5991 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.1305, allocations: 210.1 kB / 0.5993 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.1322, allocations: 0.5871 MB / 0.5999 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1337, allocations: 0.8761 MB / 0.6007 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.1349, allocations: 1.508 MB / 0.6022 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005968/0.1355, allocations: 469.4 kB / 0.6026 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008988/0.1364, allocations: 0.8224 MB / 0.6034 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.1369, allocations: 410.8 kB / 0.6038 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.137, allocations: 116 kB / 0.6039 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007807/0.1378, allocations: 0.5305 MB / 0.6045 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.138, allocations: 310.9 kB / 0.6048 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.1382, allocations: 399 kB / 0.6051 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.1395, allocations: 1.327 MB / 0.6064 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1395, allocations: 0 / 0.6064 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1395, allocations: 0 / 0.6064 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.1395, allocations: 0 / 0.6064 GB, free: 3.691 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00159/0.1411, allocations: 1.434 MB / 0.6078 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1412, allocations: 12.75 kB / 0.6078 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009718/0.1421, allocations: 344 kB / 0.6082 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006585/0.1428, allocations: 0.5939 MB / 0.6088 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.1428, allocations: 78.12 kB / 0.6088 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.1429, allocations: 92 kB / 0.6089 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.1436, allocations: 0.9273 MB / 0.6098 GB, free: 92 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.1436, allocations: 3.938 kB / 0.6098 GB, free: 88 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.1437, allocations: 36 kB / 0.6099 GB, free: 52 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.1437, allocations: 24 kB / 0.6099 GB, free: 28 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.1443, allocations: 0.6025 MB / 0.6105 GB, free: 15.42 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.1461, allocations: 1.686 MB / 0.6121 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.1466, allocations: 388.8 kB / 0.6125 GB, free: 13.32 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1468, allocations: 134.8 kB / 0.6126 GB, free: 13.19 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.147, allocations: 76.58 kB / 0.6127 GB, free: 13.12 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/0.1473, allocations: 453.7 kB / 0.6131 GB, free: 12.63 MB / 0.573 GB Notification: Performance of pre-optimization done (n=82): time 1.924e-06/0.1473, allocations: 0 / 0.6131 GB, free: 12.63 MB / 0.573 GB Notification: Performance of matching and sorting (n=82): time 0.001008/0.1483, allocations: 0.5454 MB / 0.6137 GB, free: 12.08 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003123/0.1486, allocations: 192.6 kB / 0.6138 GB, free: 11.85 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.149, allocations: 0.5055 MB / 0.6143 GB, free: 11.33 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.149, allocations: 41.7 kB / 0.6144 GB, free: 11.28 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1492, allocations: 362.2 kB / 0.6147 GB, free: 10.92 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1493, allocations: 277.6 kB / 0.615 GB, free: 10.65 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.1495, allocations: 162.5 kB / 0.6151 GB, free: 10.48 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1496, allocations: 394.5 kB / 0.6155 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1497, allocations: 92.77 kB / 0.6156 GB, free: 9.996 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.1499, allocations: 303.6 kB / 0.6159 GB, free: 9.66 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.1502, allocations: 311.4 kB / 0.6162 GB, free: 9.344 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1502, allocations: 4 kB / 0.6162 GB, free: 9.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006087/0.1508, allocations: 439.6 kB / 0.6166 GB, free: 8.898 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1508, allocations: 4 kB / 0.6166 GB, free: 8.895 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1508, allocations: 5.219 kB / 0.6166 GB, free: 8.891 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.1512, allocations: 120.7 kB / 0.6167 GB, free: 8.77 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.1516, allocations: 171.7 kB / 0.6169 GB, free: 8.602 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009685/0.1526, allocations: 1.308 MB / 0.6182 GB, free: 7.207 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.1528, allocations: 76.03 kB / 0.6183 GB, free: 7.133 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.1528, allocations: 28.72 kB / 0.6183 GB, free: 7.105 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 (96): * Single equations (assignments): 95 * 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.0001724/0.153, allocations: 165.2 kB / 0.6184 GB, free: 6.938 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.1531, allocations: 80.5 kB / 0.6185 GB, free: 6.859 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008248/0.1539, allocations: 0.6119 MB / 0.6191 GB, free: 6.238 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1539, allocations: 8 kB / 0.6191 GB, free: 6.23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1539, allocations: 4 kB / 0.6191 GB, free: 6.227 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1539, allocations: 3.984 kB / 0.6191 GB, free: 6.223 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.155, allocations: 0.9768 MB / 0.6201 GB, free: 5.219 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.155, allocations: 11.94 kB / 0.6201 GB, free: 5.207 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.1554, allocations: 147.8 kB / 0.6202 GB, free: 5.062 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/0.1557, allocations: 110.3 kB / 0.6203 GB, free: 4.953 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.1557, allocations: 19.98 kB / 0.6204 GB, free: 4.934 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.1568, allocations: 1.329 MB / 0.6217 GB, free: 3.52 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1568, allocations: 0 / 0.6217 GB, free: 3.52 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.1574, allocations: 0.5595 MB / 0.6222 GB, free: 2.941 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.1576, allocations: 147.2 kB / 0.6223 GB, free: 2.797 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.1577, allocations: 20 kB / 0.6224 GB, free: 2.777 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.1579, allocations: 40.84 kB / 0.6224 GB, free: 2.738 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.158, allocations: 64.88 kB / 0.6225 GB, free: 2.672 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.158, allocations: 27.97 kB / 0.6225 GB, free: 2.645 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001823/0.1582, allocations: 243.4 kB / 0.6227 GB, free: 2.406 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.1582, allocations: 0 / 0.6227 GB, free: 2.406 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000565/0.1588, allocations: 374.8 kB / 0.6231 GB, free: 2.039 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 (93): * Single equations (assignments): 87 * 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.001458/0.1602, allocations: 0.7812 MB / 0.6238 GB, free: 1.629 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005954/0.1608, allocations: 0.4933 MB / 0.6243 GB, free: 1.125 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.1608, allocations: 8 kB / 0.6243 GB, free: 1.117 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.1612, allocations: 367.2 kB / 0.6247 GB, free: 0.7461 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.1618, allocations: 309.9 kB / 0.625 GB, free: 488 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.1638, allocations: 1.557 MB / 0.6265 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.1639, allocations: 202.5 kB / 0.6267 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003973/0.1643, allocations: 201 kB / 0.6269 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.1648, allocations: 299 kB / 0.6272 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of SimCode: time 1.233e-06/0.1648, allocations: 4 kB / 0.6272 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of Templates: time 0.01969/0.1845, allocations: 16.95 MB / 0.6437 GB, free: 13.61 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0520524750463665]