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.001061/0.001061, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001096/0.001096, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7973/0.7973, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3429, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002224/0.3451, allocations: 1.494 MB / 0.5872 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007775/0.3459, allocations: 0.5874 MB / 0.5878 GB, free: 24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.346, allocations: 1.625 kB / 0.5878 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.3461, allocations: 70.03 kB / 0.5879 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.3463, allocations: 77.34 kB / 0.5879 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.3466, allocations: 96.55 kB / 0.588 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3467, allocations: 101.6 kB / 0.5881 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.3468, allocations: 9.859 kB / 0.5881 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3469, allocations: 53.94 kB / 0.5882 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.347, allocations: 94.91 kB / 0.5883 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.3471, allocations: 3.5 kB / 0.5883 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.3472, allocations: 77.59 kB / 0.5884 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.3472, allocations: 28.08 kB / 0.5884 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.3473, allocations: 39.19 kB / 0.5884 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3475, allocations: 137.7 kB / 0.5885 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3475, allocations: 1.312 kB / 0.5885 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3475, allocations: 1.562 kB / 0.5885 GB, free: 23.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3475, allocations: 0 / 0.5885 GB, free: 23.59 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.0004193/0.3479, allocations: 452.4 kB / 0.589 GB, free: 23.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.348, allocations: 15.23 kB / 0.589 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.348, allocations: 15.69 kB / 0.589 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.3482, allocations: 211.5 kB / 0.5892 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3482, allocations: 2.531 kB / 0.5892 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3482, allocations: 10.73 kB / 0.5892 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.3484, allocations: 108.1 kB / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3484, allocations: 0.5 kB / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3484, allocations: 1.844 kB / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3484, allocations: 0 / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.3485, allocations: 67.89 kB / 0.5894 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.3488, allocations: 299.4 kB / 0.5897 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/0.3489, allocations: 98.33 kB / 0.5898 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.3489, allocations: 74.3 kB / 0.5898 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.349, allocations: 5.125 kB / 0.5899 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.3491, allocations: 153.1 kB / 0.59 GB, free: 22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.3491, allocations: 0 / 0.59 GB, free: 22 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003191/0.3494, allocations: 295.2 kB / 0.5903 GB, free: 21.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3495, allocations: 111.7 kB / 0.5904 GB, free: 21.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.3496, allocations: 195.8 kB / 0.5906 GB, free: 21.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3496, allocations: 31.02 kB / 0.5906 GB, free: 21.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.3496, allocations: 116 kB / 0.5907 GB, free: 21.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3497, allocations: 31.78 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.3497, allocations: 22.97 kB / 0.5908 GB, free: 21.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.3498, allocations: 330.8 kB / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.397e-05/0.3499, allocations: 53.31 kB / 0.5911 GB, free: 20.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.102e-05/0.3499, allocations: 73.62 kB / 0.5912 GB, free: 20.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.35, allocations: 178.2 kB / 0.5914 GB, free: 20.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.35, allocations: 0 / 0.5914 GB, free: 20.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001959/0.3502, allocations: 241.5 kB / 0.5916 GB, free: 20.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3503, allocations: 37.69 kB / 0.5916 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3503, allocations: 0 / 0.5916 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3503, allocations: 4 kB / 0.5916 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.3504, allocations: 7.938 kB / 0.5916 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3504, allocations: 4.969 kB / 0.5917 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.3504, allocations: 7.891 kB / 0.5917 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3505, allocations: 8 kB / 0.5917 GB, free: 20.18 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 8.632e-05/0.3506, allocations: 182 kB / 0.5918 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.3506, allocations: 16.88 kB / 0.5919 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.3507, allocations: 59.72 kB / 0.5919 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3507, allocations: 4.703 kB / 0.5919 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3507, allocations: 3.938 kB / 0.5919 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3507, allocations: 5.688 kB / 0.5919 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.776e-05/0.3508, allocations: 217.5 kB / 0.5921 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3508, allocations: 0 / 0.5921 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.3509, allocations: 8 kB / 0.5921 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3509, allocations: 1.672 kB / 0.5921 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3509, allocations: 4 kB / 0.5921 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3509, allocations: 0 / 0.5921 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3509, allocations: 3.984 kB / 0.5922 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.3512, allocations: 314 kB / 0.5925 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.3512, allocations: 96.94 kB / 0.5925 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3512, allocations: 4 kB / 0.5925 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.3513, allocations: 7.938 kB / 0.5926 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.3513, allocations: 10.45 kB / 0.5926 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3514, allocations: 8 kB / 0.5926 GB, free: 19.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.449e-05/0.3514, allocations: 153.1 kB / 0.5927 GB, free: 19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3514, allocations: 0 / 0.5927 GB, free: 19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.3517, allocations: 36 kB / 0.5928 GB, free: 18.97 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.0001259/0.3518, allocations: 129.8 kB / 0.5929 GB, free: 18.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.352, allocations: 225.4 kB / 0.5931 GB, free: 18.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.352, allocations: 0 / 0.5931 GB, free: 18.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.3521, allocations: 151.4 kB / 0.5932 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.3523, allocations: 11.98 kB / 0.5932 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.3527, allocations: 313.3 kB / 0.5935 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3528, allocations: 0.721 MB / 0.5943 GB, free: 17.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.462e-05/0.3529, allocations: 5.953 kB / 0.5943 GB, free: 17.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.581e-05/0.3529, allocations: 11.44 kB / 0.5943 GB, free: 17.34 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3529, allocations: 0 / 0.5943 GB, free: 17.34 MB / 446.1 MB Notification: Performance of Templates: time 0.003346/0.3562, allocations: 1.344 MB / 0.5956 GB, free: 16.09 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)