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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_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.001587/0.001587, 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.002023/0.002023, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.343/2.343, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.211/1.211, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 15.98 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 82.31 MB / 0.5873 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001677/0.1755, allocations: 1.198 MB / 0.5885 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008327/0.1764, allocations: 0.5264 MB / 0.589 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.1764, allocations: 8 kB / 0.589 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1766, allocations: 63.89 kB / 0.589 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1768, allocations: 83.8 kB / 0.5891 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1771, allocations: 63.8 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1772, allocations: 59.91 kB / 0.5892 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.946e-05/0.1773, allocations: 8 kB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1774, allocations: 55.88 kB / 0.5893 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1776, allocations: 67.8 kB / 0.5894 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1776, allocations: 4 kB / 0.5894 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1778, allocations: 63.94 kB / 0.5894 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/0.1778, allocations: 27.89 kB / 0.5895 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.1779, allocations: 49.64 kB / 0.5895 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.178, allocations: 88.14 kB / 0.5896 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.178, allocations: 3.938 kB / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.178, allocations: 0 / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1781, allocations: 0 / 0.5896 GB, free: 0.6875 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.0004862/0.1785, allocations: 436.4 kB / 0.59 GB, free: 212 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1786, allocations: 8.031 kB / 0.59 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.1786, allocations: 38.56 kB / 0.59 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.1787, allocations: 11.81 kB / 0.5901 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1789, allocations: 203.6 kB / 0.5903 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1789, allocations: 8 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1789, allocations: 7.938 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1791, allocations: 99.38 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1791, allocations: 0 / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1791, allocations: 4 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1791, allocations: 4 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1793, allocations: 55.91 kB / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.1797, allocations: 305.7 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1798, allocations: 101.1 kB / 0.5908 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1799, allocations: 4 kB / 0.5908 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/0.1802, allocations: 154.8 kB / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.1802, allocations: 0 / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0005166/0.1807, allocations: 380.3 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.1808, allocations: 110.8 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.181, allocations: 203.7 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.181, allocations: 25.7 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.1811, allocations: 108.1 kB / 0.5918 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1812, allocations: 31.77 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.1812, allocations: 0 / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1813, allocations: 330.8 kB / 0.5921 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/0.1814, allocations: 55.92 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.309e-05/0.1815, allocations: 65.69 kB / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.954e-05/0.1816, allocations: 81.62 kB / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1816, allocations: 0 / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002667/0.1819, allocations: 243.1 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.1819, allocations: 41.69 kB / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1819, allocations: 0 / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.182, allocations: 4 kB / 0.5926 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-05/0.1821, allocations: 7.938 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1821, allocations: 4 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.1822, allocations: 15.83 kB / 0.5926 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1822, allocations: 0 / 0.5926 GB, free: 13.27 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 ($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.0001787/0.1824, allocations: 179.5 kB / 0.5928 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1824, allocations: 19.88 kB / 0.5928 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.1826, allocations: 63 kB / 0.5928 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1826, allocations: 3.984 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1826, allocations: 0 / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1826, allocations: 4 kB / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1828, allocations: 213.6 kB / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1828, allocations: 0 / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.1829, allocations: 8 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1829, allocations: 4 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1829, allocations: 4 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1829, allocations: 0 / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1829, allocations: 0 / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.1833, allocations: 321 kB / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1834, allocations: 108.8 kB / 0.5935 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1834, allocations: 0 / 0.5935 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.1835, allocations: 12 kB / 0.5935 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.1836, allocations: 7.984 kB / 0.5935 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1836, allocations: 4 kB / 0.5935 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001244/0.1837, allocations: 152.1 kB / 0.5936 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.1837, allocations: 0 / 0.5936 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002483/0.184, allocations: 40 kB / 0.5937 GB, free: 12.02 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 (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.0006627/0.1846, allocations: 0.939 MB / 0.5946 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.1849, allocations: 219.2 kB / 0.5948 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.185, allocations: 0 / 0.5948 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.1851, allocations: 151.6 kB / 0.595 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1852, allocations: 4.375 kB / 0.595 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.1867, allocations: 1.225 MB / 0.5962 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1869, allocations: 0.7275 MB / 0.5969 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.187, allocations: 4 kB / 0.5969 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.187, allocations: 39.42 kB / 0.5969 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.187, allocations: 0 / 0.5969 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.2002, allocations: 2.775 MB / 0.5996 GB, free: 6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.2004, allocations: 204.5 kB / 0.5998 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.098, allocations: 0 / 0.5998 GB, free: 5.762 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) Environment - environmentSimulation: