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.001106/0.001106, 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.001354/0.001354, 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.318/1.318, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9476/0.9476, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003124, allocations: 13 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 82.31 MB / 0.5875 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001426/0.1531, allocations: 1.196 MB / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008139/0.1539, allocations: 0.5303 MB / 0.5892 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.154, allocations: 0 / 0.5892 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.1541, allocations: 79.81 kB / 0.5892 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1543, allocations: 79.81 kB / 0.5893 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1545, allocations: 63.88 kB / 0.5894 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.959e-05/0.1547, allocations: 75.8 kB / 0.5894 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.1547, allocations: 11.98 kB / 0.5895 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1549, allocations: 55.81 kB / 0.5895 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.155, allocations: 71.84 kB / 0.5896 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.155, allocations: 0 / 0.5896 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1551, allocations: 67.94 kB / 0.5896 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.1552, allocations: 31.89 kB / 0.5897 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.1553, allocations: 41.64 kB / 0.5897 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1554, allocations: 92.08 kB / 0.5898 GB, free: 500 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1554, allocations: 4 kB / 0.5898 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1554, allocations: 3.938 kB / 0.5898 GB, free: 492 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1554, allocations: 0 / 0.5898 GB, free: 492 kB / 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.000465/0.1559, allocations: 440.6 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1559, allocations: 8.031 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.156, allocations: 34.56 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.156, allocations: 15.66 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1562, allocations: 203.6 kB / 0.5905 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1562, allocations: 0 / 0.5905 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.1562, allocations: 4 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1564, allocations: 111.3 kB / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1564, allocations: 0 / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1564, allocations: 4 kB / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1565, allocations: 0 / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.1565, allocations: 59.91 kB / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.1569, allocations: 301.7 kB / 0.5909 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.157, allocations: 101.1 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.1571, allocations: 73.73 kB / 0.5911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.1572, allocations: 4 kB / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.1574, allocations: 154.7 kB / 0.5913 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1574, allocations: 0 / 0.5913 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004183/0.1578, allocations: 295.2 kB / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1579, allocations: 110.8 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1581, allocations: 207.6 kB / 0.5918 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1581, allocations: 25.7 kB / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.1582, allocations: 112.2 kB / 0.592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.1582, allocations: 27.66 kB / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.1582, allocations: 0 / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1583, allocations: 322.8 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.1584, allocations: 55.97 kB / 0.5924 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.192e-05/0.1585, allocations: 61.7 kB / 0.5924 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.48e-05/0.1586, allocations: 89.56 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1586, allocations: 0 / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002653/0.1588, allocations: 247.1 kB / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.1589, allocations: 33.7 kB / 0.5928 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1589, allocations: 0 / 0.5928 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1589, allocations: 4 kB / 0.5928 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.159, allocations: 12.05 kB / 0.5928 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.159, allocations: 0 / 0.5928 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.1591, allocations: 11.86 kB / 0.5928 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1591, allocations: 11.94 kB / 0.5928 GB, free: 13.09 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.0001341/0.1592, allocations: 178.1 kB / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1593, allocations: 19.94 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.1595, allocations: 75 kB / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1595, allocations: 0 / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1595, allocations: 0 / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1595, allocations: 4 kB / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1597, allocations: 209.6 kB / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1597, allocations: 0 / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.1597, allocations: 11.98 kB / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1597, allocations: 8 kB / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1598, allocations: 0 / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1598, allocations: 4 kB / 0.5933 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1598, allocations: 0 / 0.5933 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.1601, allocations: 307.3 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.1602, allocations: 96.91 kB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1602, allocations: 8 kB / 0.5937 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/0.1603, allocations: 8 kB / 0.5937 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1603, allocations: 11.92 kB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1603, allocations: 8 kB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001157/0.1605, allocations: 152.1 kB / 0.5939 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1605, allocations: 0 / 0.5939 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002332/0.1607, allocations: 32 kB / 0.5939 GB, free: 11.86 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.0006391/0.1614, allocations: 0.8646 MB / 0.5947 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1616, allocations: 215.3 kB / 0.5949 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1616, allocations: 0 / 0.5949 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1618, allocations: 155.3 kB / 0.5951 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.162, allocations: 15.41 kB / 0.5951 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1633, allocations: 1.094 MB / 0.5962 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1635, allocations: 0.7197 MB / 0.5969 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.1636, allocations: 0 / 0.5969 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.1636, allocations: 39.42 kB / 0.5969 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1636, allocations: 4 kB / 0.5969 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.1757, allocations: 2.775 MB / 0.5996 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.1759, allocations: 208.6 kB / 0.5998 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.833, allocations: 0 / 0.5998 GB, free: 5.801 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: