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.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 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.001135/0.001135, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 60.69 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2095, allocations: 80.93 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003376/0.213, allocations: 1.475 MB / 0.5858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2142, allocations: 0.5821 MB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.2143, allocations: 0 / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.2145, allocations: 75.84 kB / 0.5865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.2148, allocations: 83.73 kB / 0.5865 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.2153, allocations: 83.78 kB / 0.5866 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.2155, allocations: 103.7 kB / 0.5867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.2156, allocations: 8 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.2158, allocations: 67.8 kB / 0.5868 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.2159, allocations: 79.86 kB / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.216, allocations: 4 kB / 0.5869 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.2161, allocations: 83.91 kB / 0.5869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.2162, allocations: 23.86 kB / 0.587 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.2163, allocations: 39.75 kB / 0.587 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.2165, allocations: 131.6 kB / 0.5871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2166, allocations: 0 / 0.5871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2166, allocations: 8 kB / 0.5871 GB, free: 1.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2166, allocations: 0 / 0.5871 GB, free: 1.691 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.0006417/0.2172, allocations: 456.8 kB / 0.5876 GB, free: 1.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2173, allocations: 8.031 kB / 0.5876 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.2173, allocations: 16.75 kB / 0.5876 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.2176, allocations: 208.7 kB / 0.5878 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.2176, allocations: 4.375 kB / 0.5878 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.2176, allocations: 4.375 kB / 0.5878 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.2178, allocations: 115.7 kB / 0.5879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2178, allocations: 0 / 0.5879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2179, allocations: 0 / 0.5879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.2179, allocations: 4 kB / 0.5879 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.218, allocations: 63.89 kB / 0.588 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.2184, allocations: 297.7 kB / 0.5883 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2186, allocations: 97.14 kB / 0.5884 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.2187, allocations: 73.73 kB / 0.5884 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2187, allocations: 7.938 kB / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.2189, allocations: 154.8 kB / 0.5886 GB, free: 4 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.219, allocations: 0 / 0.5886 GB, free: 4 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005454/0.2195, allocations: 287.1 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.2196, allocations: 118.7 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.2198, allocations: 203.7 kB / 0.5892 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2198, allocations: 25.7 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.2199, allocations: 112 kB / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.2199, allocations: 27.78 kB / 0.5893 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.22, allocations: 29.84 kB / 0.5894 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2201, allocations: 334.8 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.2203, allocations: 51.98 kB / 0.5897 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.2204, allocations: 65.69 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.2206, allocations: 173.1 kB / 0.5899 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2206, allocations: 3.938 kB / 0.59 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002808/0.2209, allocations: 251.2 kB / 0.5902 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.221, allocations: 37.69 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.221, allocations: 7.938 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.221, allocations: 0 / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.2211, allocations: 8 kB / 0.5902 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2211, allocations: 3.984 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.2212, allocations: 4 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2212, allocations: 4 kB / 0.5903 GB, free: 14.18 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.0001456/0.2213, allocations: 183.3 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.2214, allocations: 19.84 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.2215, allocations: 67.02 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2215, allocations: 0 / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2215, allocations: 4 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2216, allocations: 0 / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.2217, allocations: 217.5 kB / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2218, allocations: 0 / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.2218, allocations: 8 kB / 0.5907 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2218, allocations: 0 / 0.5907 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.2218, allocations: 8 kB / 0.5907 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2218, allocations: 3.984 kB / 0.5907 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2219, allocations: 0 / 0.5907 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.2222, allocations: 311.2 kB / 0.591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.2223, allocations: 97 kB / 0.5911 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.2223, allocations: 4 kB / 0.5911 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.631e-05/0.2224, allocations: 0 / 0.5911 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.2224, allocations: 15.98 kB / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.2225, allocations: 4 kB / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001756/0.2227, allocations: 148.1 kB / 0.5913 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2227, allocations: 0 / 0.5913 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004271/0.2231, allocations: 43.98 kB / 0.5913 GB, free: 12.94 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.0002459/0.2234, allocations: 123.7 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.2237, allocations: 231.2 kB / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2237, allocations: 4.062 kB / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.2238, allocations: 151.4 kB / 0.5918 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.2241, allocations: 14.48 kB / 0.5918 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.2246, allocations: 331.7 kB / 0.5922 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.225, allocations: 0.7187 MB / 0.5929 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.225, allocations: 11.98 kB / 0.5929 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.225, allocations: 7.438 kB / 0.5929 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.225, allocations: 0 / 0.5929 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.0045/0.2296, allocations: 1.339 MB / 0.5942 GB, free: 9.98 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)