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.0007797/0.0007798, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004443/0.004443, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.123/1.123, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6543/0.6543, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004706, allocations: 8 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3177, allocations: 81.56 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001248/0.319, allocations: 1.217 MB / 0.5849 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.3198, allocations: 0.5933 MB / 0.5855 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.3198, allocations: 0.9062 kB / 0.5855 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.32, allocations: 78.12 kB / 0.5856 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.3201, allocations: 75.86 kB / 0.5857 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.3204, allocations: 73.28 kB / 0.5857 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.3205, allocations: 89.53 kB / 0.5858 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.271e-05/0.3206, allocations: 13.34 kB / 0.5858 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3207, allocations: 55.94 kB / 0.5859 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3209, allocations: 79.28 kB / 0.586 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3209, allocations: 2.125 kB / 0.586 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.321, allocations: 72.98 kB / 0.586 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.3211, allocations: 25.31 kB / 0.586 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.3211, allocations: 70.56 kB / 0.5861 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.3213, allocations: 139.4 kB / 0.5863 GB, free: 2.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3213, allocations: 0.5938 kB / 0.5863 GB, free: 2.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3213, allocations: 1.797 kB / 0.5863 GB, free: 2.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.3213, allocations: 0 / 0.5863 GB, free: 2.516 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.0003609/0.3217, allocations: 435.7 kB / 0.5867 GB, free: 2.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3217, allocations: 9.969 kB / 0.5867 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.3217, allocations: 37.62 kB / 0.5867 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.3218, allocations: 15.75 kB / 0.5867 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3219, allocations: 211.2 kB / 0.5869 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.3219, allocations: 6.719 kB / 0.5869 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.322, allocations: 7.922 kB / 0.5869 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3221, allocations: 109 kB / 0.587 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3221, allocations: 4.594 kB / 0.5871 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3221, allocations: 0.9375 kB / 0.5871 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3222, allocations: 0.875 kB / 0.5871 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.3222, allocations: 58.44 kB / 0.5871 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.3225, allocations: 299.7 kB / 0.5874 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.636e-05/0.3226, allocations: 99.2 kB / 0.5875 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.403e-05/0.3227, allocations: 72.28 kB / 0.5876 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.3227, allocations: 2.078 kB / 0.5876 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.3229, allocations: 153.6 kB / 0.5877 GB, free: 1.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.3229, allocations: 3.938 kB / 0.5877 GB, free: 1.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.000367/0.3233, allocations: 301 kB / 0.588 GB, free: 1.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.3233, allocations: 106.1 kB / 0.5881 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3235, allocations: 203.6 kB / 0.5883 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.3235, allocations: 30.92 kB / 0.5883 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.3235, allocations: 110.8 kB / 0.5884 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.3236, allocations: 29.81 kB / 0.5885 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.3236, allocations: 18.44 kB / 0.5885 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.3236, allocations: 328.5 kB / 0.5888 GB, free: 324 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.3237, allocations: 52.06 kB / 0.5888 GB, free: 312 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.176e-05/0.3238, allocations: 65.62 kB / 0.5889 GB, free: 284 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3239, allocations: 180.2 kB / 0.5891 GB, free: 168 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3239, allocations: 1.375 kB / 0.5891 GB, free: 168 kB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002298/0.3242, allocations: 241.7 kB / 0.5893 GB, free: 56 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.3242, allocations: 39.52 kB / 0.5893 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3242, allocations: 5.312 kB / 0.5893 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3242, allocations: 1.375 kB / 0.5893 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.588e-05/0.3243, allocations: 7.234 kB / 0.5894 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3243, allocations: 1.344 kB / 0.5894 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.3244, allocations: 4.625 kB / 0.5894 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3244, allocations: 5.094 kB / 0.5894 GB, free: 16 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 0.0001447/0.3245, allocations: 182.1 kB / 0.5895 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.3246, allocations: 15.75 kB / 0.5896 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.3247, allocations: 69.06 kB / 0.5896 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3247, allocations: 1.797 kB / 0.5896 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3247, allocations: 0.75 kB / 0.5896 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3247, allocations: 3.984 kB / 0.5896 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.3249, allocations: 227.3 kB / 0.5898 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3249, allocations: 0 / 0.5898 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.3249, allocations: 8.031 kB / 0.5899 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3249, allocations: 0.5625 kB / 0.5899 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.325, allocations: 4.344 kB / 0.5899 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.325, allocations: 1.406 kB / 0.5899 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.325, allocations: 0.7188 kB / 0.5899 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.3253, allocations: 314.2 kB / 0.5902 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.3254, allocations: 109.7 kB / 0.5903 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.3254, allocations: 8.219 kB / 0.5903 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.3255, allocations: 4.641 kB / 0.5903 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.3255, allocations: 8.766 kB / 0.5903 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3255, allocations: 4.641 kB / 0.5903 GB, free: 15.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.3257, allocations: 150.8 kB / 0.5904 GB, free: 15.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3257, allocations: 0 / 0.5904 GB, free: 15.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.3259, allocations: 42.11 kB / 0.5905 GB, free: 15.18 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.0005947/0.3265, allocations: 0.8615 MB / 0.5913 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.3268, allocations: 216.3 kB / 0.5915 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3268, allocations: 0 / 0.5915 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3269, allocations: 153.6 kB / 0.5917 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.0001876/0.3271, allocations: 17.02 kB / 0.5917 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.329, allocations: 2.112 MB / 0.5937 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3293, allocations: 0.7177 MB / 0.5944 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.663e-05/0.3293, allocations: 3 kB / 0.5944 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.3293, allocations: 37.16 kB / 0.5945 GB, free: 12.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3293, allocations: 1.375 kB / 0.5945 GB, free: 12.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.122/2.451, allocations: 2.756 MB / 0.5972 GB, free: 11.79 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003835/2.452, allocations: 222 kB / 0.5974 GB, free: 11.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/4.831, allocations: 0 / 0.5974 GB, free: 11.54 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)