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.0007769/0.000777, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005184/0.005184, allocations: 173.1 kB / 16.27 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.044/1.044, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 8 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1923, allocations: 82.31 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001861/0.1942, allocations: 1.203 MB / 0.5891 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1953, allocations: 0.5846 MB / 0.5897 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.1954, allocations: 3.938 kB / 0.5897 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.1956, allocations: 67.88 kB / 0.5898 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.1958, allocations: 91.81 kB / 0.5899 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.1962, allocations: 70.81 kB / 0.5899 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1963, allocations: 91.75 kB / 0.59 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.1964, allocations: 11.97 kB / 0.59 GB, free: 492 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1966, allocations: 51.83 kB / 0.5901 GB, free: 440 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.1968, allocations: 79.86 kB / 0.5902 GB, free: 360 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1968, allocations: 4 kB / 0.5902 GB, free: 356 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.197, allocations: 75.91 kB / 0.5902 GB, free: 280 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.1971, allocations: 31.86 kB / 0.5903 GB, free: 248 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.1971, allocations: 61.44 kB / 0.5903 GB, free: 180 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1974, allocations: 135.6 kB / 0.5905 GB, free: 44 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1974, allocations: 0 / 0.5905 GB, free: 44 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1974, allocations: 3.938 kB / 0.5905 GB, free: 40 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1974, allocations: 0 / 0.5905 GB, free: 40 kB / 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.0005635/0.198, allocations: 440.9 kB / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.198, allocations: 8.031 kB / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.1981, allocations: 16.75 kB / 0.5909 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.1983, allocations: 204.8 kB / 0.5911 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1983, allocations: 4.375 kB / 0.5911 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1983, allocations: 384 / 0.5911 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1985, allocations: 115.6 kB / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1985, allocations: 3.938 kB / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1986, allocations: 0 / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1986, allocations: 4 kB / 0.5912 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1987, allocations: 59.97 kB / 0.5913 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.1991, allocations: 301.7 kB / 0.5916 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1992, allocations: 93.14 kB / 0.5917 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.1994, allocations: 77.73 kB / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1994, allocations: 4 kB / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.1996, allocations: 150.7 kB / 0.5919 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1996, allocations: 0 / 0.5919 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004356/0.2001, allocations: 295.2 kB / 0.5922 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.2001, allocations: 114.8 kB / 0.5923 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.2003, allocations: 203.7 kB / 0.5925 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2003, allocations: 25.7 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.2004, allocations: 108.1 kB / 0.5926 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.2005, allocations: 31.78 kB / 0.5926 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.2005, allocations: 13.72 kB / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2006, allocations: 330.8 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.2007, allocations: 55.97 kB / 0.593 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.2008, allocations: 73.69 kB / 0.5931 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.2009, allocations: 176.9 kB / 0.5932 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.201, allocations: 0 / 0.5932 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002873/0.2013, allocations: 251.1 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.2013, allocations: 39.88 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2013, allocations: 0 / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2013, allocations: 3.984 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.2014, allocations: 12.03 kB / 0.5935 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2014, allocations: 0 / 0.5935 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.2015, allocations: 8 kB / 0.5935 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2015, allocations: 7.984 kB / 0.5936 GB, free: 12.55 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.0001371/0.2017, allocations: 175.4 kB / 0.5937 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.2017, allocations: 19.8 kB / 0.5937 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.2019, allocations: 71.03 kB / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2019, allocations: 0 / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2019, allocations: 0 / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2019, allocations: 3.984 kB / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2021, allocations: 213.5 kB / 0.594 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2021, allocations: 4 kB / 0.594 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.2021, allocations: 4 kB / 0.594 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.2021, allocations: 0 / 0.594 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2022, allocations: 4 kB / 0.594 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2022, allocations: 4 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2022, allocations: 0 / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.2025, allocations: 311.2 kB / 0.5943 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.2026, allocations: 104.9 kB / 0.5944 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2026, allocations: 4 kB / 0.5944 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.2027, allocations: 4 kB / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.2027, allocations: 4 kB / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.2028, allocations: 11.98 kB / 0.5945 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000114/0.2029, allocations: 152.1 kB / 0.5946 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2029, allocations: 0 / 0.5946 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002475/0.2032, allocations: 32 kB / 0.5946 GB, free: 11.33 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.0001932/0.2034, allocations: 131.2 kB / 0.5948 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.2036, allocations: 219.2 kB / 0.595 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2037, allocations: 4 kB / 0.595 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.2038, allocations: 155.3 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.204, allocations: 16.05 kB / 0.5951 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.2046, allocations: 352.5 kB / 0.5955 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.2049, allocations: 0.7232 MB / 0.5962 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.2049, allocations: 7.984 kB / 0.5962 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.205, allocations: 7.438 kB / 0.5962 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of SimCode: time 1.663e-06/0.205, allocations: 3.938 kB / 0.5962 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.004185/0.2092, allocations: 1.275 MB / 0.5974 GB, free: 8.402 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)