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.004954/0.004954, allocations: 98.7 kB / 15.73 MB, free: 6.051 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.001234/0.001234, allocations: 191.5 kB / 16.67 MB, free: 5.977 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.181/1.181, 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.3381/0.3381, allocations: 54.94 MB / 324.8 MB, free: 16 kB / 254.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.001418/0.001418, allocations: 64.2 kB / 456.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.09335, allocations: 59.59 MB / 0.5038 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002046/0.09544, allocations: 1.462 MB / 0.5052 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008451/0.0963, allocations: 0.6341 MB / 0.5058 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.09635, allocations: 1.312 kB / 0.5058 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.09647, allocations: 73.73 kB / 0.5059 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.09662, allocations: 84.19 kB / 0.506 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.09691, allocations: 90.56 kB / 0.5061 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.09704, allocations: 103.1 kB / 0.5062 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.629e-05/0.09711, allocations: 12.09 kB / 0.5062 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.09723, allocations: 61.69 kB / 0.5063 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.09735, allocations: 91.23 kB / 0.5063 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.09737, allocations: 6.75 kB / 0.5063 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.966e-05/0.09747, allocations: 77.05 kB / 0.5064 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.09752, allocations: 24.3 kB / 0.5064 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.09757, allocations: 37.31 kB / 0.5065 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.09772, allocations: 146.4 kB / 0.5066 GB, free: 7.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.09773, allocations: 0 / 0.5066 GB, free: 7.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09774, allocations: 0 / 0.5066 GB, free: 7.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.09775, allocations: 1.375 kB / 0.5066 GB, free: 7.461 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.0003923/0.09814, allocations: 449.6 kB / 0.507 GB, free: 7.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.09818, allocations: 13.62 kB / 0.5071 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.09823, allocations: 23.61 kB / 0.5071 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.09838, allocations: 210.5 kB / 0.5073 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.0984, allocations: 5.688 kB / 0.5073 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.09841, allocations: 3.125 kB / 0.5073 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.09856, allocations: 116.8 kB / 0.5074 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.09857, allocations: 1.375 kB / 0.5074 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.09859, allocations: 0 / 0.5074 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.0986, allocations: 5.375 kB / 0.5074 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.09869, allocations: 58.47 kB / 0.5075 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.09896, allocations: 297.2 kB / 0.5077 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.09906, allocations: 94.08 kB / 0.5078 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.09914, allocations: 77.33 kB / 0.5079 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.09916, allocations: 1.219 kB / 0.5079 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.09932, allocations: 155.3 kB / 0.5081 GB, free: 6.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.09933, allocations: 0 / 0.5081 GB, free: 6.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003564/0.09969, allocations: 296.9 kB / 0.5083 GB, free: 5.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.09973, allocations: 115 kB / 0.5085 GB, free: 5.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.09985, allocations: 197.2 kB / 0.5086 GB, free: 5.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.09987, allocations: 29.69 kB / 0.5087 GB, free: 5.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.0999, allocations: 108.1 kB / 0.5088 GB, free: 5.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.09993, allocations: 27.64 kB / 0.5088 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.09997, allocations: 21.72 kB / 0.5088 GB, free: 5.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.1, allocations: 330.8 kB / 0.5091 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.814e-05/0.1001, allocations: 51.98 kB / 0.5092 GB, free: 5.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/0.1001, allocations: 69.69 kB / 0.5093 GB, free: 5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1002, allocations: 180.9 kB / 0.5094 GB, free: 4.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1002, allocations: 0 / 0.5094 GB, free: 4.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001823/0.1004, allocations: 243 kB / 0.5097 GB, free: 4.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.1005, allocations: 41.69 kB / 0.5097 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1005, allocations: 3.938 kB / 0.5097 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1005, allocations: 4 kB / 0.5097 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.1005, allocations: 8.031 kB / 0.5097 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1006, allocations: 7.984 kB / 0.5097 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.7e-05/0.1006, allocations: 3.984 kB / 0.5097 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1006, allocations: 4 kB / 0.5097 GB, free: 4.477 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 8.024e-05/0.1007, allocations: 179.4 kB / 0.5099 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.1007, allocations: 19.81 kB / 0.5099 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.907e-05/0.1008, allocations: 71.16 kB / 0.51 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1008, allocations: 4 kB / 0.51 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1009, allocations: 0 / 0.51 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1009, allocations: 4 kB / 0.51 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.295e-05/0.101, allocations: 213.5 kB / 0.5102 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.101, allocations: 0 / 0.5102 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.101, allocations: 8 kB / 0.5102 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.101, allocations: 0 / 0.5102 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.101, allocations: 8.062 kB / 0.5102 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.101, allocations: 0 / 0.5102 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.101, allocations: 7.922 kB / 0.5102 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1013, allocations: 315.3 kB / 0.5105 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.1013, allocations: 100.9 kB / 0.5106 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1014, allocations: 0 / 0.5106 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.1014, allocations: 4 kB / 0.5106 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.1014, allocations: 11.98 kB / 0.5106 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1015, allocations: 4 kB / 0.5106 GB, free: 3.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.166e-05/0.1015, allocations: 153.1 kB / 0.5108 GB, free: 3.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1015, allocations: 4 kB / 0.5108 GB, free: 3.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.1018, allocations: 40 kB / 0.5108 GB, free: 3.23 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.0001229/0.1019, allocations: 123.2 kB / 0.5109 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.1021, allocations: 219.3 kB / 0.5111 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1021, allocations: 4 kB / 0.5112 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.442e-05/0.1022, allocations: 155.3 kB / 0.5113 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.1024, allocations: 12 kB / 0.5113 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.1028, allocations: 316 kB / 0.5116 GB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.103, allocations: 0.7197 MB / 0.5123 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.103, allocations: 7.906 kB / 0.5123 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.103, allocations: 19.38 kB / 0.5123 GB, free: 1.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.103, allocations: 0 / 0.5123 GB, free: 1.582 MB / 382.1 MB Notification: Performance of Templates: time 0.003038/0.1061, allocations: 1.354 MB / 0.5137 GB, free: 248 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)