Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005531/0.00553, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001046/0.001046, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8498/0.8498, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 66.83 kB / 0.5813 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1808, allocations: 80.21 MB / 0.6597 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002748/0.1836, allocations: 1.497 MB / 0.6611 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1847, allocations: 0.5765 MB / 0.6617 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.1848, allocations: 0 / 0.6617 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1849, allocations: 71.84 kB / 0.6617 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1852, allocations: 87.75 kB / 0.6618 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1855, allocations: 95.64 kB / 0.6619 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.1858, allocations: 95.86 kB / 0.662 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.1859, allocations: 23.91 kB / 0.662 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1861, allocations: 51.88 kB / 0.6621 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1862, allocations: 91.78 kB / 0.6622 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1862, allocations: 4 kB / 0.6622 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1864, allocations: 79.86 kB / 0.6623 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.1864, allocations: 27.91 kB / 0.6623 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.1865, allocations: 43.69 kB / 0.6623 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1867, allocations: 143.5 kB / 0.6625 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1867, allocations: 0 / 0.6625 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1867, allocations: 4 kB / 0.6625 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.1868, allocations: 0 / 0.6625 GB, free: 7.527 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.0005513/0.1873, allocations: 452.5 kB / 0.6629 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1873, allocations: 8.031 kB / 0.6629 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.1874, allocations: 16.75 kB / 0.6629 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1877, allocations: 204.9 kB / 0.6631 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1877, allocations: 4.359 kB / 0.6631 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1877, allocations: 8.375 kB / 0.6631 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.1879, allocations: 111.6 kB / 0.6632 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1879, allocations: 0 / 0.6632 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1879, allocations: 0 / 0.6632 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.188, allocations: 4 kB / 0.6632 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.1881, allocations: 55.97 kB / 0.6633 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.1885, allocations: 309.7 kB / 0.6636 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1886, allocations: 89.2 kB / 0.6637 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.928e-05/0.1887, allocations: 77.73 kB / 0.6637 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1887, allocations: 7.938 kB / 0.6638 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.1889, allocations: 150.8 kB / 0.6639 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1889, allocations: 0 / 0.6639 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004469/0.1894, allocations: 299 kB / 0.6642 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.1895, allocations: 106.8 kB / 0.6643 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1897, allocations: 203.1 kB / 0.6645 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1897, allocations: 29.7 kB / 0.6645 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.1897, allocations: 112.2 kB / 0.6646 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.1898, allocations: 23.7 kB / 0.6646 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.1899, allocations: 25.72 kB / 0.6647 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.19, allocations: 334.8 kB / 0.665 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.1901, allocations: 47.98 kB / 0.665 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.1902, allocations: 69.62 kB / 0.6651 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1903, allocations: 184.9 kB / 0.6653 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1903, allocations: 4 kB / 0.6653 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002936/0.1906, allocations: 243.1 kB / 0.6655 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.1907, allocations: 37.69 kB / 0.6655 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1907, allocations: 0 / 0.6655 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1907, allocations: 0 / 0.6655 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.1908, allocations: 11.98 kB / 0.6656 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1908, allocations: 240 / 0.6656 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.1909, allocations: 7.938 kB / 0.6656 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.1909, allocations: 11.92 kB / 0.6656 GB, free: 4.023 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.0001743/0.1911, allocations: 188.4 kB / 0.6657 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.1911, allocations: 15.81 kB / 0.6658 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.1913, allocations: 63.08 kB / 0.6658 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1913, allocations: 4 kB / 0.6658 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1913, allocations: 0 / 0.6658 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1913, allocations: 0 / 0.6658 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1915, allocations: 213.8 kB / 0.666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1915, allocations: 0 / 0.666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-05/0.1916, allocations: 15.94 kB / 0.666 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1916, allocations: 7.922 kB / 0.6661 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.1916, allocations: 11.98 kB / 0.6661 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1917, allocations: 0 / 0.6661 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1917, allocations: 0 / 0.6661 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.1921, allocations: 299.4 kB / 0.6664 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.1922, allocations: 100.9 kB / 0.6664 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1922, allocations: 12 kB / 0.6665 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.1922, allocations: 4 kB / 0.6665 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1923, allocations: 3.984 kB / 0.6665 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1923, allocations: 4 kB / 0.6665 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001305/0.1925, allocations: 156 kB / 0.6666 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.226e-06/0.1925, allocations: 0 / 0.6666 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002454/0.1927, allocations: 47.92 kB / 0.6667 GB, free: 2.777 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.0001983/0.1929, allocations: 119.2 kB / 0.6668 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.1933, allocations: 225.8 kB / 0.667 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1933, allocations: 0 / 0.667 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1934, allocations: 163.2 kB / 0.6672 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1937, allocations: 17.66 kB / 0.6672 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.1943, allocations: 312 kB / 0.6675 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1947, allocations: 0.7158 MB / 0.6682 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.1947, allocations: 7.906 kB / 0.6682 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.1947, allocations: 7.438 kB / 0.6682 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of SimCode: time 2.064e-06/0.1947, allocations: 0 / 0.6682 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of Templates: time 0.004549/0.1993, allocations: 1.343 MB / 0.6695 GB, free: 15.81 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)