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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.00174/0.00174, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7673/0.7673, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.67 kB / 0.582 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1592, allocations: 80.22 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003203/0.1625, allocations: 1.484 MB / 0.6618 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1637, allocations: 0.5882 MB / 0.6623 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.1638, allocations: 0 / 0.6623 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.1639, allocations: 71.83 kB / 0.6624 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1642, allocations: 87.75 kB / 0.6625 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.1646, allocations: 87.77 kB / 0.6626 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1648, allocations: 99.73 kB / 0.6627 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1649, allocations: 15.97 kB / 0.6627 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1651, allocations: 63.81 kB / 0.6628 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1652, allocations: 91.78 kB / 0.6628 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1652, allocations: 0 / 0.6628 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1654, allocations: 79.92 kB / 0.6629 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.1655, allocations: 23.92 kB / 0.6629 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.1655, allocations: 39.69 kB / 0.663 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1658, allocations: 147.5 kB / 0.6631 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1658, allocations: 0 / 0.6631 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1658, allocations: 3.938 kB / 0.6631 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1658, allocations: 4 kB / 0.6631 GB, free: 7.52 MB / 0.4981 GB 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.0005574/0.1664, allocations: 452.5 kB / 0.6636 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1664, allocations: 12.02 kB / 0.6636 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.1665, allocations: 16.75 kB / 0.6636 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1668, allocations: 200.9 kB / 0.6638 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1668, allocations: 4.375 kB / 0.6638 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.1668, allocations: 384 / 0.6638 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.167, allocations: 123.6 kB / 0.6639 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.167, allocations: 0 / 0.6639 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.167, allocations: 0 / 0.6639 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.167, allocations: 0 / 0.6639 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1672, allocations: 59.97 kB / 0.664 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1676, allocations: 297.7 kB / 0.6642 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1677, allocations: 97.14 kB / 0.6643 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.1678, allocations: 77.73 kB / 0.6644 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1679, allocations: 0 / 0.6644 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.168, allocations: 150.7 kB / 0.6645 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.168, allocations: 4 kB / 0.6646 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004568/0.1685, allocations: 299.2 kB / 0.6648 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.1686, allocations: 106.8 kB / 0.6649 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1688, allocations: 211.1 kB / 0.6651 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1688, allocations: 25.7 kB / 0.6652 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.1688, allocations: 112.1 kB / 0.6653 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.1689, allocations: 23.7 kB / 0.6653 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.1689, allocations: 25.72 kB / 0.6653 GB, free: 5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1691, allocations: 334.9 kB / 0.6656 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.1691, allocations: 51.98 kB / 0.6657 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.1692, allocations: 65.69 kB / 0.6658 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.1694, allocations: 184.9 kB / 0.6659 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1694, allocations: 0 / 0.6659 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003257/0.1697, allocations: 239.1 kB / 0.6662 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.692e-05/0.1698, allocations: 45.72 kB / 0.6662 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1698, allocations: 0 / 0.6662 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1699, allocations: 0 / 0.6662 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.17, allocations: 8 kB / 0.6662 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.17, allocations: 3.984 kB / 0.6662 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.1701, allocations: 7.938 kB / 0.6662 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1701, allocations: 4 kB / 0.6662 GB, free: 4.023 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 (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.0001508/0.1702, allocations: 182 kB / 0.6664 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.1703, allocations: 15.81 kB / 0.6664 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.1705, allocations: 75.08 kB / 0.6665 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1705, allocations: 0 / 0.6665 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1705, allocations: 0 / 0.6665 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1705, allocations: 0 / 0.6665 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1707, allocations: 213.5 kB / 0.6667 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1707, allocations: 4.062 kB / 0.6667 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.1707, allocations: 8 kB / 0.6667 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1707, allocations: 0 / 0.6667 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1707, allocations: 8 kB / 0.6667 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1708, allocations: 15.92 kB / 0.6667 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1708, allocations: 4.078 kB / 0.6667 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1711, allocations: 301.9 kB / 0.667 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.1712, allocations: 100.9 kB / 0.6671 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1712, allocations: 8 kB / 0.6671 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.833e-05/0.1713, allocations: 4 kB / 0.6671 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1713, allocations: 11.98 kB / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1713, allocations: 4 kB / 0.6671 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001184/0.1715, allocations: 148.1 kB / 0.6673 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1715, allocations: 0 / 0.6673 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000257/0.1717, allocations: 43.98 kB / 0.6673 GB, free: 2.781 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 (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.0001766/0.1719, allocations: 127.1 kB / 0.6674 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.1722, allocations: 215.3 kB / 0.6676 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1722, allocations: 0 / 0.6676 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1724, allocations: 159.4 kB / 0.6678 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.1726, allocations: 15.94 kB / 0.6678 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.1731, allocations: 345.5 kB / 0.6681 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1734, allocations: 0.7158 MB / 0.6688 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.1734, allocations: 15.44 kB / 0.6689 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1734, allocations: 0 / 0.6689 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of Templates: time 0.003444/0.1769, allocations: 1.573 MB / 0.6704 GB, free: 15.54 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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 & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)