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.005614/0.005615, allocations: 102 kB / 15.73 MB, free: 6.484 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.001299/0.001299, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 279.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9415/0.9415, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001778, allocations: 91.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1689, allocations: 86.98 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002875/0.1718, allocations: 1.606 MB / 0.7679 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.173, allocations: 0.651 MB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.1731, allocations: 0 / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1733, allocations: 67.83 kB / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.1736, allocations: 111.6 kB / 0.7687 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1741, allocations: 99.77 kB / 0.7688 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1743, allocations: 135.6 kB / 0.769 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.653e-05/0.1744, allocations: 11.97 kB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1746, allocations: 71.8 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.1748, allocations: 103.8 kB / 0.7691 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.1748, allocations: 11.98 kB / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.175, allocations: 83.88 kB / 0.7692 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.175, allocations: 35.84 kB / 0.7693 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.1751, allocations: 51.67 kB / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.1754, allocations: 167.4 kB / 0.7695 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1754, allocations: 4 kB / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1754, allocations: 0 / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1754, allocations: 0 / 0.7695 GB, free: 5.246 MB / 0.5606 GB 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.0006652/0.1761, allocations: 484.3 kB / 0.7699 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1761, allocations: 8.031 kB / 0.7699 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.1762, allocations: 16.75 kB / 0.77 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1764, allocations: 216.1 kB / 0.7702 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1765, allocations: 12.25 kB / 0.7702 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1765, allocations: 8.375 kB / 0.7702 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.1767, allocations: 115.7 kB / 0.7703 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1767, allocations: 4 kB / 0.7703 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1767, allocations: 4 kB / 0.7703 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1768, allocations: 4 kB / 0.7703 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1769, allocations: 71.89 kB / 0.7704 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.1773, allocations: 420.8 kB / 0.7708 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1775, allocations: 113.1 kB / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1776, allocations: 85.78 kB / 0.771 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1776, allocations: 4 kB / 0.771 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.1779, allocations: 166.3 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.1779, allocations: 0 / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005248/0.1784, allocations: 335 kB / 0.7715 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.1785, allocations: 114.8 kB / 0.7716 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1787, allocations: 214.8 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1787, allocations: 29.7 kB / 0.7718 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.1788, allocations: 112 kB / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.1788, allocations: 35.7 kB / 0.7719 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.1789, allocations: 29.7 kB / 0.772 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.179, allocations: 338.8 kB / 0.7723 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.1791, allocations: 55.98 kB / 0.7723 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.968e-05/0.1792, allocations: 77.69 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.1794, allocations: 197 kB / 0.7726 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1794, allocations: 0 / 0.7726 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003112/0.1797, allocations: 271.4 kB / 0.7729 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.1797, allocations: 37.7 kB / 0.7729 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1797, allocations: 4.062 kB / 0.7729 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1798, allocations: 0 / 0.7729 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.1799, allocations: 15.98 kB / 0.7729 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1799, allocations: 4 kB / 0.7729 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.18, allocations: 11.89 kB / 0.7729 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.18, allocations: 4 kB / 0.7729 GB, free: 1.383 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.1801, allocations: 184.1 kB / 0.7731 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.1802, allocations: 15.81 kB / 0.7731 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.1804, allocations: 103 kB / 0.7732 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1804, allocations: 8 kB / 0.7732 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1804, allocations: 0 / 0.7732 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1804, allocations: 7.922 kB / 0.7732 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1806, allocations: 229.4 kB / 0.7735 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1806, allocations: 4 kB / 0.7735 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.1807, allocations: 11.98 kB / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1807, allocations: 0 / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1807, allocations: 4 kB / 0.7735 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1807, allocations: 0 / 0.7735 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1807, allocations: 0 / 0.7735 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.1811, allocations: 347.3 kB / 0.7738 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.1812, allocations: 104.9 kB / 0.7739 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.1812, allocations: 8 kB / 0.7739 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.1813, allocations: 4 kB / 0.7739 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.1814, allocations: 7.984 kB / 0.7739 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.1814, allocations: 12 kB / 0.7739 GB, free: 240 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000122/0.1815, allocations: 160.2 kB / 0.7741 GB, free: 80 kB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1816, allocations: 4 kB / 0.7741 GB, free: 76 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002485/0.1818, allocations: 44 kB / 0.7741 GB, free: 32 kB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.352/0.5338, allocations: 129.8 kB / 0.7743 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.5344, allocations: 242.4 kB / 0.7745 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5344, allocations: 0 / 0.7745 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.5346, allocations: 163.4 kB / 0.7746 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.5349, allocations: 19.33 kB / 0.7747 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007195/0.5356, allocations: 345.5 kB / 0.775 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.5359, allocations: 0.729 MB / 0.7757 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.09e-05/0.5359, allocations: 6.281 kB / 0.7757 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.536, allocations: 16.12 kB / 0.7757 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.536, allocations: 0 / 0.7757 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.005828/0.5418, allocations: 1.713 MB / 0.7774 GB, free: 14.08 MB / 0.5606 GB 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)