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.001211/0.001212, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001127/0.001127, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7921/0.7921, allocations: 135.2 MB / 426.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 63.91 kB / 0.506 GB, free: 8.305 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3724, allocations: 80.92 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002719/0.3751, allocations: 1.491 MB / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.3761, allocations: 0.5767 MB / 0.5871 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.3762, allocations: 2 kB / 0.5871 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.3764, allocations: 75.17 kB / 0.5872 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.3766, allocations: 81.88 kB / 0.5872 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.377, allocations: 96.17 kB / 0.5873 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.3772, allocations: 99.08 kB / 0.5874 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.3773, allocations: 10.17 kB / 0.5874 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.3774, allocations: 61.69 kB / 0.5875 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.3776, allocations: 82.55 kB / 0.5876 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3776, allocations: 4.594 kB / 0.5876 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.3778, allocations: 80.95 kB / 0.5876 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.3778, allocations: 23.42 kB / 0.5877 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.3779, allocations: 55.89 kB / 0.5877 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.3781, allocations: 128.1 kB / 0.5878 GB, free: 23.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3781, allocations: 0 / 0.5878 GB, free: 23.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3781, allocations: 2 kB / 0.5878 GB, free: 23.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3781, allocations: 0 / 0.5878 GB, free: 23.23 MB / 446.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.0004544/0.3786, allocations: 458 kB / 0.5883 GB, free: 22.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3786, allocations: 10.17 kB / 0.5883 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.3787, allocations: 16.62 kB / 0.5883 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.3788, allocations: 205 kB / 0.5885 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3789, allocations: 8.875 kB / 0.5885 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3789, allocations: 7.219 kB / 0.5885 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.3791, allocations: 116.5 kB / 0.5886 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3791, allocations: 1.344 kB / 0.5886 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3791, allocations: 1.531 kB / 0.5886 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3791, allocations: 1.094 kB / 0.5886 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.3792, allocations: 60.84 kB / 0.5887 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.3796, allocations: 297.8 kB / 0.589 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3797, allocations: 98.95 kB / 0.5891 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.3798, allocations: 72.11 kB / 0.5891 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.3798, allocations: 0 / 0.5891 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.38, allocations: 156.2 kB / 0.5893 GB, free: 21.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.38, allocations: 2.125 kB / 0.5893 GB, free: 21.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003973/0.3804, allocations: 296.8 kB / 0.5896 GB, free: 21.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.3805, allocations: 106.8 kB / 0.5897 GB, free: 21.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3806, allocations: 199.8 kB / 0.5899 GB, free: 21.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.3806, allocations: 34.58 kB / 0.5899 GB, free: 21.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.3807, allocations: 108 kB / 0.59 GB, free: 21.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.3807, allocations: 25.03 kB / 0.59 GB, free: 21.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.3807, allocations: 29.7 kB / 0.5901 GB, free: 21.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.3808, allocations: 331.5 kB / 0.5904 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.3809, allocations: 47.98 kB / 0.5904 GB, free: 20.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.3809, allocations: 70.44 kB / 0.5905 GB, free: 20.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.381, allocations: 179.5 kB / 0.5907 GB, free: 20.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.381, allocations: 0 / 0.5907 GB, free: 20.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002041/0.3813, allocations: 247.1 kB / 0.5909 GB, free: 20.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3813, allocations: 33.7 kB / 0.5909 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3813, allocations: 0.5625 kB / 0.5909 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3813, allocations: 3.938 kB / 0.5909 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.3814, allocations: 13.11 kB / 0.5909 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3814, allocations: 0 / 0.5909 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/0.3815, allocations: 9.906 kB / 0.591 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3815, allocations: 8 kB / 0.591 GB, free: 20.16 MB / 446.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.513e-05/0.3816, allocations: 180.8 kB / 0.5911 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.3816, allocations: 11.91 kB / 0.5911 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.3818, allocations: 64.17 kB / 0.5912 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3818, allocations: 5.734 kB / 0.5912 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3818, allocations: 0 / 0.5912 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3818, allocations: 3.984 kB / 0.5912 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.3819, allocations: 217.4 kB / 0.5914 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3819, allocations: 0.875 kB / 0.5914 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.3819, allocations: 12 kB / 0.5914 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.382, allocations: 1.062 kB / 0.5914 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.382, allocations: 7.984 kB / 0.5914 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.382, allocations: 8 kB / 0.5914 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.382, allocations: 1.562 kB / 0.5914 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.3822, allocations: 305.1 kB / 0.5917 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.3823, allocations: 100.9 kB / 0.5918 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3823, allocations: 8 kB / 0.5918 GB, free: 19.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.3824, allocations: 4 kB / 0.5918 GB, free: 19.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.3824, allocations: 7.422 kB / 0.5919 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3824, allocations: 12 kB / 0.5919 GB, free: 19.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.3825, allocations: 153.1 kB / 0.592 GB, free: 18.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3825, allocations: 0 / 0.592 GB, free: 18.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.3828, allocations: 39.98 kB / 0.5921 GB, free: 18.95 MB / 446.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.000137/0.3829, allocations: 127.2 kB / 0.5922 GB, free: 18.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.3831, allocations: 220.5 kB / 0.5924 GB, free: 18.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3831, allocations: 3.938 kB / 0.5924 GB, free: 18.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.884e-05/0.3832, allocations: 155.3 kB / 0.5925 GB, free: 18.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.3834, allocations: 14.5 kB / 0.5925 GB, free: 18.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.3839, allocations: 354.9 kB / 0.5929 GB, free: 18.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.384, allocations: 0.7133 MB / 0.5936 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.384, allocations: 11.44 kB / 0.5936 GB, free: 17.28 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.384, allocations: 0 / 0.5936 GB, free: 17.28 MB / 446.1 MB Notification: Performance of Templates: time 0.002595/0.3866, allocations: 1.567 MB / 0.5951 GB, free: 15.77 MB / 446.1 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)