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.006971/0.006971, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001515/0.001515, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8454/0.8454, allocations: 132.2 MB / 422.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 57.66 kB / 0.5813 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2139, allocations: 80.21 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00362/0.2176, allocations: 1.49 MB / 0.6611 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2189, allocations: 0.5805 MB / 0.6617 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.219, allocations: 3.938 kB / 0.6617 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.2192, allocations: 75.81 kB / 0.6618 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.2194, allocations: 83.75 kB / 0.6618 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.2198, allocations: 99.7 kB / 0.6619 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.22, allocations: 95.8 kB / 0.662 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2201, allocations: 15.95 kB / 0.662 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.2203, allocations: 59.88 kB / 0.6621 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2205, allocations: 91.78 kB / 0.6622 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.2205, allocations: 7.938 kB / 0.6622 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.2207, allocations: 83.86 kB / 0.6623 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.2207, allocations: 23.92 kB / 0.6623 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.2208, allocations: 35.69 kB / 0.6623 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2211, allocations: 143.5 kB / 0.6625 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2211, allocations: 0 / 0.6625 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2211, allocations: 0 / 0.6625 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.2211, allocations: 0 / 0.6625 GB, free: 7.441 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.0007032/0.2218, allocations: 456.5 kB / 0.6629 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2219, allocations: 8.031 kB / 0.6629 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.2219, allocations: 20.75 kB / 0.6629 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.2223, allocations: 200.8 kB / 0.6631 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2223, allocations: 8.375 kB / 0.6631 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.2223, allocations: 4.312 kB / 0.6631 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.2225, allocations: 107.7 kB / 0.6632 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2226, allocations: 0 / 0.6632 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2226, allocations: 0 / 0.6632 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2226, allocations: 0 / 0.6632 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.2227, allocations: 63.91 kB / 0.6633 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.2232, allocations: 305.7 kB / 0.6636 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.2233, allocations: 89.2 kB / 0.6637 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.2234, allocations: 77.67 kB / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.2235, allocations: 4 kB / 0.6638 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.2237, allocations: 146.8 kB / 0.6639 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.2237, allocations: 0 / 0.6639 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0005037/0.2242, allocations: 303.2 kB / 0.6642 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/0.2243, allocations: 114.8 kB / 0.6643 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.2245, allocations: 203.3 kB / 0.6645 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.2246, allocations: 25.7 kB / 0.6645 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.2246, allocations: 112.1 kB / 0.6646 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.2247, allocations: 23.7 kB / 0.6646 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.2247, allocations: 25.72 kB / 0.6647 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2249, allocations: 334.8 kB / 0.665 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.225, allocations: 59.86 kB / 0.665 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-05/0.2251, allocations: 65.69 kB / 0.6651 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.2253, allocations: 177 kB / 0.6653 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2253, allocations: 0 / 0.6653 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002925/0.2256, allocations: 243.2 kB / 0.6655 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.2256, allocations: 37.69 kB / 0.6655 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2256, allocations: 4.062 kB / 0.6655 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.2257, allocations: 3.984 kB / 0.6655 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.937e-05/0.2258, allocations: 8 kB / 0.6656 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2258, allocations: 3.938 kB / 0.6656 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/0.2259, allocations: 19.95 kB / 0.6656 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.2259, allocations: 4 kB / 0.6656 GB, free: 3.93 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.0001794/0.2261, allocations: 176.3 kB / 0.6657 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.2261, allocations: 15.81 kB / 0.6658 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.2263, allocations: 63.09 kB / 0.6658 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.2264, allocations: 3.984 kB / 0.6658 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2264, allocations: 0 / 0.6658 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2264, allocations: 4 kB / 0.6658 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.2266, allocations: 217.5 kB / 0.666 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2266, allocations: 4 kB / 0.666 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.2266, allocations: 11.88 kB / 0.6661 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2267, allocations: 4 kB / 0.6661 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2267, allocations: 0 / 0.6661 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2267, allocations: 4 kB / 0.6661 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2267, allocations: 0 / 0.6661 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.2271, allocations: 307.4 kB / 0.6664 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.2272, allocations: 100.9 kB / 0.6665 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.2272, allocations: 7.938 kB / 0.6665 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.2273, allocations: 4 kB / 0.6665 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.2273, allocations: 11.98 kB / 0.6665 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.2274, allocations: 7.938 kB / 0.6665 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001292/0.2275, allocations: 148.1 kB / 0.6666 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2275, allocations: 0 / 0.6666 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002465/0.2278, allocations: 40 kB / 0.6667 GB, free: 2.699 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.0002004/0.228, allocations: 123.2 kB / 0.6668 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.2283, allocations: 215.3 kB / 0.667 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2283, allocations: 11.88 kB / 0.667 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.2285, allocations: 151.4 kB / 0.6671 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.2287, allocations: 15.94 kB / 0.6672 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.2293, allocations: 308.3 kB / 0.6674 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.2296, allocations: 0.7235 MB / 0.6682 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.831e-05/0.2297, allocations: 11.89 kB / 0.6682 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.2297, allocations: 11.44 kB / 0.6682 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2297, allocations: 0 / 0.6682 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of Templates: time 0.005132/0.2348, allocations: 1.355 MB / 0.6695 GB, free: 15.71 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)