Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001114/0.001114, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001382/0.001382, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9754/0.9754, allocations: 135.2 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 72.78 kB / 0.5049 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1734, allocations: 80.93 MB / 0.5839 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002789/0.1762, allocations: 1.542 MB / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1774, allocations: 0.5766 MB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.1775, allocations: 0 / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.1777, allocations: 71.89 kB / 0.5861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1779, allocations: 83.81 kB / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.1783, allocations: 82.86 kB / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1785, allocations: 111.7 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.1786, allocations: 15.95 kB / 0.5864 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1787, allocations: 59.81 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1789, allocations: 87.84 kB / 0.5865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1789, allocations: 4 kB / 0.5865 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.179, allocations: 71.88 kB / 0.5866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.1791, allocations: 35.84 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.1792, allocations: 43.69 kB / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1794, allocations: 135.6 kB / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1794, allocations: 0 / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1794, allocations: 0 / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1794, allocations: 0 / 0.5868 GB, free: 1.914 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005411/0.1799, allocations: 448.8 kB / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.18, allocations: 15.97 kB / 0.5872 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.18, allocations: 12.75 kB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1802, allocations: 212.8 kB / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-06/0.1803, allocations: 384 / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1803, allocations: 12.38 kB / 0.5874 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1805, allocations: 107.6 kB / 0.5875 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1805, allocations: 0 / 0.5875 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1805, allocations: 0 / 0.5875 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1805, allocations: 4 kB / 0.5876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.004e-05/0.1806, allocations: 55.97 kB / 0.5876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.181, allocations: 301.7 kB / 0.5879 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1811, allocations: 101.2 kB / 0.588 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.1812, allocations: 73.73 kB / 0.5881 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1813, allocations: 0 / 0.5881 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.1815, allocations: 150.7 kB / 0.5882 GB, free: 248 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1815, allocations: 0 / 0.5882 GB, free: 248 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004295/0.182, allocations: 299.4 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.182, allocations: 106.8 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.1822, allocations: 200.3 kB / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1822, allocations: 33.7 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.1823, allocations: 116 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.1823, allocations: 31.58 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.1824, allocations: 25.72 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1825, allocations: 330.8 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.1826, allocations: 47.97 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.1826, allocations: 77.62 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.1828, allocations: 177 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1828, allocations: 0 / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002557/0.1831, allocations: 243.1 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.1831, allocations: 37.69 kB / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1831, allocations: 0 / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1831, allocations: 0 / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.1832, allocations: 8 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1832, allocations: 3.984 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.1833, allocations: 4 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.1833, allocations: 16.05 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (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 (6): * Single equations (assignments): 5 * 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.0001296/0.1835, allocations: 185.6 kB / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.1835, allocations: 15.81 kB / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.1836, allocations: 67.16 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1837, allocations: 4 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1837, allocations: 0 / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1837, allocations: 3.984 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.1838, allocations: 221.4 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1839, allocations: 4 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.1839, allocations: 8 kB / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1839, allocations: 0 / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1839, allocations: 7.938 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1839, allocations: 0 / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1839, allocations: 3.938 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.1843, allocations: 307.3 kB / 0.5907 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.1843, allocations: 101 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.1844, allocations: 8 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.1844, allocations: 4 kB / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.1845, allocations: 0 / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.1845, allocations: 11.98 kB / 0.5908 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001043/0.1846, allocations: 153.1 kB / 0.5909 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1846, allocations: 4 kB / 0.5909 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002323/0.1849, allocations: 32 kB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001841/0.185, allocations: 135.2 kB / 0.5911 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.1853, allocations: 215.3 kB / 0.5913 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1853, allocations: 0 / 0.5913 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1855, allocations: 155.3 kB / 0.5915 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1857, allocations: 15.98 kB / 0.5915 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.1862, allocations: 351.8 kB / 0.5918 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1865, allocations: 0.7197 MB / 0.5925 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.1865, allocations: 4.312 kB / 0.5925 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.1866, allocations: 11.44 kB / 0.5925 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1866, allocations: 3.938 kB / 0.5925 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.003873/0.1904, allocations: 1.321 MB / 0.5938 GB, free: 10.19 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)