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.006365/0.006365, allocations: 102 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.00121/0.001211, allocations: 191.5 kB / 16.67 MB, free: 5.965 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: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.867/0.867, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 58.34 kB / 0.5856 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2171, allocations: 80.93 MB / 0.6646 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002961/0.2201, allocations: 1.481 MB / 0.6661 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2211, allocations: 0.5882 MB / 0.6667 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.2212, allocations: 3.938 kB / 0.6667 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.2214, allocations: 67.89 kB / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.2216, allocations: 87.75 kB / 0.6668 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.222, allocations: 99.64 kB / 0.6669 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.2222, allocations: 95.78 kB / 0.667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.2223, allocations: 8 kB / 0.667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.2225, allocations: 63.86 kB / 0.6671 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.2226, allocations: 87.8 kB / 0.6671 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.2227, allocations: 4 kB / 0.6671 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.2228, allocations: 83.84 kB / 0.6672 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.2229, allocations: 23.92 kB / 0.6673 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.223, allocations: 43.67 kB / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.2232, allocations: 143.5 kB / 0.6674 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2232, allocations: 0 / 0.6674 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.727e-06/0.2232, allocations: 0 / 0.6674 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2233, allocations: 4 kB / 0.6674 GB, free: 2.961 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.0007113/0.224, allocations: 452.5 kB / 0.6679 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.224, allocations: 9.109 kB / 0.6679 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.2241, allocations: 16.75 kB / 0.6679 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.2244, allocations: 197 kB / 0.6681 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2244, allocations: 4.375 kB / 0.6681 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.2244, allocations: 4.375 kB / 0.6681 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.2247, allocations: 119.6 kB / 0.6682 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2247, allocations: 0 / 0.6682 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.2247, allocations: 0 / 0.6682 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2247, allocations: 0 / 0.6682 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.2248, allocations: 59.97 kB / 0.6683 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.2253, allocations: 305.6 kB / 0.6685 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2254, allocations: 101.2 kB / 0.6686 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.319e-05/0.2255, allocations: 73.69 kB / 0.6687 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2255, allocations: 0 / 0.6687 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.2257, allocations: 150.8 kB / 0.6689 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.2257, allocations: 4 kB / 0.6689 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004771/0.2262, allocations: 303 kB / 0.6692 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.2263, allocations: 106.8 kB / 0.6693 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.2265, allocations: 199.8 kB / 0.6694 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.2266, allocations: 29.7 kB / 0.6695 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.2266, allocations: 112.1 kB / 0.6696 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.2267, allocations: 23.86 kB / 0.6696 GB, free: 488 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.2268, allocations: 29.83 kB / 0.6696 GB, free: 452 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2269, allocations: 334.8 kB / 0.67 GB, free: 108 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/0.227, allocations: 47.98 kB / 0.67 GB, free: 60 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.718e-05/0.2271, allocations: 73.62 kB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.2273, allocations: 173.1 kB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2273, allocations: 0 / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00029/0.2276, allocations: 247 kB / 0.6705 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.2276, allocations: 37.73 kB / 0.6705 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.2276, allocations: 3.984 kB / 0.6705 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2277, allocations: 4 kB / 0.6705 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.2278, allocations: 4 kB / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.2278, allocations: 7.938 kB / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.2278, allocations: 7.844 kB / 0.6705 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.2279, allocations: 8 kB / 0.6705 GB, free: 15.46 MB / 0.5137 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.0001673/0.228, allocations: 176.8 kB / 0.6707 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.2281, allocations: 15.81 kB / 0.6707 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.2282, allocations: 75.16 kB / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2283, allocations: 0 / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2283, allocations: 0 / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2283, allocations: 0 / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.2285, allocations: 217.5 kB / 0.671 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2285, allocations: 0 / 0.671 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.2285, allocations: 11.92 kB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.2286, allocations: 7.938 kB / 0.671 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2286, allocations: 0 / 0.671 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2286, allocations: 8 kB / 0.671 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2286, allocations: 0 / 0.671 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.229, allocations: 299.4 kB / 0.6713 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.2291, allocations: 100.9 kB / 0.6714 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.2291, allocations: 4 kB / 0.6714 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.2292, allocations: 7.984 kB / 0.6714 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.2292, allocations: 8 kB / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.2292, allocations: 8.125 kB / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001345/0.2294, allocations: 161.1 kB / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2294, allocations: 0 / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002364/0.2296, allocations: 36 kB / 0.6716 GB, free: 14.23 MB / 0.5137 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.0002301/0.2299, allocations: 127.2 kB / 0.6717 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003185/0.2302, allocations: 219.3 kB / 0.672 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.2302, allocations: 0 / 0.672 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.2304, allocations: 163.3 kB / 0.6721 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.2306, allocations: 19.69 kB / 0.6721 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.2312, allocations: 313.8 kB / 0.6724 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.2316, allocations: 0.7197 MB / 0.6731 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.2316, allocations: 11.88 kB / 0.6731 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.2317, allocations: 15.42 kB / 0.6732 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2317, allocations: 0 / 0.6732 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.004306/0.236, allocations: 1.345 MB / 0.6745 GB, free: 11.24 MB / 0.5137 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)