Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001052/0.001052, allocations: 104.2 kB / 16.35 MB, free: 5.875 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.001194/0.001195, allocations: 191 kB / 17.29 MB, free: 5.516 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7578/0.7578, allocations: 132.2 MB / 423.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.89 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3618, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002358/0.3642, allocations: 1.486 MB / 0.5829 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008192/0.3651, allocations: 0.5975 MB / 0.5835 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.3651, allocations: 0 / 0.5835 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.3653, allocations: 79.69 kB / 0.5836 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.3654, allocations: 79.11 kB / 0.5837 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.3658, allocations: 91.44 kB / 0.5838 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3659, allocations: 107.2 kB / 0.5839 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.554e-05/0.366, allocations: 8.797 kB / 0.5839 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3661, allocations: 62.19 kB / 0.5839 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3662, allocations: 90.83 kB / 0.584 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3663, allocations: 5.5 kB / 0.584 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3664, allocations: 77.58 kB / 0.5841 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.3664, allocations: 23.36 kB / 0.5841 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.3665, allocations: 42.08 kB / 0.5842 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.3667, allocations: 133.3 kB / 0.5843 GB, free: 25.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3667, allocations: 1.125 kB / 0.5843 GB, free: 25.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3667, allocations: 1.125 kB / 0.5843 GB, free: 25.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3667, allocations: 0 / 0.5843 GB, free: 25.61 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.0004565/0.3672, allocations: 460.6 kB / 0.5847 GB, free: 25.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3672, allocations: 10.12 kB / 0.5847 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.3672, allocations: 15.72 kB / 0.5848 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3674, allocations: 207.6 kB / 0.585 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3674, allocations: 11.03 kB / 0.585 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.3675, allocations: 2.562 kB / 0.585 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3676, allocations: 111.7 kB / 0.5851 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3677, allocations: 0 / 0.5851 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3677, allocations: 5.5 kB / 0.5851 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3677, allocations: 0.625 kB / 0.5851 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.777e-05/0.3678, allocations: 58.72 kB / 0.5851 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.3681, allocations: 302.1 kB / 0.5854 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3682, allocations: 100.9 kB / 0.5855 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.834e-05/0.3683, allocations: 69.59 kB / 0.5856 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3683, allocations: 1.75 kB / 0.5856 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.3685, allocations: 149.1 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/0.3685, allocations: 1.531 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000434/0.3689, allocations: 296.8 kB / 0.586 GB, free: 24.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.369, allocations: 114.3 kB / 0.5861 GB, free: 23.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3691, allocations: 207.7 kB / 0.5863 GB, free: 23.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.3691, allocations: 28.3 kB / 0.5863 GB, free: 23.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.3692, allocations: 107.8 kB / 0.5864 GB, free: 23.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3692, allocations: 29.77 kB / 0.5865 GB, free: 23.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.3693, allocations: 26.61 kB / 0.5865 GB, free: 23.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.3693, allocations: 331.7 kB / 0.5868 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.3694, allocations: 49.39 kB / 0.5869 GB, free: 23.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.3695, allocations: 67.66 kB / 0.5869 GB, free: 23.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.3696, allocations: 175.4 kB / 0.5871 GB, free: 23.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3696, allocations: 0.5312 kB / 0.5871 GB, free: 23.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002399/0.3699, allocations: 248.5 kB / 0.5873 GB, free: 23.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.3699, allocations: 37.45 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3699, allocations: 0 / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3699, allocations: 1.438 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.37, allocations: 14.67 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.37, allocations: 2.625 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.3701, allocations: 6.594 kB / 0.5874 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3701, allocations: 3.688 kB / 0.5874 GB, free: 22.97 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 0.0001026/0.3702, allocations: 176.4 kB / 0.5876 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.3702, allocations: 14.91 kB / 0.5876 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.3704, allocations: 76.09 kB / 0.5877 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3704, allocations: 1.344 kB / 0.5877 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3704, allocations: 1.375 kB / 0.5877 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3704, allocations: 1.312 kB / 0.5877 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.3705, allocations: 214.2 kB / 0.5879 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3705, allocations: 0 / 0.5879 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.3706, allocations: 8.219 kB / 0.5879 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3706, allocations: 5.375 kB / 0.5879 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3706, allocations: 6.266 kB / 0.5879 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3706, allocations: 7.75 kB / 0.5879 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3706, allocations: 0 / 0.5879 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.3709, allocations: 311 kB / 0.5882 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.371, allocations: 104.9 kB / 0.5883 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.371, allocations: 5.062 kB / 0.5883 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.252e-05/0.3711, allocations: 2.5 kB / 0.5883 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.3711, allocations: 12.73 kB / 0.5883 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3711, allocations: 4.969 kB / 0.5883 GB, free: 22.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.02e-05/0.3712, allocations: 148 kB / 0.5884 GB, free: 22.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3712, allocations: 0 / 0.5884 GB, free: 22.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.3715, allocations: 40.14 kB / 0.5885 GB, free: 22.08 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.0001555/0.3716, allocations: 126.1 kB / 0.5886 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3719, allocations: 228.9 kB / 0.5888 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3719, allocations: 0 / 0.5888 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.372, allocations: 147.4 kB / 0.589 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.3722, allocations: 11.53 kB / 0.589 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.3727, allocations: 314.8 kB / 0.5893 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.3728, allocations: 0.7206 MB / 0.59 GB, free: 20.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.296e-05/0.3728, allocations: 1.562 kB / 0.59 GB, free: 20.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.3729, allocations: 10.25 kB / 0.59 GB, free: 20.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3729, allocations: 0 / 0.59 GB, free: 20.8 MB / 446.1 MB Notification: Performance of Templates: time 0.00343/0.3763, allocations: 1.336 MB / 0.5913 GB, free: 19.73 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)