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.001358/0.001358, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001726/0.001726, allocations: 194.3 kB / 16.25 MB, free: 6.621 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.015/1.015, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 72.14 kB / 0.5049 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2086, allocations: 80.93 MB / 0.5839 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003513/0.2121, allocations: 1.548 MB / 0.5854 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2133, allocations: 0.5766 MB / 0.586 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.2135, allocations: 0 / 0.586 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.2137, allocations: 67.91 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.2139, allocations: 83.81 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.2144, allocations: 83.84 kB / 0.5862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.2146, allocations: 103.7 kB / 0.5863 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2147, allocations: 8 kB / 0.5863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.2149, allocations: 55.81 kB / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.215, allocations: 87.84 kB / 0.5864 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.2151, allocations: 4 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.2152, allocations: 79.91 kB / 0.5865 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.2153, allocations: 31.86 kB / 0.5865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.2154, allocations: 39.62 kB / 0.5866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.2156, allocations: 147.6 kB / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2156, allocations: 0 / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2157, allocations: 0 / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.2157, allocations: 0 / 0.5867 GB, free: 1.941 MB / 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.0006668/0.2163, allocations: 452.7 kB / 0.5872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.2164, allocations: 16.02 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.2165, allocations: 12.75 kB / 0.5872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.2167, allocations: 204.8 kB / 0.5874 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2167, allocations: 384 / 0.5874 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.2167, allocations: 8.375 kB / 0.5874 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.2169, allocations: 111.6 kB / 0.5875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.217, allocations: 3.984 kB / 0.5875 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.217, allocations: 4 kB / 0.5875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.217, allocations: 0 / 0.5875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.2171, allocations: 55.97 kB / 0.5876 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.2176, allocations: 305.7 kB / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.2178, allocations: 97.14 kB / 0.5879 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.2179, allocations: 73.73 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2179, allocations: 0 / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.2182, allocations: 158.7 kB / 0.5882 GB, free: 268 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.2182, allocations: 0 / 0.5882 GB, free: 268 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.000517/0.2188, allocations: 291.3 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.2189, allocations: 110.8 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.2191, allocations: 199.7 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.2191, allocations: 33.69 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.2192, allocations: 112.2 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.2192, allocations: 31.55 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.2193, allocations: 25.72 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.2195, allocations: 330.8 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.2195, allocations: 47.98 kB / 0.5893 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.327e-05/0.2196, allocations: 73.62 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.2198, allocations: 181 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2198, allocations: 0 / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003108/0.2202, allocations: 243.1 kB / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.2202, allocations: 41.69 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2202, allocations: 0 / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2202, allocations: 0 / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.2203, allocations: 8 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2204, allocations: 0 / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.356e-05/0.2204, allocations: 7.984 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2205, allocations: 4 kB / 0.5898 GB, free: 14.44 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.0001563/0.2206, allocations: 183.4 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.2207, allocations: 15.81 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.2208, allocations: 71.02 kB / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2208, allocations: 4 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2209, allocations: 64 / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2209, allocations: 4 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.2211, allocations: 213.5 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2211, allocations: 4 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.2211, allocations: 8 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2211, allocations: 0 / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2212, allocations: 4 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2212, allocations: 0 / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2212, allocations: 3.984 kB / 0.5903 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.2216, allocations: 315.4 kB / 0.5906 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.2217, allocations: 101 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.2217, allocations: 4 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.03e-05/0.2218, allocations: 4 kB / 0.5907 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.2218, allocations: 7.984 kB / 0.5907 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.2218, allocations: 4 kB / 0.5907 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001291/0.222, allocations: 156 kB / 0.5909 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.222, allocations: 0 / 0.5909 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002495/0.2222, allocations: 36 kB / 0.5909 GB, free: 13.2 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.0002031/0.2224, allocations: 134.2 kB / 0.591 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.2228, allocations: 223.2 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2228, allocations: 0 / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.2229, allocations: 155.3 kB / 0.5914 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.2232, allocations: 12 kB / 0.5914 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.2238, allocations: 363.8 kB / 0.5918 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.2241, allocations: 0.7158 MB / 0.5925 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.2242, allocations: 4 kB / 0.5925 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.2242, allocations: 11.44 kB / 0.5925 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2242, allocations: 0 / 0.5925 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.004457/0.2287, allocations: 1.325 MB / 0.5938 GB, free: 10.23 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)