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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007522/0.0007522, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007846/0.0007846, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7318/0.7318, allocations: 132.3 MB / 423.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003095, allocations: 8.562 kB / 0.5035 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3787, allocations: 81.58 MB / 0.5832 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.0015/0.3803, allocations: 1.197 MB / 0.5843 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007693/0.381, allocations: 0.5475 MB / 0.5849 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.3811, allocations: 3.812 kB / 0.5849 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.3813, allocations: 66.91 kB / 0.5849 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.3814, allocations: 83.25 kB / 0.585 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.3817, allocations: 64.47 kB / 0.5851 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3818, allocations: 77.75 kB / 0.5851 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.406e-05/0.3819, allocations: 6.203 kB / 0.5852 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.382, allocations: 54.38 kB / 0.5852 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3822, allocations: 76.78 kB / 0.5853 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.3822, allocations: 5.781 kB / 0.5853 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3823, allocations: 63.53 kB / 0.5853 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.3824, allocations: 26.95 kB / 0.5854 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.3824, allocations: 47.83 kB / 0.5854 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.3825, allocations: 96.88 kB / 0.5855 GB, free: 2.547 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3826, allocations: 0 / 0.5855 GB, free: 2.547 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3826, allocations: 0 / 0.5855 GB, free: 2.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.3826, allocations: 0 / 0.5855 GB, free: 2.547 MB / 430.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.0003654/0.3829, allocations: 435.5 kB / 0.5859 GB, free: 2.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.383, allocations: 14.19 kB / 0.5859 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.702e-05/0.383, allocations: 33.48 kB / 0.586 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.3831, allocations: 18.89 kB / 0.586 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3832, allocations: 199 kB / 0.5862 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3832, allocations: 2.031 kB / 0.5862 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3832, allocations: 2.625 kB / 0.5862 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.3834, allocations: 109 kB / 0.5863 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3834, allocations: 0.5625 kB / 0.5863 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3834, allocations: 1.594 kB / 0.5863 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3834, allocations: 4 kB / 0.5863 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.3835, allocations: 66.11 kB / 0.5864 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.3838, allocations: 299.3 kB / 0.5866 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.384, allocations: 100 kB / 0.5867 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.904e-05/0.3841, allocations: 75.25 kB / 0.5868 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3841, allocations: 1.938 kB / 0.5868 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.3843, allocations: 144.9 kB / 0.5869 GB, free: 1.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3843, allocations: 0 / 0.5869 GB, free: 1.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004127/0.3847, allocations: 303.2 kB / 0.5872 GB, free: 1.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.3848, allocations: 107 kB / 0.5873 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3849, allocations: 204.4 kB / 0.5875 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.385, allocations: 31.05 kB / 0.5876 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.385, allocations: 110.2 kB / 0.5877 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.385, allocations: 29.23 kB / 0.5877 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.385, allocations: 1.062 kB / 0.5877 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.3851, allocations: 329.9 kB / 0.588 GB, free: 388 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.3852, allocations: 50.61 kB / 0.5881 GB, free: 376 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.3852, allocations: 69.64 kB / 0.5881 GB, free: 344 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.045e-05/0.3853, allocations: 81.67 kB / 0.5882 GB, free: 296 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3853, allocations: 0.6562 kB / 0.5882 GB, free: 296 kB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002629/0.3856, allocations: 240.8 kB / 0.5884 GB, free: 184 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.3856, allocations: 36.31 kB / 0.5885 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3857, allocations: 1 kB / 0.5885 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.3857, allocations: 1.344 kB / 0.5885 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.3858, allocations: 16.25 kB / 0.5885 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3858, allocations: 4.656 kB / 0.5885 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.3858, allocations: 8.734 kB / 0.5885 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.3859, allocations: 8.266 kB / 0.5885 GB, free: 132 kB / 430.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 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.386, allocations: 179.7 kB / 0.5887 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.386, allocations: 15.28 kB / 0.5887 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.3862, allocations: 67.62 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3862, allocations: 5.344 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3862, allocations: 1 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3862, allocations: 5.812 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.3864, allocations: 209.4 kB / 0.589 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3864, allocations: 0.8438 kB / 0.589 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.3864, allocations: 8.203 kB / 0.589 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3864, allocations: 2.062 kB / 0.589 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3865, allocations: 3.922 kB / 0.589 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.3865, allocations: 7.938 kB / 0.589 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3865, allocations: 0.7812 kB / 0.589 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.3868, allocations: 305.1 kB / 0.5893 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.3869, allocations: 106.6 kB / 0.5894 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.387, allocations: 3.781 kB / 0.5894 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-05/0.387, allocations: 3.688 kB / 0.5894 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.3871, allocations: 13.78 kB / 0.5894 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.3871, allocations: 4.812 kB / 0.5894 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3872, allocations: 155.6 kB / 0.5896 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3872, allocations: 0 / 0.5896 GB, free: 15.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.3875, allocations: 36.31 kB / 0.5896 GB, free: 15.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00068/0.3882, allocations: 0.87 MB / 0.5904 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.3885, allocations: 219.6 kB / 0.5906 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3885, allocations: 0 / 0.5906 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3886, allocations: 152.2 kB / 0.5908 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.3888, allocations: 11.48 kB / 0.5908 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.3903, allocations: 1.082 MB / 0.5919 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.3906, allocations: 0.717 MB / 0.5926 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.903e-05/0.3906, allocations: 3.797 kB / 0.5926 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.3906, allocations: 38.03 kB / 0.5926 GB, free: 13.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3906, allocations: 0 / 0.5926 GB, free: 13.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.4034, allocations: 2.775 MB / 0.5953 GB, free: 12.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.4036, allocations: 205.2 kB / 0.5955 GB, free: 12.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.006, allocations: 2.109 kB / 0.5955 GB, free: 12.56 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) Environment - environmentSimulation: