Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.008537/0.008537, allocations: 99.19 kB / 15.73 MB, free: 6.027 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.002485/0.002485, allocations: 194.7 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4899/0.4899, allocations: 54.94 MB / 324.9 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.002231, allocations: 66.92 kB / 456.2 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1592, allocations: 59.58 MB / 0.5037 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003663/0.163, allocations: 1.481 MB / 0.5051 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1644, allocations: 0.6245 MB / 0.5057 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1646, allocations: 5.312 kB / 0.5058 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.1649, allocations: 82.31 kB / 0.5058 GB, free: 8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.1651, allocations: 75.69 kB / 0.5059 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.1657, allocations: 91.33 kB / 0.506 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.166, allocations: 102.7 kB / 0.5061 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1661, allocations: 12.12 kB / 0.5061 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.1664, allocations: 56.69 kB / 0.5062 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1666, allocations: 94.44 kB / 0.5062 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.1666, allocations: 3.688 kB / 0.5062 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.1668, allocations: 76.86 kB / 0.5063 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.1669, allocations: 23.73 kB / 0.5063 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.87e-05/0.167, allocations: 49.97 kB / 0.5064 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.1673, allocations: 133.7 kB / 0.5065 GB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1673, allocations: 5.234 kB / 0.5065 GB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1673, allocations: 4 kB / 0.5065 GB, free: 7.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.1673, allocations: 0 / 0.5065 GB, free: 7.602 MB / 382.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.000656/0.168, allocations: 454.2 kB / 0.507 GB, free: 7.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.168, allocations: 9.438 kB / 0.507 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.1681, allocations: 15.16 kB / 0.507 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1684, allocations: 215 kB / 0.5072 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1684, allocations: 1.875 kB / 0.5072 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1685, allocations: 7.391 kB / 0.5072 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.1687, allocations: 113.6 kB / 0.5073 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1687, allocations: 0 / 0.5073 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.1687, allocations: 1.375 kB / 0.5073 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1688, allocations: 0 / 0.5073 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1689, allocations: 63.16 kB / 0.5074 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.1694, allocations: 293.7 kB / 0.5076 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.1695, allocations: 100.7 kB / 0.5077 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1696, allocations: 73.81 kB / 0.5078 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1697, allocations: 1.281 kB / 0.5078 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.1699, allocations: 159.4 kB / 0.508 GB, free: 6.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1699, allocations: 3.938 kB / 0.508 GB, free: 6.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005164/0.1704, allocations: 296.8 kB / 0.5083 GB, free: 6.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1705, allocations: 106.5 kB / 0.5084 GB, free: 5.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1707, allocations: 207.3 kB / 0.5086 GB, free: 5.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1707, allocations: 27.02 kB / 0.5086 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.1708, allocations: 113.6 kB / 0.5087 GB, free: 5.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.1708, allocations: 23.8 kB / 0.5087 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.1709, allocations: 29.83 kB / 0.5087 GB, free: 5.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.1709, allocations: 326.8 kB / 0.509 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.171, allocations: 51.98 kB / 0.5091 GB, free: 5.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.1711, allocations: 69.62 kB / 0.5092 GB, free: 5.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1712, allocations: 177.1 kB / 0.5093 GB, free: 4.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1712, allocations: 0 / 0.5093 GB, free: 4.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002538/0.1715, allocations: 247.1 kB / 0.5096 GB, free: 4.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.1715, allocations: 37.7 kB / 0.5096 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1715, allocations: 0 / 0.5096 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1716, allocations: 7.938 kB / 0.5096 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.1717, allocations: 7.984 kB / 0.5096 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1717, allocations: 0 / 0.5096 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.1717, allocations: 7.953 kB / 0.5096 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1718, allocations: 4 kB / 0.5096 GB, free: 4.637 MB / 382.1 MB 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.000122/0.1719, allocations: 183.5 kB / 0.5098 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.1719, allocations: 19.94 kB / 0.5098 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.1721, allocations: 75.02 kB / 0.5099 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1721, allocations: 0 / 0.5099 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1721, allocations: 4.062 kB / 0.5099 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1721, allocations: 3.938 kB / 0.5099 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.1723, allocations: 217.5 kB / 0.5101 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1723, allocations: 4 kB / 0.5101 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.1723, allocations: 7.984 kB / 0.5101 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.1723, allocations: 4 kB / 0.5101 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1724, allocations: 8 kB / 0.5101 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1724, allocations: 4 kB / 0.5101 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1724, allocations: 0 / 0.5101 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1727, allocations: 299.4 kB / 0.5104 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.1727, allocations: 101 kB / 0.5105 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1728, allocations: 8 kB / 0.5105 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.1728, allocations: 7.984 kB / 0.5105 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1729, allocations: 8 kB / 0.5105 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1729, allocations: 4 kB / 0.5105 GB, free: 3.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.173, allocations: 157.1 kB / 0.5107 GB, free: 3.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.173, allocations: 0 / 0.5107 GB, free: 3.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1733, allocations: 39.94 kB / 0.5107 GB, free: 3.383 MB / 382.1 MB 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.0001919/0.1735, allocations: 129.2 kB / 0.5109 GB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.1737, allocations: 223.2 kB / 0.5111 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1737, allocations: 4.062 kB / 0.5111 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.533e-05/0.1738, allocations: 147.4 kB / 0.5112 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.1741, allocations: 19.44 kB / 0.5112 GB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.1746, allocations: 323.6 kB / 0.5115 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.1748, allocations: 0.7197 MB / 0.5122 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.1748, allocations: 4.328 kB / 0.5122 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.1748, allocations: 7.438 kB / 0.5123 GB, free: 1.738 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1748, allocations: 0 / 0.5123 GB, free: 1.738 MB / 382.1 MB Notification: Performance of Templates: time 0.004311/0.1791, allocations: 1.362 MB / 0.5136 GB, free: 400 kB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)