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.001142/0.001142, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.188/1.188, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6713/0.6713, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.06 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3126, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002143/0.3148, allocations: 1.487 MB / 0.5816 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000777/0.3156, allocations: 0.5803 MB / 0.5822 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.3156, allocations: 0.9062 kB / 0.5822 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.3158, allocations: 81.23 kB / 0.5823 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3159, allocations: 83.36 kB / 0.5824 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.3163, allocations: 92.09 kB / 0.5825 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.3164, allocations: 97.88 kB / 0.5826 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.394e-05/0.3165, allocations: 13.7 kB / 0.5826 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3166, allocations: 57.45 kB / 0.5826 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3167, allocations: 89.88 kB / 0.5827 GB, free: 3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3167, allocations: 3.469 kB / 0.5827 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.3169, allocations: 78.25 kB / 0.5828 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.3169, allocations: 27.69 kB / 0.5828 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.317, allocations: 36.56 kB / 0.5828 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.3172, allocations: 138.8 kB / 0.583 GB, free: 2.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3172, allocations: 0 / 0.583 GB, free: 2.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3172, allocations: 4 kB / 0.583 GB, free: 2.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.3172, allocations: 0 / 0.583 GB, free: 2.887 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.0003769/0.3176, allocations: 456.1 kB / 0.5834 GB, free: 2.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.3176, allocations: 13.72 kB / 0.5834 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.465e-05/0.3176, allocations: 33.59 kB / 0.5835 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3177, allocations: 16.89 kB / 0.5835 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3178, allocations: 210.9 kB / 0.5837 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.3178, allocations: 2.5 kB / 0.5837 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3178, allocations: 3.156 kB / 0.5837 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.318, allocations: 113 kB / 0.5838 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.318, allocations: 4.719 kB / 0.5838 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.318, allocations: 0.7188 kB / 0.5838 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.318, allocations: 2.047 kB / 0.5838 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.72e-05/0.3181, allocations: 58.52 kB / 0.5839 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.3184, allocations: 302.1 kB / 0.5841 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3185, allocations: 96.48 kB / 0.5842 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.3186, allocations: 80.25 kB / 0.5843 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.3187, allocations: 1.828 kB / 0.5843 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.3188, allocations: 152.9 kB / 0.5845 GB, free: 1.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3189, allocations: 0.8438 kB / 0.5845 GB, free: 1.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004027/0.3193, allocations: 300 kB / 0.5847 GB, free: 1.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.3193, allocations: 107 kB / 0.5848 GB, free: 1.301 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.3195, allocations: 207.4 kB / 0.585 GB, free: 1.172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3195, allocations: 27.7 kB / 0.5851 GB, free: 1.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.3195, allocations: 110.5 kB / 0.5852 GB, free: 1.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.3196, allocations: 29.36 kB / 0.5852 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.3196, allocations: 24.81 kB / 0.5852 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.3196, allocations: 327.9 kB / 0.5855 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.3197, allocations: 52.22 kB / 0.5856 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.3198, allocations: 66.3 kB / 0.5857 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3199, allocations: 183.5 kB / 0.5858 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.32, allocations: 7.938 kB / 0.5858 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002452/0.3202, allocations: 238.5 kB / 0.5861 GB, free: 416 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.3202, allocations: 40.47 kB / 0.5861 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3202, allocations: 0.5 kB / 0.5861 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3203, allocations: 2.109 kB / 0.5861 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.3203, allocations: 7.219 kB / 0.5861 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3203, allocations: 2.031 kB / 0.5861 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/0.3204, allocations: 7.453 kB / 0.5861 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3204, allocations: 4.25 kB / 0.5861 GB, free: 376 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 (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 9.642e-05/0.3205, allocations: 181 kB / 0.5863 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.3206, allocations: 20.34 kB / 0.5863 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.3207, allocations: 67.44 kB / 0.5864 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3207, allocations: 2.406 kB / 0.5864 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3207, allocations: 0 / 0.5864 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3207, allocations: 2.281 kB / 0.5864 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.3209, allocations: 213.8 kB / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3209, allocations: 4 kB / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3209, allocations: 8.719 kB / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3209, allocations: 0.75 kB / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.321, allocations: 7.922 kB / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.321, allocations: 1.344 kB / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.321, allocations: 0.75 kB / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.3213, allocations: 310.5 kB / 0.5869 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.3214, allocations: 105.3 kB / 0.587 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.3214, allocations: 11.22 kB / 0.587 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.391e-05/0.3215, allocations: 3.969 kB / 0.587 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.3215, allocations: 5.609 kB / 0.587 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3215, allocations: 4.391 kB / 0.587 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3217, allocations: 151.2 kB / 0.5872 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3217, allocations: 0 / 0.5872 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.3219, allocations: 41.36 kB / 0.5872 GB, free: 15.54 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.0006277/0.3226, allocations: 0.8616 MB / 0.5881 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.3228, allocations: 226.5 kB / 0.5883 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3228, allocations: 3.938 kB / 0.5883 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.323, allocations: 153.2 kB / 0.5884 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.3232, allocations: 16.06 kB / 0.5884 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.3252, allocations: 2.082 MB / 0.5905 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3254, allocations: 0.7178 MB / 0.5912 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.939e-05/0.3255, allocations: 3.516 kB / 0.5912 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.3255, allocations: 37.78 kB / 0.5912 GB, free: 12.42 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3255, allocations: 4 kB / 0.5912 GB, free: 12.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9115/1.237, allocations: 3.008 MB / 0.5942 GB, free: 11.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/9.212, allocations: 9.906 kB / 0.5942 GB, free: 11.94 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/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)