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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7717/0.7717, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 404.7 MB, free: 6.117 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009656/0.0009655, allocations: 111.5 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009798/0.0009798, allocations: 59.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1163, allocations: 80.42 MB / 0.6421 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002495/0.1188, allocations: 1.552 MB / 0.6437 GB, free: 3.875 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.1198, allocations: 0.6053 MB / 0.6442 GB, free: 3.266 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.1198, allocations: 0 / 0.6442 GB, free: 3.266 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.12, allocations: 75.83 kB / 0.6443 GB, free: 3.191 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1202, allocations: 83.8 kB / 0.6444 GB, free: 3.109 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1204, allocations: 68.62 kB / 0.6445 GB, free: 3.043 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.1206, allocations: 91.73 kB / 0.6446 GB, free: 2.953 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.057e-05/0.1206, allocations: 12 kB / 0.6446 GB, free: 2.941 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1207, allocations: 55.81 kB / 0.6446 GB, free: 2.887 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1209, allocations: 79.84 kB / 0.6447 GB, free: 2.809 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1209, allocations: 4 kB / 0.6447 GB, free: 2.805 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.121, allocations: 71.92 kB / 0.6448 GB, free: 2.734 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.1211, allocations: 31.86 kB / 0.6448 GB, free: 2.703 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.1212, allocations: 39.73 kB / 0.6448 GB, free: 2.664 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1213, allocations: 131.6 kB / 0.645 GB, free: 2.535 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1213, allocations: 0 / 0.645 GB, free: 2.535 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1213, allocations: 0 / 0.645 GB, free: 2.535 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1214, allocations: 0 / 0.645 GB, free: 2.535 MB / 442.7 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.0004932/0.1219, allocations: 452.8 kB / 0.6454 GB, free: 2.039 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1219, allocations: 12.02 kB / 0.6454 GB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.1219, allocations: 16.84 kB / 0.6454 GB, free: 2.012 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1221, allocations: 208.7 kB / 0.6456 GB, free: 1.766 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.1222, allocations: 4.375 kB / 0.6456 GB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1222, allocations: 8.375 kB / 0.6456 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1224, allocations: 107.7 kB / 0.6457 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1224, allocations: 0 / 0.6457 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1224, allocations: 0 / 0.6457 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1224, allocations: 0 / 0.6457 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.1225, allocations: 63.91 kB / 0.6458 GB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.1229, allocations: 309.6 kB / 0.6461 GB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.123, allocations: 97.14 kB / 0.6462 GB, free: 1.105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.1231, allocations: 73.73 kB / 0.6463 GB, free: 1.027 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1231, allocations: 0 / 0.6463 GB, free: 1.027 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.1233, allocations: 150.8 kB / 0.6464 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/0.1233, allocations: 0 / 0.6464 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004036/0.1237, allocations: 303.2 kB / 0.6467 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.1238, allocations: 118.7 kB / 0.6468 GB, free: 416 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.124, allocations: 199.1 kB / 0.647 GB, free: 208 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.124, allocations: 29.69 kB / 0.647 GB, free: 172 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.124, allocations: 108.3 kB / 0.6471 GB, free: 60 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.1241, allocations: 27.64 kB / 0.6471 GB, free: 32 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1241, allocations: 21.72 kB / 0.6472 GB, free: 4 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1243, allocations: 334.8 kB / 0.6475 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/0.1243, allocations: 51.98 kB / 0.6475 GB, free: 15.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.1244, allocations: 65.69 kB / 0.6476 GB, free: 15.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.1246, allocations: 173.1 kB / 0.6478 GB, free: 15.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1246, allocations: 4 kB / 0.6478 GB, free: 15.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002675/0.1249, allocations: 243 kB / 0.648 GB, free: 15.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.1249, allocations: 41.62 kB / 0.648 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1249, allocations: 96 / 0.648 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1249, allocations: 7.984 kB / 0.648 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.125, allocations: 4 kB / 0.6481 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.125, allocations: 7.938 kB / 0.6481 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.1251, allocations: 11.89 kB / 0.6481 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1251, allocations: 8.062 kB / 0.6481 GB, free: 15.02 MB / 458.7 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.0001293/0.1253, allocations: 183.4 kB / 0.6483 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.1253, allocations: 11.91 kB / 0.6483 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.1254, allocations: 74.92 kB / 0.6483 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1255, allocations: 0 / 0.6483 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1255, allocations: 0 / 0.6483 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1255, allocations: 4 kB / 0.6483 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1256, allocations: 217.5 kB / 0.6485 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1257, allocations: 4 kB / 0.6486 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.1257, allocations: 4 kB / 0.6486 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1257, allocations: 4 kB / 0.6486 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1257, allocations: 0 / 0.6486 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1257, allocations: 4 kB / 0.6486 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1257, allocations: 3.984 kB / 0.6486 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.1264, allocations: 0.9425 MB / 0.6495 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.1265, allocations: 100.9 kB / 0.6496 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1265, allocations: 4 kB / 0.6496 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.1266, allocations: 7.984 kB / 0.6496 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1266, allocations: 11.94 kB / 0.6496 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1267, allocations: 4 kB / 0.6496 GB, free: 13.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1268, allocations: 152.1 kB / 0.6498 GB, free: 13.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1268, allocations: 0 / 0.6498 GB, free: 13.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.1271, allocations: 32 kB / 0.6498 GB, free: 13.12 MB / 458.7 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.0001634/0.1273, allocations: 137.3 kB / 0.6499 GB, free: 12.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1276, allocations: 215.5 kB / 0.6501 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1276, allocations: 0 / 0.6501 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.1277, allocations: 151.3 kB / 0.6503 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.1279, allocations: 17.31 kB / 0.6503 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.1285, allocations: 488.5 kB / 0.6507 GB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1287, allocations: 0.7197 MB / 0.6515 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.1288, allocations: 7.984 kB / 0.6515 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.1288, allocations: 11.44 kB / 0.6515 GB, free: 11.29 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1288, allocations: 0 / 0.6515 GB, free: 11.29 MB / 458.7 MB Notification: Performance of Templates: time 0.003467/0.1323, allocations: 1.314 MB / 0.6528 GB, free: 9.984 MB / 458.7 MB 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)