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.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001105/0.001105, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.1 MB / 425.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.98 kB / 0.5047 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2557, allocations: 80.93 MB / 0.5837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.004601/0.2604, allocations: 1.546 MB / 0.5852 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.2622, allocations: 0.5884 MB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.2623, allocations: 0 / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.2626, allocations: 79.88 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.2629, allocations: 87.75 kB / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.2634, allocations: 67.25 kB / 0.586 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.2636, allocations: 91.8 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2638, allocations: 19.91 kB / 0.5861 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.264, allocations: 51.88 kB / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.2643, allocations: 79.86 kB / 0.5863 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.2643, allocations: 7.938 kB / 0.5863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.2645, allocations: 75.86 kB / 0.5863 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.2647, allocations: 27.91 kB / 0.5864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2648, allocations: 47.61 kB / 0.5864 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.2651, allocations: 127.7 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.2652, allocations: 4 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2652, allocations: 3.938 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2652, allocations: 0 / 0.5865 GB, free: 2.098 MB / 494.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.0008524/0.2661, allocations: 452.8 kB / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.2661, allocations: 8.031 kB / 0.587 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/0.2662, allocations: 16.75 kB / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.2665, allocations: 204.8 kB / 0.5872 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.2666, allocations: 4.375 kB / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.2666, allocations: 384 / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.267, allocations: 123.6 kB / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.267, allocations: 0 / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.267, allocations: 0 / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.267, allocations: 0 / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.2672, allocations: 59.97 kB / 0.5874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.2678, allocations: 301.7 kB / 0.5876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.2681, allocations: 97.19 kB / 0.5877 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.2683, allocations: 73.75 kB / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.2683, allocations: 3.938 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.2687, allocations: 154.8 kB / 0.588 GB, free: 432 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.2687, allocations: 0 / 0.588 GB, free: 432 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008153/0.2695, allocations: 299.1 kB / 0.5882 GB, free: 120 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.2697, allocations: 106.8 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.27, allocations: 203.7 kB / 0.5885 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.27, allocations: 25.7 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2702, allocations: 112.1 kB / 0.5887 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.2702, allocations: 31.69 kB / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.2703, allocations: 29.64 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2705, allocations: 326.8 kB / 0.589 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.2707, allocations: 51.98 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2708, allocations: 69.62 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.2711, allocations: 181 kB / 0.5893 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2712, allocations: 0 / 0.5893 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005421/0.2717, allocations: 243.1 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-05/0.2718, allocations: 37.7 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.2718, allocations: 0 / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2719, allocations: 0 / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.272, allocations: 11.98 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.272, allocations: 3.938 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2721, allocations: 4 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.2722, allocations: 4 kB / 0.5896 GB, free: 14.6 MB / 0.4981 GB 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.0002346/0.2724, allocations: 190.1 kB / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.2725, allocations: 15.81 kB / 0.5898 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.2727, allocations: 75.16 kB / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2727, allocations: 0 / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.2728, allocations: 0 / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2728, allocations: 0 / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.2731, allocations: 213.5 kB / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2731, allocations: 4 kB / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.2732, allocations: 11.92 kB / 0.5901 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.2732, allocations: 8 kB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.2732, allocations: 4 kB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.2732, allocations: 4 kB / 0.5901 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2733, allocations: 0 / 0.5901 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.2738, allocations: 302.8 kB / 0.5904 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.274, allocations: 97 kB / 0.5905 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.274, allocations: 8 kB / 0.5905 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.2741, allocations: 8 kB / 0.5905 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.2742, allocations: 7.984 kB / 0.5905 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.2743, allocations: 4 kB / 0.5905 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001991/0.2745, allocations: 159.9 kB / 0.5907 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2745, allocations: 0 / 0.5907 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004739/0.275, allocations: 36 kB / 0.5907 GB, free: 13.36 MB / 0.4981 GB 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.0003179/0.2753, allocations: 131.2 kB / 0.5908 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.2758, allocations: 219.3 kB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2758, allocations: 4 kB / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.2761, allocations: 151.3 kB / 0.5912 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.2765, allocations: 8 kB / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/0.2774, allocations: 365.4 kB / 0.5916 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.2779, allocations: 0.7119 MB / 0.5923 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.228e-05/0.278, allocations: 8 kB / 0.5923 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.278, allocations: 11.44 kB / 0.5923 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of SimCode: time 5.23e-06/0.278, allocations: 4 kB / 0.5923 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.007221/0.2853, allocations: 1.263 MB / 0.5935 GB, free: 10.44 MB / 0.4981 GB 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)