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.001486/0.001486, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 198.5 kB / 16.79 MB, free: 6.809 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9408/0.9408, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.52 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1817, allocations: 80.93 MB / 0.5843 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003353/0.1851, allocations: 1.542 MB / 0.5859 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1864, allocations: 0.6001 MB / 0.5864 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.1865, allocations: 3.938 kB / 0.5864 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.1867, allocations: 71.88 kB / 0.5865 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.187, allocations: 79.81 kB / 0.5866 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.1873, allocations: 75.86 kB / 0.5867 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1875, allocations: 87.75 kB / 0.5867 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.1876, allocations: 11.97 kB / 0.5868 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1878, allocations: 55.83 kB / 0.5868 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.188, allocations: 79.86 kB / 0.5869 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.188, allocations: 4 kB / 0.5869 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1882, allocations: 79.91 kB / 0.587 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1883, allocations: 23.86 kB / 0.587 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.1883, allocations: 43.67 kB / 0.587 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.1886, allocations: 91.88 kB / 0.5871 GB, free: 2.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1886, allocations: 7.938 kB / 0.5871 GB, free: 2.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1886, allocations: 0 / 0.5871 GB, free: 2.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1886, allocations: 0 / 0.5871 GB, free: 2.145 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.0006781/0.1893, allocations: 448.8 kB / 0.5876 GB, free: 1.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1893, allocations: 12.03 kB / 0.5876 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.1894, allocations: 16.75 kB / 0.5876 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1896, allocations: 212.8 kB / 0.5878 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1897, allocations: 4.375 kB / 0.5878 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1897, allocations: 4.375 kB / 0.5878 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1899, allocations: 111.6 kB / 0.5879 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1899, allocations: 0 / 0.5879 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1899, allocations: 0 / 0.5879 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1899, allocations: 4 kB / 0.5879 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1901, allocations: 59.97 kB / 0.588 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1905, allocations: 293.7 kB / 0.5882 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1906, allocations: 97.12 kB / 0.5883 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-05/0.1908, allocations: 77.89 kB / 0.5884 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.1908, allocations: 11.98 kB / 0.5884 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/0.1911, allocations: 150.7 kB / 0.5886 GB, free: 476 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.1911, allocations: 0 / 0.5886 GB, free: 476 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004707/0.1916, allocations: 291.1 kB / 0.5888 GB, free: 172 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.1917, allocations: 118.9 kB / 0.589 GB, free: 28 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1919, allocations: 203.6 kB / 0.5891 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1919, allocations: 25.7 kB / 0.5892 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.192, allocations: 116 kB / 0.5893 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.192, allocations: 27.64 kB / 0.5893 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.1921, allocations: 21.72 kB / 0.5893 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1922, allocations: 330.8 kB / 0.5896 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.149e-05/0.1923, allocations: 51.97 kB / 0.5897 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.1924, allocations: 73.19 kB / 0.5898 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1926, allocations: 177 kB / 0.5899 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1926, allocations: 0 / 0.5899 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002923/0.1929, allocations: 243.1 kB / 0.5902 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.1929, allocations: 37.69 kB / 0.5902 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1929, allocations: 4 kB / 0.5902 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.193, allocations: 0 / 0.5902 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.1931, allocations: 8 kB / 0.5902 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1931, allocations: 4.031 kB / 0.5902 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.1932, allocations: 4 kB / 0.5902 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1932, allocations: 7.984 kB / 0.5902 GB, free: 14.64 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.0001502/0.1933, allocations: 175.4 kB / 0.5904 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.1934, allocations: 19.8 kB / 0.5904 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.1935, allocations: 71.11 kB / 0.5905 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1935, allocations: 4 kB / 0.5905 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.1936, allocations: 4 kB / 0.5905 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1936, allocations: 3.984 kB / 0.5905 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1938, allocations: 217.4 kB / 0.5907 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1938, allocations: 0 / 0.5907 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.1938, allocations: 11.94 kB / 0.5907 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1938, allocations: 0 / 0.5907 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1939, allocations: 8 kB / 0.5907 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1939, allocations: 8 kB / 0.5907 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1939, allocations: 0 / 0.5907 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1942, allocations: 307.3 kB / 0.591 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.1943, allocations: 101 kB / 0.5911 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.1944, allocations: 4 kB / 0.5911 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.958e-05/0.1944, allocations: 4 kB / 0.5911 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1945, allocations: 4 kB / 0.5911 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1945, allocations: 7.984 kB / 0.5911 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001311/0.1946, allocations: 148.1 kB / 0.5913 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1946, allocations: 4 kB / 0.5913 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002659/0.1949, allocations: 36 kB / 0.5913 GB, free: 13.41 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.0002098/0.1951, allocations: 126.1 kB / 0.5914 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.1955, allocations: 231.2 kB / 0.5917 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1955, allocations: 0 / 0.5917 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.1956, allocations: 151.3 kB / 0.5918 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.1959, allocations: 15.98 kB / 0.5918 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/0.1965, allocations: 395.9 kB / 0.5922 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1969, allocations: 0.7158 MB / 0.5929 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.1969, allocations: 11.44 kB / 0.5929 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1969, allocations: 0 / 0.5929 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.003767/0.2007, allocations: 1.556 MB / 0.5944 GB, free: 10.14 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)