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.001305/0.001305, allocations: 104.3 kB / 16.27 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.001287/0.001287, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8323/0.8323, allocations: 135.2 MB / 426.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.89 kB / 0.506 GB, free: 8.305 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3306, allocations: 80.92 MB / 0.5851 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002186/0.3329, allocations: 1.489 MB / 0.5865 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000757/0.3336, allocations: 0.5814 MB / 0.5871 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.3337, allocations: 1.188 kB / 0.5871 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.3338, allocations: 71 kB / 0.5871 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.334, allocations: 81.16 kB / 0.5872 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.3343, allocations: 93.67 kB / 0.5873 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3344, allocations: 102.1 kB / 0.5874 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.702e-05/0.3345, allocations: 10.48 kB / 0.5874 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3346, allocations: 62.38 kB / 0.5875 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3347, allocations: 81.11 kB / 0.5876 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3348, allocations: 4.906 kB / 0.5876 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3349, allocations: 81.16 kB / 0.5876 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.3349, allocations: 23.52 kB / 0.5877 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.335, allocations: 46.2 kB / 0.5877 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3352, allocations: 138.1 kB / 0.5878 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3352, allocations: 0 / 0.5878 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3352, allocations: 1 kB / 0.5878 GB, free: 23.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3352, allocations: 0 / 0.5878 GB, free: 23.21 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.0003709/0.3356, allocations: 458 kB / 0.5883 GB, free: 22.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.3356, allocations: 11.67 kB / 0.5883 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3356, allocations: 15.62 kB / 0.5883 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3358, allocations: 201.4 kB / 0.5885 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.3358, allocations: 5.906 kB / 0.5885 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.3358, allocations: 4.438 kB / 0.5885 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3359, allocations: 113.3 kB / 0.5886 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.336, allocations: 1.969 kB / 0.5886 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.336, allocations: 1.125 kB / 0.5886 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.336, allocations: 5.203 kB / 0.5886 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.3361, allocations: 58.94 kB / 0.5887 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.3364, allocations: 302.4 kB / 0.589 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3365, allocations: 101.7 kB / 0.5891 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.3365, allocations: 72.86 kB / 0.5891 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3366, allocations: 2.188 kB / 0.5891 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.3367, allocations: 155.2 kB / 0.5893 GB, free: 21.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3368, allocations: 1.719 kB / 0.5893 GB, free: 21.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000364/0.3371, allocations: 293.6 kB / 0.5896 GB, free: 21.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.3372, allocations: 109.1 kB / 0.5897 GB, free: 21.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3373, allocations: 199.8 kB / 0.5899 GB, free: 21.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3373, allocations: 33.7 kB / 0.5899 GB, free: 21.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.3373, allocations: 108 kB / 0.59 GB, free: 21.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.3374, allocations: 29.61 kB / 0.59 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.3374, allocations: 25.7 kB / 0.59 GB, free: 21.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.3375, allocations: 334.8 kB / 0.5904 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.3375, allocations: 43.98 kB / 0.5904 GB, free: 20.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.3376, allocations: 70.94 kB / 0.5905 GB, free: 20.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3377, allocations: 181.7 kB / 0.5906 GB, free: 20.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3377, allocations: 1.688 kB / 0.5907 GB, free: 20.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002009/0.3379, allocations: 243.1 kB / 0.5909 GB, free: 20.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.338, allocations: 37.69 kB / 0.5909 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.338, allocations: 3.938 kB / 0.5909 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.338, allocations: 3.156 kB / 0.5909 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.3381, allocations: 11.98 kB / 0.5909 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.3381, allocations: 0 / 0.5909 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.3381, allocations: 11.97 kB / 0.5909 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.597e-06/0.3382, allocations: 8 kB / 0.591 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.384e-05/0.3382, allocations: 177.6 kB / 0.5911 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.3383, allocations: 11.91 kB / 0.5911 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3384, allocations: 68.52 kB / 0.5912 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3384, allocations: 4.5 kB / 0.5912 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3384, allocations: 0 / 0.5912 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3384, allocations: 0.5625 kB / 0.5912 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.859e-05/0.3385, allocations: 214 kB / 0.5914 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3385, allocations: 0 / 0.5914 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.3386, allocations: 12.69 kB / 0.5914 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3386, allocations: 2.438 kB / 0.5914 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3386, allocations: 7.984 kB / 0.5914 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3386, allocations: 0 / 0.5914 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3386, allocations: 0 / 0.5914 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.3389, allocations: 314.6 kB / 0.5917 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.3389, allocations: 96.94 kB / 0.5918 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.3389, allocations: 8 kB / 0.5918 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.339, allocations: 1.5 kB / 0.5918 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.339, allocations: 7.984 kB / 0.5918 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3391, allocations: 8.141 kB / 0.5919 GB, free: 19.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.3391, allocations: 155 kB / 0.592 GB, free: 19.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3391, allocations: 0 / 0.592 GB, free: 19.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.3394, allocations: 43.98 kB / 0.592 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.0001303/0.3395, allocations: 132.3 kB / 0.5922 GB, free: 18.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.3397, allocations: 219.2 kB / 0.5924 GB, free: 18.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3398, allocations: 5.5 kB / 0.5924 GB, free: 18.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.3399, allocations: 159.3 kB / 0.5925 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.34, allocations: 13.69 kB / 0.5925 GB, free: 18.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.3404, allocations: 342.6 kB / 0.5929 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.3406, allocations: 0.718 MB / 0.5936 GB, free: 17.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.3406, allocations: 11.44 kB / 0.5936 GB, free: 17.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3406, allocations: 0 / 0.5936 GB, free: 17.3 MB / 446.1 MB Notification: Performance of Templates: time 0.002759/0.3433, allocations: 1.566 MB / 0.5951 GB, free: 15.79 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)