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.004949/0.004949, allocations: 103.7 kB / 15.73 MB, free: 6.043 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.001196/0.001196, allocations: 197.3 kB / 16.67 MB, free: 5.98 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.473/1.473, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4492/0.4492, allocations: 54.95 MB / 324.9 MB, free: 68 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.001455/0.001455, allocations: 72.28 kB / 456.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1335, allocations: 59.59 MB / 0.5038 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002565/0.1361, allocations: 1.459 MB / 0.5052 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.1371, allocations: 0.6335 MB / 0.5058 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.1372, allocations: 1.375 kB / 0.5058 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.1373, allocations: 70.33 kB / 0.5059 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.1375, allocations: 87.62 kB / 0.506 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1379, allocations: 91.39 kB / 0.5061 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.138, allocations: 106.6 kB / 0.5062 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.329e-05/0.1381, allocations: 4.125 kB / 0.5062 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1382, allocations: 65.78 kB / 0.5062 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1384, allocations: 86.66 kB / 0.5063 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1384, allocations: 3.844 kB / 0.5063 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.1386, allocations: 77.05 kB / 0.5064 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.1386, allocations: 23.7 kB / 0.5064 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.1387, allocations: 45.53 kB / 0.5065 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.1389, allocations: 134.7 kB / 0.5066 GB, free: 7.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1389, allocations: 0 / 0.5066 GB, free: 7.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1389, allocations: 0 / 0.5066 GB, free: 7.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1389, allocations: 4 kB / 0.5066 GB, free: 7.719 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.0005884/0.1395, allocations: 459.7 kB / 0.507 GB, free: 7.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1396, allocations: 8.625 kB / 0.5071 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.1396, allocations: 20 kB / 0.5071 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1398, allocations: 210.1 kB / 0.5073 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1399, allocations: 6.688 kB / 0.5073 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1399, allocations: 3.281 kB / 0.5073 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1401, allocations: 120.3 kB / 0.5074 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1401, allocations: 0 / 0.5074 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1401, allocations: 5.234 kB / 0.5074 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1401, allocations: 5.094 kB / 0.5074 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.1402, allocations: 58.56 kB / 0.5075 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.1406, allocations: 292.9 kB / 0.5077 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.1407, allocations: 98.58 kB / 0.5078 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.935e-05/0.1408, allocations: 75.11 kB / 0.5079 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1408, allocations: 160 / 0.5079 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.141, allocations: 158.7 kB / 0.5081 GB, free: 6.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.141, allocations: 4 kB / 0.5081 GB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003527/0.1414, allocations: 295.1 kB / 0.5083 GB, free: 5.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1414, allocations: 110.8 kB / 0.5084 GB, free: 5.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1415, allocations: 199.2 kB / 0.5086 GB, free: 5.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1416, allocations: 25.7 kB / 0.5087 GB, free: 5.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.1416, allocations: 112.1 kB / 0.5088 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1416, allocations: 19.66 kB / 0.5088 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.1417, allocations: 29.7 kB / 0.5088 GB, free: 5.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.1417, allocations: 330.9 kB / 0.5091 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.1418, allocations: 51.98 kB / 0.5092 GB, free: 5.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.567e-05/0.1419, allocations: 65.69 kB / 0.5092 GB, free: 4.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.142, allocations: 180.9 kB / 0.5094 GB, free: 4.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.142, allocations: 0 / 0.5094 GB, free: 4.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001965/0.1422, allocations: 247.1 kB / 0.5097 GB, free: 4.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.1422, allocations: 41.73 kB / 0.5097 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1423, allocations: 3.938 kB / 0.5097 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1423, allocations: 0 / 0.5097 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.1424, allocations: 11.98 kB / 0.5097 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1424, allocations: 0 / 0.5097 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.1424, allocations: 4 kB / 0.5097 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1425, allocations: 4 kB / 0.5097 GB, free: 4.461 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 9.806e-05/0.1426, allocations: 175.5 kB / 0.5099 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.1426, allocations: 15.81 kB / 0.5099 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.1427, allocations: 75.02 kB / 0.51 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1427, allocations: 0 / 0.51 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1427, allocations: 0 / 0.51 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1427, allocations: 0 / 0.51 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1428, allocations: 221.5 kB / 0.5102 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1429, allocations: 4 kB / 0.5102 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.1429, allocations: 4 kB / 0.5102 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1429, allocations: 4 kB / 0.5102 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1429, allocations: 4.125 kB / 0.5102 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1429, allocations: 8 kB / 0.5102 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1429, allocations: 0 / 0.5102 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1432, allocations: 311.2 kB / 0.5105 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.1432, allocations: 100.9 kB / 0.5106 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1433, allocations: 8.125 kB / 0.5106 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.1433, allocations: 4 kB / 0.5106 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1434, allocations: 15.98 kB / 0.5106 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.1434, allocations: 4 kB / 0.5106 GB, free: 3.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.857e-05/0.1435, allocations: 153.1 kB / 0.5108 GB, free: 3.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1435, allocations: 0 / 0.5108 GB, free: 3.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.1437, allocations: 43.98 kB / 0.5108 GB, free: 3.211 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.0001444/0.1439, allocations: 117.6 kB / 0.5109 GB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.1441, allocations: 227.2 kB / 0.5111 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1441, allocations: 0 / 0.5111 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.1442, allocations: 159.4 kB / 0.5113 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.1444, allocations: 19.94 kB / 0.5113 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.1448, allocations: 315.9 kB / 0.5116 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.145, allocations: 0.7158 MB / 0.5123 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.499e-05/0.145, allocations: 11.91 kB / 0.5123 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.145, allocations: 11.44 kB / 0.5123 GB, free: 1.562 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.145, allocations: 0 / 0.5123 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Templates: time 0.00351/0.1485, allocations: 1.378 MB / 0.5137 GB, free: 200 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)