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.001695/0.001695, allocations: 109 kB / 16.41 MB, free: 6.5 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.001809/0.001809, allocations: 183 kB / 17.34 MB, free: 5.762 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8558/0.8558, allocations: 135.2 MB / 426.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.177, allocations: 80.94 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002922/0.1799, allocations: 1.492 MB / 0.6668 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1811, allocations: 0.5804 MB / 0.6674 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1811, allocations: 0 / 0.6674 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.1813, allocations: 71.83 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1815, allocations: 83.75 kB / 0.6675 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1819, allocations: 103.2 kB / 0.6676 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.1821, allocations: 95.78 kB / 0.6677 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.1822, allocations: 4 kB / 0.6677 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1823, allocations: 63.81 kB / 0.6678 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1825, allocations: 91.78 kB / 0.6679 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1825, allocations: 0 / 0.6679 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1826, allocations: 83.92 kB / 0.6679 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.1827, allocations: 23.92 kB / 0.668 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.1828, allocations: 47.66 kB / 0.668 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.183, allocations: 135.4 kB / 0.6681 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.183, allocations: 0 / 0.6681 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.183, allocations: 0 / 0.6681 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.183, allocations: 3.938 kB / 0.6681 GB, free: 2.898 MB / 0.4981 GB 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.0006527/0.1837, allocations: 456.4 kB / 0.6686 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1837, allocations: 13.11 kB / 0.6686 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.1838, allocations: 12.84 kB / 0.6686 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.1841, allocations: 212.8 kB / 0.6688 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1841, allocations: 8.375 kB / 0.6688 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1841, allocations: 4.375 kB / 0.6688 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.1843, allocations: 103.7 kB / 0.6689 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1843, allocations: 3.984 kB / 0.6689 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1843, allocations: 4 kB / 0.6689 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1843, allocations: 0 / 0.6689 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1844, allocations: 63.91 kB / 0.669 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.1849, allocations: 301.7 kB / 0.6693 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.185, allocations: 85.14 kB / 0.6694 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-05/0.1851, allocations: 65.89 kB / 0.6694 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1852, allocations: 3.984 kB / 0.6694 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.1854, allocations: 154.7 kB / 0.6696 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1854, allocations: 0 / 0.6696 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0005105/0.1859, allocations: 303.1 kB / 0.6699 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/0.186, allocations: 110.8 kB / 0.67 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.1862, allocations: 199.2 kB / 0.6702 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.1862, allocations: 25.83 kB / 0.6702 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.1863, allocations: 112.1 kB / 0.6703 GB, free: 452 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1863, allocations: 27.75 kB / 0.6703 GB, free: 424 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.1864, allocations: 29.7 kB / 0.6703 GB, free: 388 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1866, allocations: 330.8 kB / 0.6707 GB, free: 48 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.015e-05/0.1867, allocations: 52.03 kB / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.1867, allocations: 69.64 kB / 0.6708 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.1869, allocations: 181 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1869, allocations: 4 kB / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000312/0.1873, allocations: 243.2 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.1873, allocations: 33.7 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1873, allocations: 0 / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1873, allocations: 4 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.1874, allocations: 11.98 kB / 0.6712 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1874, allocations: 4 kB / 0.6712 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.1875, allocations: 0 / 0.6712 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1875, allocations: 8.031 kB / 0.6712 GB, free: 15.41 MB / 0.5137 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.0001803/0.1877, allocations: 179.4 kB / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.1877, allocations: 19.91 kB / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.1879, allocations: 71.09 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1879, allocations: 0 / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1879, allocations: 0 / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1879, allocations: 4 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.1881, allocations: 217.5 kB / 0.6717 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1881, allocations: 4 kB / 0.6717 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.1881, allocations: 4 kB / 0.6717 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1881, allocations: 7.938 kB / 0.6717 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1882, allocations: 7.984 kB / 0.6717 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1882, allocations: 0 / 0.6717 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1882, allocations: 0 / 0.6717 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.1886, allocations: 307.4 kB / 0.672 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1887, allocations: 105 kB / 0.6721 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.1887, allocations: 4 kB / 0.6721 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.1887, allocations: 0 / 0.6721 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1888, allocations: 11.98 kB / 0.6721 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1888, allocations: 4 kB / 0.6721 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001425/0.1889, allocations: 153.1 kB / 0.6723 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1889, allocations: 0 / 0.6723 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002571/0.1892, allocations: 47.92 kB / 0.6723 GB, free: 14.17 MB / 0.5137 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.0002014/0.1894, allocations: 127.2 kB / 0.6725 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.1897, allocations: 203.1 kB / 0.6727 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1897, allocations: 0 / 0.6727 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1899, allocations: 119.3 kB / 0.6728 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.1901, allocations: 15.75 kB / 0.6728 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.1907, allocations: 353.3 kB / 0.6731 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.1911, allocations: 0.7223 MB / 0.6738 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.1911, allocations: 7.438 kB / 0.6738 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1911, allocations: 0 / 0.6738 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.003926/0.195, allocations: 1.57 MB / 0.6754 GB, free: 10.98 MB / 0.5137 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)