Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.00123, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001392/0.001393, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 270.3 kB / 291.3 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004332, allocations: 16.75 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1765, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00177/0.1783, allocations: 1.296 MB / 0.6857 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009676/0.1793, allocations: 0.5916 MB / 0.6863 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.1794, allocations: 0.7812 kB / 0.6863 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.1795, allocations: 73.72 kB / 0.6864 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.1798, allocations: 100.1 kB / 0.6865 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.1801, allocations: 68.73 kB / 0.6866 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1802, allocations: 107.7 kB / 0.6867 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.1803, allocations: 7.984 kB / 0.6867 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1804, allocations: 67.8 kB / 0.6867 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1806, allocations: 88.39 kB / 0.6868 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.1807, allocations: 8.609 kB / 0.6868 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1808, allocations: 67.88 kB / 0.6869 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.1808, allocations: 32.41 kB / 0.6869 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.1809, allocations: 50.45 kB / 0.687 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1811, allocations: 112 kB / 0.6871 GB, free: 12.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1811, allocations: 2.438 kB / 0.6871 GB, free: 12.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1811, allocations: 0 / 0.6871 GB, free: 12.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1811, allocations: 0 / 0.6871 GB, free: 12.81 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006351/0.1817, allocations: 460.3 kB / 0.6875 GB, free: 12.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1818, allocations: 8.781 kB / 0.6875 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1818, allocations: 19.8 kB / 0.6875 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1821, allocations: 203.9 kB / 0.6877 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1821, allocations: 8 kB / 0.6877 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1821, allocations: 7.984 kB / 0.6877 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1823, allocations: 123.1 kB / 0.6879 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.1824, allocations: 4 kB / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1824, allocations: 0 / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1824, allocations: 0.6562 kB / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1825, allocations: 71.91 kB / 0.6879 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.183, allocations: 413.5 kB / 0.6883 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1832, allocations: 113.1 kB / 0.6884 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1833, allocations: 81.78 kB / 0.6885 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1833, allocations: 4.781 kB / 0.6885 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.1836, allocations: 184 kB / 0.6887 GB, free: 10.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1837, allocations: 0.5312 kB / 0.6887 GB, free: 10.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005398/0.1842, allocations: 335.2 kB / 0.689 GB, free: 10.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.1843, allocations: 111.8 kB / 0.6891 GB, free: 10.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.1845, allocations: 219.9 kB / 0.6893 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1845, allocations: 29.7 kB / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.1846, allocations: 120.1 kB / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.1847, allocations: 31.56 kB / 0.6895 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-06/0.1847, allocations: 0 / 0.6895 GB, free: 10.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1848, allocations: 330.8 kB / 0.6898 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.1849, allocations: 55.98 kB / 0.6899 GB, free: 9.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.185, allocations: 77.69 kB / 0.69 GB, free: 9.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1851, allocations: 89.67 kB / 0.69 GB, free: 9.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1851, allocations: 4 kB / 0.69 GB, free: 9.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003267/0.1855, allocations: 271 kB / 0.6903 GB, free: 9.219 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.1855, allocations: 37.69 kB / 0.6903 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1855, allocations: 0 / 0.6903 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1856, allocations: 7.938 kB / 0.6903 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.1857, allocations: 11.98 kB / 0.6904 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1857, allocations: 7.953 kB / 0.6904 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.437e-05/0.1858, allocations: 8 kB / 0.6904 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.1858, allocations: 4 kB / 0.6904 GB, free: 9.137 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.decAng.tNext,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.186, allocations: 182.8 kB / 0.6905 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.186, allocations: 15.81 kB / 0.6906 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.1862, allocations: 99 kB / 0.6907 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1862, allocations: 4 kB / 0.6907 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1862, allocations: 0 / 0.6907 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1862, allocations: 3.953 kB / 0.6907 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.1864, allocations: 237.4 kB / 0.6909 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1865, allocations: 4.375 kB / 0.6909 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.1865, allocations: 12 kB / 0.6909 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1865, allocations: 0 / 0.6909 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.1866, allocations: 15.98 kB / 0.6909 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1866, allocations: 0 / 0.6909 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1866, allocations: 0 / 0.6909 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.187, allocations: 335.2 kB / 0.6912 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.187, allocations: 108.9 kB / 0.6913 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1871, allocations: 4 kB / 0.6913 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.1872, allocations: 11.98 kB / 0.6914 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.1872, allocations: 11.98 kB / 0.6914 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1873, allocations: 8 kB / 0.6914 GB, free: 7.992 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1874, allocations: 164.2 kB / 0.6915 GB, free: 7.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1874, allocations: 0 / 0.6915 GB, free: 7.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1877, allocations: 39.95 kB / 0.6916 GB, free: 7.793 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001807/0.1878, allocations: 137.3 kB / 0.6917 GB, free: 7.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.1882, allocations: 239.3 kB / 0.6919 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1882, allocations: 0 / 0.6919 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.1883, allocations: 167.3 kB / 0.6921 GB, free: 7.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.1886, allocations: 12.75 kB / 0.6921 GB, free: 7.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000609/0.1892, allocations: 381.2 kB / 0.6925 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1895, allocations: 0.7238 MB / 0.6932 GB, free: 6.062 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.356e-05/0.1896, allocations: 11.97 kB / 0.6932 GB, free: 6.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.1896, allocations: 15.44 kB / 0.6932 GB, free: 6.035 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1896, allocations: 4 kB / 0.6932 GB, free: 6.031 MB / 494.1 MB Notification: Performance of Templates: time 0.004289/0.1939, allocations: 1.521 MB / 0.6947 GB, free: 4.559 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)