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.00122/0.00122, allocations: 107.8 kB / 16.41 MB, free: 6.457 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.00125/0.00125, allocations: 187 kB / 17.34 MB, free: 5.719 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8101/0.8101, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 68.25 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1704, allocations: 80.92 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003257/0.1737, allocations: 1.485 MB / 0.6667 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.175, allocations: 0.5881 MB / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.1751, allocations: 0 / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.1752, allocations: 79.81 kB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1755, allocations: 79.81 kB / 0.6675 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.176, allocations: 98.08 kB / 0.6676 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1761, allocations: 95.75 kB / 0.6677 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.1763, allocations: 15.98 kB / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.1765, allocations: 63.8 kB / 0.6677 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1766, allocations: 87.8 kB / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.1767, allocations: 4 kB / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1768, allocations: 75.92 kB / 0.6679 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.1769, allocations: 23.92 kB / 0.6679 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.177, allocations: 43.67 kB / 0.668 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1772, allocations: 139.5 kB / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1773, allocations: 4 kB / 0.6681 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1773, allocations: 0 / 0.6681 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.1773, allocations: 0 / 0.6681 GB, free: 2.945 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.0007014/0.178, allocations: 456.5 kB / 0.6685 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1781, allocations: 9.109 kB / 0.6685 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.149e-05/0.1781, allocations: 16.75 kB / 0.6685 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.1785, allocations: 200.9 kB / 0.6687 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1785, allocations: 8.375 kB / 0.6687 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.1785, allocations: 4.375 kB / 0.6688 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.1787, allocations: 107.7 kB / 0.6689 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1787, allocations: 0 / 0.6689 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1788, allocations: 4 kB / 0.6689 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1788, allocations: 0 / 0.6689 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1789, allocations: 63.89 kB / 0.6689 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.1794, allocations: 301.6 kB / 0.6692 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1795, allocations: 101.1 kB / 0.6693 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.1797, allocations: 69.75 kB / 0.6694 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.1797, allocations: 0 / 0.6694 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.18, allocations: 154.7 kB / 0.6695 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.18, allocations: 7.938 kB / 0.6695 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0005833/0.1806, allocations: 295.3 kB / 0.6698 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.1807, allocations: 114.8 kB / 0.6699 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.181, allocations: 203.7 kB / 0.6701 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.181, allocations: 25.7 kB / 0.6701 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.1811, allocations: 112.1 kB / 0.6702 GB, free: 488 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.1812, allocations: 23.84 kB / 0.6703 GB, free: 464 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.1812, allocations: 29.7 kB / 0.6703 GB, free: 428 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1814, allocations: 334.8 kB / 0.6706 GB, free: 84 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.1815, allocations: 51.97 kB / 0.6707 GB, free: 32 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1816, allocations: 61.75 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1818, allocations: 181 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1818, allocations: 0 / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003317/0.1821, allocations: 243.1 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/0.1822, allocations: 39.72 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1822, allocations: 4 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.1822, allocations: 0 / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1824, allocations: 4 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1824, allocations: 4 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.1825, allocations: 15.84 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1825, allocations: 0 / 0.6712 GB, free: 15.45 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.0001801/0.1827, allocations: 184.8 kB / 0.6714 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.1827, allocations: 15.81 kB / 0.6714 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.1829, allocations: 67.02 kB / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1829, allocations: 0 / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.1829, allocations: 4.062 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.183, allocations: 4 kB / 0.6715 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1832, allocations: 221.5 kB / 0.6717 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1832, allocations: 0 / 0.6717 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.1832, allocations: 11.98 kB / 0.6717 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1833, allocations: 4 kB / 0.6717 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1833, allocations: 4 kB / 0.6717 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1833, allocations: 3.938 kB / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1833, allocations: 0 / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.1837, allocations: 307.3 kB / 0.672 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1838, allocations: 100.9 kB / 0.6721 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.1839, allocations: 4 kB / 0.6721 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.1839, allocations: 7.984 kB / 0.6721 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.184, allocations: 8.141 kB / 0.6721 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.184, allocations: 4 kB / 0.6721 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001377/0.1842, allocations: 157.1 kB / 0.6722 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1842, allocations: 0 / 0.6722 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002781/0.1844, allocations: 36 kB / 0.6723 GB, free: 14.21 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.0002353/0.1847, allocations: 127.2 kB / 0.6724 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.185, allocations: 231.2 kB / 0.6726 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.185, allocations: 0 / 0.6726 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.1852, allocations: 147.4 kB / 0.6728 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1854, allocations: 15.69 kB / 0.6728 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.186, allocations: 353.5 kB / 0.6731 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1864, allocations: 0.7275 MB / 0.6738 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.1864, allocations: 11.44 kB / 0.6738 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1864, allocations: 0 / 0.6738 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.003795/0.1902, allocations: 1.587 MB / 0.6754 GB, free: 10.95 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)