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.004834/0.004834, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001137/0.001138, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7342/0.7342, allocations: 132.2 MB / 422.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.09 kB / 0.5813 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.441, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003219/0.4443, allocations: 1.497 MB / 0.6611 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.4453, allocations: 0.5785 MB / 0.6617 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.4454, allocations: 1.156 kB / 0.6617 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.4456, allocations: 77.48 kB / 0.6618 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.4458, allocations: 83.08 kB / 0.6618 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.4461, allocations: 91.41 kB / 0.6619 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.4463, allocations: 99.59 kB / 0.662 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.4464, allocations: 9.875 kB / 0.662 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.4466, allocations: 61.39 kB / 0.6621 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.4467, allocations: 91 kB / 0.6622 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.4467, allocations: 3.938 kB / 0.6622 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.4469, allocations: 75.92 kB / 0.6622 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.4469, allocations: 24.7 kB / 0.6623 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.447, allocations: 49.67 kB / 0.6623 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.4472, allocations: 135.4 kB / 0.6624 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4472, allocations: 0 / 0.6624 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.965e-06/0.4472, allocations: 7.922 kB / 0.6625 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.4472, allocations: 1.156 kB / 0.6625 GB, free: 8.59 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.0004973/0.4477, allocations: 461.9 kB / 0.6629 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4478, allocations: 9.188 kB / 0.6629 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.4479, allocations: 12.73 kB / 0.6629 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.4481, allocations: 206.2 kB / 0.6631 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4481, allocations: 1.656 kB / 0.6631 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.4481, allocations: 7.156 kB / 0.6631 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.4483, allocations: 113 kB / 0.6632 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4483, allocations: 0 / 0.6632 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4483, allocations: 1.344 kB / 0.6632 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.4484, allocations: 1.469 kB / 0.6632 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.4485, allocations: 61.72 kB / 0.6633 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.4488, allocations: 305.1 kB / 0.6636 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.449, allocations: 102 kB / 0.6637 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/0.4491, allocations: 69.75 kB / 0.6637 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.4491, allocations: 1.062 kB / 0.6637 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.4493, allocations: 155.8 kB / 0.6639 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.4493, allocations: 0 / 0.6639 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004477/0.4497, allocations: 297 kB / 0.6642 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.4498, allocations: 109.9 kB / 0.6643 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.45, allocations: 209.3 kB / 0.6645 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.45, allocations: 27.17 kB / 0.6645 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.45, allocations: 110.9 kB / 0.6646 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.4501, allocations: 23.19 kB / 0.6646 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.4501, allocations: 31.3 kB / 0.6647 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.4502, allocations: 327.5 kB / 0.665 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.4502, allocations: 50.48 kB / 0.665 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/0.4503, allocations: 65.78 kB / 0.6651 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.4504, allocations: 178.3 kB / 0.6653 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4505, allocations: 5.125 kB / 0.6653 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002476/0.4507, allocations: 241.4 kB / 0.6655 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.4507, allocations: 37.58 kB / 0.6655 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4508, allocations: 1.156 kB / 0.6655 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4508, allocations: 3.938 kB / 0.6655 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.4509, allocations: 11.67 kB / 0.6655 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4509, allocations: 1.344 kB / 0.6655 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.4509, allocations: 6.5 kB / 0.6656 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.4509, allocations: 3.719 kB / 0.6656 GB, free: 5.934 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.0001015/0.4511, allocations: 182.2 kB / 0.6657 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.4511, allocations: 17.22 kB / 0.6657 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.4512, allocations: 68.95 kB / 0.6658 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4512, allocations: 4.078 kB / 0.6658 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4512, allocations: 1.5 kB / 0.6658 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4512, allocations: 3.984 kB / 0.6658 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.4514, allocations: 221.1 kB / 0.666 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4514, allocations: 5.188 kB / 0.666 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.4514, allocations: 15.42 kB / 0.6661 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4514, allocations: 0 / 0.6661 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.4514, allocations: 3.281 kB / 0.6661 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4515, allocations: 1.156 kB / 0.6661 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4515, allocations: 1.094 kB / 0.6661 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.4518, allocations: 305.7 kB / 0.6664 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.4518, allocations: 105.7 kB / 0.6665 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.4519, allocations: 6.656 kB / 0.6665 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.4519, allocations: 3.562 kB / 0.6665 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.452, allocations: 10.55 kB / 0.6665 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.452, allocations: 4.5 kB / 0.6665 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.735e-05/0.4521, allocations: 151.8 kB / 0.6666 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.12e-07/0.4521, allocations: 1.469 kB / 0.6666 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002263/0.4523, allocations: 39.28 kB / 0.6667 GB, free: 5.016 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.0001666/0.4525, allocations: 131.9 kB / 0.6668 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.4528, allocations: 229.9 kB / 0.667 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4528, allocations: 0 / 0.667 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.4529, allocations: 146.8 kB / 0.6671 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.4531, allocations: 14.92 kB / 0.6672 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.4536, allocations: 335.1 kB / 0.6675 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.4537, allocations: 0.7167 MB / 0.6682 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.554e-05/0.4538, allocations: 1.469 kB / 0.6682 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.4538, allocations: 10.25 kB / 0.6682 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4538, allocations: 0 / 0.6682 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of Templates: time 0.003557/0.4574, allocations: 1.355 MB / 0.6695 GB, free: 3.031 MB / 0.4981 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)