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.001076/0.001081, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009054/0.0009055, allocations: 177.3 kB / 15.94 MB, free: 228 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.172/1.172, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6369/0.6369, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002491/0.0002491, allocations: 11.94 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001225/0.3012, allocations: 1.188 MB / 0.5841 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006988/0.302, allocations: 0.5459 MB / 0.5847 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.302, allocations: 0.5938 kB / 0.5847 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.3022, allocations: 69.19 kB / 0.5847 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.3023, allocations: 83.53 kB / 0.5848 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.3026, allocations: 61.62 kB / 0.5849 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3027, allocations: 63.92 kB / 0.5849 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.301e-05/0.3028, allocations: 5.984 kB / 0.5849 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.3029, allocations: 56.39 kB / 0.585 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.303, allocations: 72.11 kB / 0.5851 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3031, allocations: 6.25 kB / 0.5851 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3032, allocations: 59.84 kB / 0.5851 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.3032, allocations: 26.72 kB / 0.5851 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.3032, allocations: 49.61 kB / 0.5852 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.3034, allocations: 94.94 kB / 0.5853 GB, free: 2.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.3034, allocations: 0 / 0.5853 GB, free: 2.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3034, allocations: 0 / 0.5853 GB, free: 2.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.3034, allocations: 0 / 0.5853 GB, free: 2.582 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.0003581/0.3038, allocations: 436.2 kB / 0.5857 GB, free: 2.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3038, allocations: 13.27 kB / 0.5857 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.3039, allocations: 34.08 kB / 0.5857 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.3039, allocations: 14.5 kB / 0.5858 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.304, allocations: 198.8 kB / 0.5859 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.304, allocations: 5.938 kB / 0.586 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3041, allocations: 3.219 kB / 0.586 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3042, allocations: 108.5 kB / 0.5861 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.3042, allocations: 0 / 0.5861 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3042, allocations: 5.031 kB / 0.5861 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3043, allocations: 0.875 kB / 0.5861 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.3043, allocations: 63.17 kB / 0.5861 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.3046, allocations: 303 kB / 0.5864 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.932e-05/0.3048, allocations: 95.48 kB / 0.5865 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3048, allocations: 9.328 kB / 0.5865 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.305, allocations: 145.8 kB / 0.5867 GB, free: 1.301 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.305, allocations: 3.984 kB / 0.5867 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003945/0.3054, allocations: 374.8 kB / 0.587 GB, free: 1.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.3054, allocations: 106.9 kB / 0.5871 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.3056, allocations: 212.5 kB / 0.5873 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.3056, allocations: 30.33 kB / 0.5873 GB, free: 0.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.3056, allocations: 106.8 kB / 0.5875 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3056, allocations: 26.25 kB / 0.5875 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.3057, allocations: 0 / 0.5875 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.3057, allocations: 328.7 kB / 0.5878 GB, free: 364 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.3058, allocations: 46.97 kB / 0.5878 GB, free: 356 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.3058, allocations: 69.48 kB / 0.5879 GB, free: 324 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.601e-05/0.3059, allocations: 89.42 kB / 0.588 GB, free: 268 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3059, allocations: 1.125 kB / 0.588 GB, free: 268 kB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002423/0.3062, allocations: 241.7 kB / 0.5882 GB, free: 156 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.3062, allocations: 37.72 kB / 0.5883 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3062, allocations: 0.5312 kB / 0.5883 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.3062, allocations: 1.156 kB / 0.5883 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.3063, allocations: 7.922 kB / 0.5883 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3063, allocations: 6.062 kB / 0.5883 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.3064, allocations: 20.08 kB / 0.5883 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3064, allocations: 4.375 kB / 0.5883 GB, free: 104 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.0001288/0.3065, allocations: 175.2 kB / 0.5885 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.3066, allocations: 12 kB / 0.5885 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.3067, allocations: 72.17 kB / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3067, allocations: 2.031 kB / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3067, allocations: 0 / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3067, allocations: 6.062 kB / 0.5885 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.3069, allocations: 213.1 kB / 0.5887 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3069, allocations: 5.062 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.307, allocations: 7.453 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.307, allocations: 1.75 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.307, allocations: 4.266 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.307, allocations: 0.6562 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.307, allocations: 1 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.3073, allocations: 321.9 kB / 0.5891 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.3074, allocations: 110.2 kB / 0.5892 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.3075, allocations: 4.062 kB / 0.5892 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.3075, allocations: 3.938 kB / 0.5892 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.3076, allocations: 9.266 kB / 0.5892 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3076, allocations: 4.938 kB / 0.5892 GB, free: 15.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.3077, allocations: 155.2 kB / 0.5894 GB, free: 15.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3077, allocations: 4 kB / 0.5894 GB, free: 15.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.308, allocations: 41.41 kB / 0.5894 GB, free: 15.26 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.0006346/0.3086, allocations: 0.9322 MB / 0.5903 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3089, allocations: 224.2 kB / 0.5905 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3089, allocations: 0.7812 kB / 0.5905 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.309, allocations: 148.1 kB / 0.5907 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.3091, allocations: 12.88 kB / 0.5907 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.3105, allocations: 1.21 MB / 0.5919 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3108, allocations: 0.7259 MB / 0.5926 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.3108, allocations: 3.828 kB / 0.5926 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.3108, allocations: 32.62 kB / 0.5926 GB, free: 12.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3109, allocations: 0 / 0.5926 GB, free: 12.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9233/1.234, allocations: 2.76 MB / 0.5953 GB, free: 12.53 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/1.234, allocations: 197.8 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.755, allocations: 2.25 kB / 0.5955 GB, free: 12.29 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: