Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001234/0.001234, allocations: 80.75 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.001423/0.001423, allocations: 181 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.9518/0.9518, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001648/0.001648, allocations: 253.4 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.6934/0.6934, allocations: 138.4 MB / 402.2 MB, free: 0.5469 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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.543e-05, allocations: 6.484 kB / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005901/0.005917, allocations: 6.698 MB / 469 MB, free: 11.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1212/0.1271, allocations: 146.6 MB / 0.6011 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000844/0.128, allocations: 31.81 kB / 0.6012 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.1285, allocations: 273.3 kB / 0.6014 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.1301, allocations: 0.8296 MB / 0.6022 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.1317, allocations: 1.035 MB / 0.6033 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.1333, allocations: 2.171 MB / 0.6054 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008178/0.1341, allocations: 0.7685 MB / 0.6061 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.1353, allocations: 1.314 MB / 0.6074 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000606/0.136, allocations: 0.6193 MB / 0.608 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.1361, allocations: 200 kB / 0.6082 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006863/0.1368, allocations: 0.5696 MB / 0.6088 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.1371, allocations: 478.4 kB / 0.6092 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00055/0.1376, allocations: 0.6391 MB / 0.6098 GB, free: 96 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.139, allocations: 1.808 MB / 0.6116 GB, free: 14.28 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.139, allocations: 0 / 0.6116 GB, free: 14.28 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.022e-06/0.139, allocations: 0 / 0.6116 GB, free: 14.28 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.139, allocations: 0 / 0.6116 GB, free: 14.28 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.001751/0.1408, allocations: 1.97 MB / 0.6135 GB, free: 12.28 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1408, allocations: 16.75 kB / 0.6136 GB, free: 12.27 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.1423, allocations: 0.5541 MB / 0.6141 GB, free: 11.71 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000833/0.1432, allocations: 0.718 MB / 0.6148 GB, free: 10.96 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.486e-05/0.1433, allocations: 178.6 kB / 0.615 GB, free: 10.78 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.1434, allocations: 152 kB / 0.6151 GB, free: 10.63 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1444, allocations: 1.338 MB / 0.6164 GB, free: 9.184 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.1444, allocations: 0.6562 kB / 0.6164 GB, free: 9.184 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.656e-05/0.1445, allocations: 68 kB / 0.6165 GB, free: 9.117 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.1445, allocations: 40 kB / 0.6165 GB, free: 9.078 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.1454, allocations: 0.7537 MB / 0.6173 GB, free: 8.316 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.1484, allocations: 2.546 MB / 0.6197 GB, free: 5.727 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.1489, allocations: 0.4931 MB / 0.6202 GB, free: 5.234 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.1491, allocations: 173.2 kB / 0.6204 GB, free: 5.062 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.792e-05/0.1492, allocations: 40.95 kB / 0.6204 GB, free: 5.023 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.1496, allocations: 0.5761 MB / 0.621 GB, free: 4.398 MB / 0.573 GB Notification: Performance of pre-optimization done (n=111): time 3.356e-06/0.1496, allocations: 0 / 0.621 GB, free: 4.398 MB / 0.573 GB Notification: Performance of matching and sorting (n=111): time 0.001169/0.1508, allocations: 0.6982 MB / 0.6217 GB, free: 3.691 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.1508, allocations: 192.9 kB / 0.6219 GB, free: 3.461 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.1513, allocations: 0.6029 MB / 0.6224 GB, free: 2.84 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.1513, allocations: 53.69 kB / 0.6225 GB, free: 2.781 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.1516, allocations: 0.5495 MB / 0.623 GB, free: 2.223 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.1517, allocations: 376.8 kB / 0.6234 GB, free: 1.852 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.1521, allocations: 214.7 kB / 0.6236 GB, free: 1.633 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1522, allocations: 406.5 kB / 0.624 GB, free: 1.227 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.1524, allocations: 129.4 kB / 0.6241 GB, free: 1.102 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1526, allocations: 371.9 kB / 0.6245 GB, free: 0.6875 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.1531, allocations: 434.5 kB / 0.6249 GB, free: 256 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1531, allocations: 0 / 0.6249 GB, free: 256 kB / 0.573 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0007647/0.1538, allocations: 0.567 MB / 0.6254 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1538, allocations: 11.94 kB / 0.6254 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1538, allocations: 0.5625 kB / 0.6254 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003858/0.1542, allocations: 129.8 kB / 0.6256 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.1547, allocations: 215.7 kB / 0.6258 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009557/0.1556, allocations: 1.308 MB / 0.627 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.156, allocations: 100.8 kB / 0.6271 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.156, allocations: 44.61 kB / 0.6272 GB, free: 13.79 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0002565/0.1563, allocations: 184.9 kB / 0.6274 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.1564, allocations: 95.91 kB / 0.6275 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.1575, allocations: 0.8552 MB / 0.6283 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1575, allocations: 12 kB / 0.6283 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1575, allocations: 3.984 kB / 0.6283 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1575, allocations: 11.92 kB / 0.6283 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.1581, allocations: 0.6527 MB / 0.629 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.1581, allocations: 0.75 kB / 0.629 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.1585, allocations: 187.7 kB / 0.6291 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/0.1588, allocations: 113.4 kB / 0.6292 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.1589, allocations: 27.97 kB / 0.6293 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.16, allocations: 1.326 MB / 0.6306 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.16, allocations: 3.938 kB / 0.6306 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.1607, allocations: 0.6142 MB / 0.6312 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.1609, allocations: 190.8 kB / 0.6313 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.891e-05/0.161, allocations: 32.03 kB / 0.6314 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.1613, allocations: 48.61 kB / 0.6314 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.1614, allocations: 93.12 kB / 0.6315 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.1615, allocations: 31.97 kB / 0.6315 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002454/0.1617, allocations: 315.3 kB / 0.6318 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.1617, allocations: 0 / 0.6318 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007768/0.1625, allocations: 0.4906 MB / 0.6323 GB, free: 8.383 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001465/0.164, allocations: 0.7688 MB / 0.6331 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006962/0.1647, allocations: 0.633 MB / 0.6337 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.1647, allocations: 8 kB / 0.6337 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.165, allocations: 449.5 kB / 0.6341 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.1656, allocations: 356.9 kB / 0.6345 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.1682, allocations: 2.231 MB / 0.6366 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.1684, allocations: 263.8 kB / 0.6369 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004556/0.1688, allocations: 228.6 kB / 0.6371 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006126/0.1695, allocations: 359 kB / 0.6375 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/0.1695, allocations: 0 / 0.6375 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of Templates: time 0.02402/0.1935, allocations: 20.72 MB / 0.6577 GB, free: 15.11 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.318910548929125]