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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008358/0.0008358, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008817/0.0008817, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.282/1.282, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8991/0.8991, allocations: 135.3 MB / 427.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 12.56 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1605, allocations: 82.3 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001601/0.1621, allocations: 1.207 MB / 0.5898 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008878/0.163, allocations: 0.5807 MB / 0.5904 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.1631, allocations: 7.938 kB / 0.5904 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1632, allocations: 71.88 kB / 0.5904 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1634, allocations: 79.81 kB / 0.5905 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1637, allocations: 75 kB / 0.5906 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1638, allocations: 99.72 kB / 0.5907 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.295e-05/0.1639, allocations: 7.938 kB / 0.5907 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.164, allocations: 55.81 kB / 0.5907 GB, free: 468 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1642, allocations: 79.86 kB / 0.5908 GB, free: 388 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1642, allocations: 4 kB / 0.5908 GB, free: 384 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1643, allocations: 67.92 kB / 0.5909 GB, free: 316 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.1644, allocations: 27.92 kB / 0.5909 GB, free: 288 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.1645, allocations: 73.36 kB / 0.591 GB, free: 208 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1646, allocations: 91.86 kB / 0.5911 GB, free: 116 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1646, allocations: 3.938 kB / 0.5911 GB, free: 112 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1646, allocations: 0 / 0.5911 GB, free: 112 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1646, allocations: 0 / 0.5911 GB, free: 112 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.000473/0.1651, allocations: 432.9 kB / 0.5915 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1651, allocations: 12.03 kB / 0.5915 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1652, allocations: 16.69 kB / 0.5915 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1654, allocations: 208.8 kB / 0.5917 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1654, allocations: 8.359 kB / 0.5917 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1654, allocations: 8.375 kB / 0.5917 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1656, allocations: 103.7 kB / 0.5918 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.1656, allocations: 0 / 0.5918 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1656, allocations: 0 / 0.5918 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1656, allocations: 4 kB / 0.5918 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.603e-05/0.1657, allocations: 59.91 kB / 0.5919 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.1661, allocations: 297.7 kB / 0.5922 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1662, allocations: 101.1 kB / 0.5923 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.1663, allocations: 69.75 kB / 0.5923 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1663, allocations: 4 kB / 0.5923 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.1665, allocations: 154.7 kB / 0.5925 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.1665, allocations: 0 / 0.5925 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004022/0.1669, allocations: 299.2 kB / 0.5928 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.167, allocations: 106.8 kB / 0.5929 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1672, allocations: 203.7 kB / 0.5931 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.1672, allocations: 37.83 kB / 0.5931 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.1673, allocations: 104.1 kB / 0.5932 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1673, allocations: 27.59 kB / 0.5932 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.1674, allocations: 25.64 kB / 0.5933 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1675, allocations: 326.8 kB / 0.5936 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.1675, allocations: 51.98 kB / 0.5936 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.1676, allocations: 67.77 kB / 0.5937 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1678, allocations: 184.9 kB / 0.5939 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1678, allocations: 0 / 0.5939 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002682/0.1681, allocations: 243.1 kB / 0.5941 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.1681, allocations: 37.7 kB / 0.5941 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1681, allocations: 0 / 0.5941 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.1681, allocations: 4 kB / 0.5941 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.1682, allocations: 7.984 kB / 0.5941 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1682, allocations: 4 kB / 0.5941 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.1683, allocations: 4 kB / 0.5941 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1683, allocations: 8.031 kB / 0.5942 GB, free: 12.63 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.0001325/0.1685, allocations: 177.6 kB / 0.5943 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1685, allocations: 15.81 kB / 0.5943 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.1687, allocations: 79.03 kB / 0.5944 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1687, allocations: 0 / 0.5944 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1687, allocations: 4 kB / 0.5944 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1687, allocations: 0 / 0.5944 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1688, allocations: 217.5 kB / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1689, allocations: 0 / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.1689, allocations: 12.06 kB / 0.5946 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1689, allocations: 0 / 0.5946 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1689, allocations: 7.984 kB / 0.5946 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1689, allocations: 0 / 0.5946 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1689, allocations: 0 / 0.5946 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.1693, allocations: 315.4 kB / 0.5949 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.1694, allocations: 104.9 kB / 0.595 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.1694, allocations: 4 kB / 0.595 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.1694, allocations: 0 / 0.595 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.1695, allocations: 11.98 kB / 0.5951 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1695, allocations: 4 kB / 0.5951 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001111/0.1696, allocations: 148.1 kB / 0.5952 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1696, allocations: 0 / 0.5952 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002258/0.1699, allocations: 43.98 kB / 0.5952 GB, free: 11.39 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.0001548/0.17, allocations: 123.2 kB / 0.5954 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.1703, allocations: 223.2 kB / 0.5956 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1703, allocations: 0 / 0.5956 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.1704, allocations: 151.4 kB / 0.5957 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.1706, allocations: 12 kB / 0.5957 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.1711, allocations: 389.8 kB / 0.5961 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1714, allocations: 0.7236 MB / 0.5968 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.1714, allocations: 11.44 kB / 0.5968 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1714, allocations: 0 / 0.5968 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.002936/0.1744, allocations: 1.536 MB / 0.5983 GB, free: 8.156 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)