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.001388/0.001388, allocations: 106 kB / 16.41 MB, free: 6.516 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.001112/0.001112, allocations: 187 kB / 17.34 MB, free: 5.738 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8659/0.8659, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.22 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1698, allocations: 80.92 MB / 0.6653 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002661/0.1725, allocations: 1.492 MB / 0.6667 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1736, allocations: 0.5843 MB / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.1737, allocations: 0 / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.1738, allocations: 75.81 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.1741, allocations: 87.7 kB / 0.6675 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1744, allocations: 93.64 kB / 0.6676 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1746, allocations: 99.8 kB / 0.6677 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.1747, allocations: 11.97 kB / 0.6677 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1749, allocations: 63.81 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.175, allocations: 91.78 kB / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.1751, allocations: 4 kB / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1752, allocations: 75.92 kB / 0.6679 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.1753, allocations: 23.92 kB / 0.6679 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.1753, allocations: 43.67 kB / 0.668 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1755, allocations: 139.5 kB / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1756, allocations: 0 / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.887e-06/0.1756, allocations: 7.984 kB / 0.6681 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.1756, allocations: 4 kB / 0.6681 GB, free: 2.938 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.0005802/0.1762, allocations: 452.5 kB / 0.6685 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1762, allocations: 9.109 kB / 0.6685 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.1763, allocations: 16.75 kB / 0.6686 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1765, allocations: 197 kB / 0.6687 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.1766, allocations: 4.375 kB / 0.6687 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.1766, allocations: 4.375 kB / 0.6687 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1768, allocations: 119.5 kB / 0.6689 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1768, allocations: 0 / 0.6689 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1768, allocations: 4 kB / 0.6689 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1768, allocations: 4 kB / 0.6689 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.652e-05/0.1769, allocations: 51.97 kB / 0.6689 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.1773, allocations: 301.6 kB / 0.6692 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1775, allocations: 101.1 kB / 0.6693 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.1776, allocations: 69.75 kB / 0.6694 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1776, allocations: 4 kB / 0.6694 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.1778, allocations: 154.7 kB / 0.6695 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1778, allocations: 0 / 0.6695 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004422/0.1783, allocations: 303.1 kB / 0.6698 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.1783, allocations: 110.8 kB / 0.6699 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1785, allocations: 199.8 kB / 0.6701 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1786, allocations: 29.7 kB / 0.6701 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.1786, allocations: 108.1 kB / 0.6702 GB, free: 492 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1787, allocations: 19.72 kB / 0.6703 GB, free: 472 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.1787, allocations: 33.83 kB / 0.6703 GB, free: 432 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1789, allocations: 334.8 kB / 0.6706 GB, free: 88 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.1789, allocations: 47.98 kB / 0.6707 GB, free: 40 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.702e-05/0.179, allocations: 65.73 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.1792, allocations: 181 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1792, allocations: 0 / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002688/0.1795, allocations: 247 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.1795, allocations: 37.73 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1795, allocations: 0 / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1796, allocations: 0 / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.1797, allocations: 15.98 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1797, allocations: 0 / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.1797, allocations: 15.91 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1798, allocations: 4 kB / 0.6712 GB, free: 15.44 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.0001478/0.1799, allocations: 180.7 kB / 0.6714 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.1799, allocations: 15.81 kB / 0.6714 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.1801, allocations: 71.16 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1801, allocations: 0 / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1801, allocations: 4 kB / 0.6715 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1801, allocations: 0 / 0.6715 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.1803, allocations: 217.5 kB / 0.6717 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1803, allocations: 0 / 0.6717 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.1804, allocations: 15.92 kB / 0.6717 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1804, allocations: 0 / 0.6717 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1804, allocations: 8 kB / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1804, allocations: 0 / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1804, allocations: 3.938 kB / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.1808, allocations: 303.4 kB / 0.672 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.1809, allocations: 100.9 kB / 0.6721 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1809, allocations: 4 kB / 0.6721 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.328e-05/0.181, allocations: 0 / 0.6721 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.181, allocations: 15.98 kB / 0.6721 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.181, allocations: 4 kB / 0.6721 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001103/0.1812, allocations: 157.1 kB / 0.6722 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1812, allocations: 0 / 0.6722 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002444/0.1814, allocations: 40 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.0001861/0.1816, allocations: 127.2 kB / 0.6724 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.1819, allocations: 219.3 kB / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1819, allocations: 4 kB / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1821, allocations: 155.3 kB / 0.6728 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.1823, allocations: 21.75 kB / 0.6728 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.1829, allocations: 341.6 kB / 0.6731 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1832, allocations: 0.7197 MB / 0.6738 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.1832, allocations: 15.38 kB / 0.6738 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1832, allocations: 0 / 0.6738 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.003361/0.1866, allocations: 1.572 MB / 0.6754 GB, free: 10.96 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)